[SOLVED] how to keep urxvt / xterm scrollback after ssh exit

Hey Guys,
Would really appreciate some help.  How do you keep the scrollback history in urxvt after exiting a ssh session?  After closing the SSH session it appears to do a reset (the inital ssh command is not even shown, but all command prior to ssh are still in scrollback).  xterm does the same thing, but terminator keeps the scrollback after exit.
[Unit]
Description=RXVT-Unicode Daemon
[Service]
Type=oneshot
RemainAfterExit=yes
User=%i
ExecStart=/usr/bin/urxvtd -q -f -o
[Install]
WantedBy=multi-user.target
URxvt*font:                     xft:Ubuntu Mono-12
URxvt*boldFont:                 xft:Ubuntu Mono-12
URxvt.talicFont:                xft:Ubuntu Mono-12
URxvt.bolditalicFont:           xft:Ubuntu Mono-12
URxvt*letterSpace:              -1
Urxvt.depth:                    32
URxvt.colorDB:                  white
URxvt.colorIT:                  #87af5f
URxvt.colorBD:                  #d7d7d7
URxvt.colorUL:                  #87afd7
URxvt*termName:                 xterm-256color
URxvt.urgentOnBell:             True
URxvt*saveLines:                32767
URxvt*scrollBar:                false
URxvt*scrollBar_right:          false
URxvt*skipScroll:               false
URxvt*jumpScroll:               true
URxvt*loginShell:               true
URxvt*fading:                   20
URxvt*secondaryScroll:          true
URxvt*visualBell:               true
URxvt.perl-ext-common:          default,keyboard-select,url-select,selection-to-clipboard
-J
Last edited by V31GN (2014-08-06 20:45:22)

Glad you got it sorted: please use code tags when pasting ot the boards
https://wiki.archlinux.org/index.php/Fo … s_and_Code

Similar Messages

  • How to keep all my itunes after install of leopard?

    Assume I am not all that when it comes to macs. Not new but rusty.
    I have tiger with itunes and it has loads of podcasts/albums(rips) etc, and also on my ipod touch. I would like some help as to how do I keep all this after I install leopard. I think I am going for a full install rather than an upgrade.
    The mac is an imac with pre-installed tiger. I am sure there is some way of keeping my itunes folder after i wipe the drive but have never done anything beyond fill up ipods with stuff.
    I thank you in advance for any pointers.

    Hi,
    I would suggest backing up your entire iTunes Music folder to an external hard drive or disk if the folder size is practical. To retain your playlists for reimport later on, open iTunes, select the Music Library and choose File->Export Library then save it off system along with the back up.
    I recommend using Terminal to back up your iTunes Music folder because Finder's drag and drop can sometimes corrupt copied files, particularly when the directory is large. Suppose you've connected a firewire or usb external hard drive and you can see it mounted on your Desktop, here's what I would do using Terminal (/Applications/Utilities):
    Open the directory ~/Music/iTunes/
    Open Terminal and type the command scp -r. Now drag in the folder iTunes Music (your copy source). Next drag in the external drive mounted on your Desktop (your copy destination). The Terminal window should now read something similar to this, press Return to start the copy process:
    scp -r ~/Music/iTunes/iTunes\ Music /Volumes/External HD
    When the process is complete the command prompt will return back to you. If you want to see the copy in progress change scp -r for scp -v -r. The -v makes the process verbose.
    I'm with you on choosing a clean install, i choose this method every time for upgrades. Archive and Install presents the possibility of dragging old conflicts back into a clean system.

  • How to keep my created network after restart

    hi,
    my mac mini is just used to be connected to a videoprojector. so i don t connect a screen or mouse, keyboard or else.
    i have access to it through the wireless network i created on the macmini.
    but if i restart the macmini, the network is gone and i have to connect mouse keyboard, sceen, to re create the network!
    my problem is that i only have access to my mac mini by wireless network . but i don t want to share internet access. just have a network between two macs , to access to one with share screens.
    If i create a network, and then restart, the network is gone. it disappears.
    so if i restart my mac mini via screenshare , there is no network. and i can t have access to the mac mini anymore.
    how can i keep this created network after restart?
    i tried to make it work with automator but kind of didn t make it to work

    Do you keep other settings (e.g. in Options) that you make in Firefox?
    Create a new profile as a test to check if your current profile is causing the problems.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer some files from an existing profile to the new profile, but be careful not to copy corrupted files.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • [SOLVED] How to make URxvt look like default XTerm?

    I don't want to install terminus-font or something else. Just want to make XTerm and URxvt look equal.
    I prefer URxvt over XTerm for its performance, but default URxvt looks ugly comparing to default XTerm: for example default bitmap font (fixed) is broken whereas it looks beatiful on XTerm.
    Also colors in URxvt do not match to those in console and XTerm (which seem to be the same) - highlighted directories, executables, prompt, etc which seem to be darker.
    How do I fix it?
    Help is appreciated, as always.
    Thanks.
    Last edited by eruditorum (2012-12-07 09:35:23)

    I believe the default xterm fonts are listed in /usr/share/X11/app-defaults/XTerm.  I may be wrong but I think you want to specify the urxvt font as:
    -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
    This will be incorrect if you do not have the xorg-fonts-75dpi package installed.  If you don't have that package installed, I'm not sure what font is used in its place by either emulator.
    WIthout specifying the terminal colors in my ~/.Xdefaults or ~/.Xresources file, I also found the two terminals' colors do not appear the same.  I have configured the colors so they are identical in both apps.  This excerpt from my .Xdefaults uses the asterisk, *, as a wild card so the colors I have chosen apply to both terminals.
    ! Colors
    *foreground: rgb:b2/b2/b2
    *background: rgb:08/08/08
    ! 0 black, 1 red, 2 green, 3 yellow, 4 blue, 5 magenta, 6 cyan, 7 white
    ! 8 black, 9 red, 10 green, 11 yellow, 12 blue, 13 magenta, 14 cyan, 15 white
    *color0: rgb:28/28/28
    *color1: rgb:ba/44/44
    *color2: rgb:50/94/43
    *color3: rgb:cd/a8/38
    *color4: rgb:52/76/a8
    *color5: rgb:c0/52/88
    *color6: rgb:44/ba/ae
    *color7: rgb:b2/b2/b2
    *color8: rgb:58/58/58
    *color9: rgb:ff/9d/80
    *color10: rgb:84/bd/79
    *color11: rgb:ff/e6/98
    *color12: rgb:82/a4/d3
    *color13: rgb:c6/84/a5
    *color14: rgb:a7/d8/d4
    *color15: rgb:e4/e4/e4

  • How to keep items on ATV after deleting them on iTunes library

    does anyone know how to delete movies/tv shows on the computer's hard disk/i tunes library without loosing them on the ATV after the next sync. My problem is that I am only using a Laptop and my HD is already full and I want to delete some of my movies/tv shows on it and I want to keep them on the ATV. However even if I go to manual sync and uncheck the specific items ATV will delete these movies from its storage upon the next sync process. So is there a way to keep items on the ATV after deleting them in the iTunes library?

    Unfortunately, that's not how it's supposed to work.
    The important thing to appreciate is that AppleTV is not like an external storage/backup device as you cannot ordinarily get files from it should you need to transfer them elsewhere or you lose the originals. You must back up anything you'd hate to lose in some other way.
    Many of us attach an external USB drive to the computer, migrate the iTunes library to that, and stream most content, however that is less practical with a laptop if you need the laptop to be mobile and to use AppleTv when it's on the move.
    One thing you could try is to test delete a file from the iTunes library manually. In that way iTunes still holds a reference to the file but complains it can't find it. Not sure if this still causes file deletion from AppleTV as the item is still referenced in the database but you could try it and see (make sure you copy the file somewhere safe first!).
    AC
    Message was edited by: Alley_Cat

  • Lion: how to keep apps from reopening after I restart

    How can I keep previously opened apps from reopening every time I restart.  I close the apps before I shut down, and then they reopen after I restart.

    The following works for me.
    One time only.
    Quit all apps before shutdown.
    Click shutdown.
    Uncheck the reopen box and click shutdown.
    From then on.
    Quit all apps.
    Hold the option button while clicking shutdown.

  • How to keep ical alarms displayed after restarting

    I notice that my iCal alarms disappear after quitting iCal or restarting my computer. For example "Call Doctor" shows up today at 8 am when I start work. I shut down for a meeting. I restart and the alarm message is gone. The event is still there. But I might forget to call unless I see the alarm again. I remember Microsoft Entourage did this and I found it very helpful. Is there a way to get this same effect with iCal?

    Hi,  This is not related to your question about ical alarms, but to a previous post you made when your iweb crashed when saving.  I also had to use time machine to transfer all info to a new computer and I am having the same problem when I try to save.   I did not completely understand your solution because I am not very savvy with computers. I did go in and change all the permissions to read and write, but I still have the problem.  I don't know how to "add my account name to the File Info"-
    I just spoke with a supervisor from Apple for two hours and who did not solve the problem.  (He thought he did, but he did not and he has not called me back). 
    If you could give me an explanation of your solution, it would be very helpful and immensely appreciated. 
    Thank you for any assistance you can give me regarding this.  I really need my iweb!
    [email protected]
    Here is the solution you posted: 
    I figured it out. It was those permissions. I simply added my account name to the File Info. For some reason the Time Machine restoration did not copy the permission for the package (however the contents had the correct permissions.

  • [Solved] How to keep the channels of stereo audio "as is"?

    I'm using a 5.1 surround sound system with ALSA/PulseAudio. I'm using HDMI to transmit to the receiver to power all speakers up. It works for movies without any issue especially after I passed "audio-channels=6" to mpv.  But I notice that when I play a stereo audio, the sound comes from all speakers / channels. For example:
    $ aplay -c 2 /dev/urandom
    Playing raw data '/dev/urandom' : Unsigned 8 bit, Rate 8000 Hz, Stereo (but all six speakers are working)
    Does PulseAudio remix the audio? It's a nice feature for minimal multimedia speakers. But for some audio, it sounds better by just using to 2 channels as it recorded, and my receiver has enough DSP stuff and audio effects to remix the audio and to use all my channels (i.e I don't want to double-remix the audio). It should use the channels as it recorded. Is there a way to keep the channels of stereo audio "as is"?
    Thanks for any advice.
    Last edited by biergaizi (2015-04-05 05:31:07)

    The "enable-remixing" is the setting the OP is looking for. It will disable remixing completely if set to "no", with the drawback that, say, 5.1 audio won't be downmixed to stereo if one only has 2 channels.
    Disabling remixing globally seems to have weird side effects, I couldn't get my front connectors working after disabling it.
    What I did was splitting my 7.1 device into a 5.1 and a 2.0 virtual devices, leaving the global remixing setting at default. Then I disabled the remixing for the 5.1 virtual device, while letting it remix for the 2.0 one.
    So now when I want to remix, I just select my 2.0 device, and if I don't, the 5.1 device (or rather, in my case I actually have a 5.1 and a stereo device connected). The example is on the wiki

  • How to keep a border even after right-clicking

    I have a JButton around which I would like:
    1) a raised border to appear when hovering over the button,
    2) a lowered border to appear when left-clicking on the button,
    3) no border to appear when releasing or exiting the button, and
    4) a raised border to appear when right-clicking on the button and bringing up a popup menu.
    I created a MouseListener to achieve effects 1) through 3) above, but I'm having trouble achieving effect 4).
    It appears that showing a popup menu causes my MouseListener's mouseExited() method to be fired. This method, though, is currently only responsible for achieving effect 3).
    Is there a way to make my mouseExited() method smart enough to implement effect 4) instead of 3) if it realizes it has been invoked as a result of a popup menu display? In other words, is there a way to make a border appear around my button even when the user has opened up a popup menu for that button?
    I tried interrogating the value of MouseEvent.isPopupTrigger(), but that always appears to return false in mouseExited() [ it only ever returns true for me in mouseReleased() ].
    Any suggestions would be greatly appreciated.
    Thanks,
    Mike

    Jay,
    Thanks for your reply. Attached is my updated code that includes the popup listening logic. This logic seems to work, except for the following issues:
    1) The button becomes temporarily depressed when right-clicking on it (just as you stated).
    2) If I right click on a Button A to display its popup menu and then move my mouse over to another Button B, Button B becomes raised even though Button A's popup menu hasn't been dealt with yet.
    Regarding issue 1) above, could I test for whether mouse BUTTON_1 or BUTTON_2 was pressed to determine whether the mouse should be depressed, or would this make my logic platform-dependent?
    Regarding issue 2) above, is there a way to block other buttons from appearing raised while a popup menu still appears in support of another button? Or is there just a problem in my implementation of the popup (i.e. it doesn't expire)?
    Thanks,
    Mike
         public class ButtonBorderMouseListener implements MouseListener, PopupMenuListener
              public final Border NO_BORDER = BorderFactory.createEmptyBorder();
              public final Border LOWERED_BEVEL_BORDER = BorderFactory.createLoweredBevelBorder();
              public final Border RAISED_BEVEL_BORDER = BorderFactory.createRaisedBevelBorder();
              private boolean m_buttonPopupIsVisible;
              public ButtonBorderMouseListener()
                   super();
              public synchronized boolean buttonPopupIsVisible()
                   return m_buttonPopupIsVisible;
              public synchronized void setButtonPopupIsVisible(boolean isVisible_)
                   m_buttonPopupIsVisible = isVisible_;
              /* (non-Javadoc)
               * @see java.awt.event.MouseListener#mouseClicked(java.awt.event.MouseEvent)
              public void mouseClicked(MouseEvent e)
                   System.out.println("Mouse clicked");
                   System.out.println("Is a popup trigger == " + e.isPopupTrigger());
                   JButton sourceBtn = (JButton) e.getComponent();
                   Border borderToApply = ((buttonPopupIsVisible()) ? RAISED_BEVEL_BORDER : LOWERED_BEVEL_BORDER);
                   System.out.println("borderToApply == " + ((borderToApply == RAISED_BEVEL_BORDER) ? "RAISED" : "LOWERED"));
                   sourceBtn.setBorder(borderToApply);
              /* (non-Javadoc)
               * @see java.awt.event.MouseListener#mouseEntered(java.awt.event.MouseEvent)
              public void mouseEntered(MouseEvent e)
                   System.out.println("Mouse entered");
                   JButton sourceBtn = (JButton) e.getComponent();
                   sourceBtn.setBorder(RAISED_BEVEL_BORDER);
                   System.out.println("borderToApply == RAISED");
              /* (non-Javadoc)
               * @see java.awt.event.MouseListener#mouseExited(java.awt.event.MouseEvent)
              public void mouseExited(MouseEvent e)
                   System.out.println("Mouse exited");
                   System.out.println("Is a popup trigger == " + e.isPopupTrigger());
                   JButton sourceBtn = (JButton) e.getComponent();
                   Border borderToApply = ((buttonPopupIsVisible()) ? RAISED_BEVEL_BORDER : NO_BORDER);
                   System.out.println("borderToApply == " + ((borderToApply == RAISED_BEVEL_BORDER) ? "RAISED" : "NONE"));
                   sourceBtn.setBorder(borderToApply);
              /* (non-Javadoc)
               * @see java.awt.event.MouseListener#mousePressed(java.awt.event.MouseEvent)
              public void mousePressed(MouseEvent e)
                   System.out.println("Mouse pressed");
                   System.out.println("Is a popup trigger == " + e.isPopupTrigger());
                   JButton sourceBtn = (JButton) e.getComponent();
                   Border borderToApply = ((e.isPopupTrigger()) ? RAISED_BEVEL_BORDER : LOWERED_BEVEL_BORDER);
                   System.out.println("borderToApply == " + ((borderToApply == RAISED_BEVEL_BORDER) ? "RAISED" : "LOWERED"));
                   sourceBtn.setBorder(borderToApply);
              /* (non-Javadoc)
               * @see java.awt.event.MouseListener#mouseReleased(java.awt.event.MouseEvent)
              public void mouseReleased(MouseEvent e)
                   System.out.println("Mouse released");
                   System.out.println("Is a popup trigger == " + e.isPopupTrigger());
                   JButton sourceBtn = (JButton) e.getComponent();
                   Border borderToApply = ((e.isPopupTrigger()) ? RAISED_BEVEL_BORDER : NO_BORDER);
                   System.out.println("borderToApply == " + ((borderToApply == RAISED_BEVEL_BORDER) ? "RAISED" : "NONE"));
                   sourceBtn.setBorder(borderToApply);
              /* (non-Javadoc)
               * @see javax.swing.event.PopupMenuListener#popupMenuCanceled(javax.swing.event.PopupMenuEvent)
              public void popupMenuCanceled(PopupMenuEvent e)
                   System.out.println("Popup menu cancelled");
              /* (non-Javadoc)
               * @see javax.swing.event.PopupMenuListener#popupMenuWillBecomeInvisible(javax.swing.event.PopupMenuEvent)
              public void popupMenuWillBecomeInvisible(PopupMenuEvent e)
                   System.out.println("Popup menu will become invisible");
                   setButtonPopupIsVisible(false);
                   JPopupMenu popupMenu = (JPopupMenu) e.getSource();
                   JButton sourceBtn = (JButton) popupMenu.getInvoker();
                   System.out.println("borderToApply == NONE");
                   sourceBtn.setBorder(NO_BORDER);    
              /* (non-Javadoc)
               * @see javax.swing.event.PopupMenuListener#popupMenuWillBecomeVisible(javax.swing.event.PopupMenuEvent)
              public void popupMenuWillBecomeVisible(PopupMenuEvent e)
                   System.out.println("Popup menu will become visible");
                    setButtonPopupIsVisible(true);
         }

  • JMenu:How to keep popup menu open after clicking disabled JMenuItem

    A menu usually shows all options, even those that are for some reason disabled. When clicking on a disabled option, nothing should happen. Unfortunately, the JMenu does not follow this philosophy: clicking on a disabled option fires no action, but the popup menu closes. It is a minor problem but I prefer the standard behaviour. Any ideas ?
    Thanks
    Cyril Mrazek

    I am also having the same problem, if any one find out solution for this mail me . My mail Id is [email protected]

  • Keep external process alive after System.exit(0)

    I wish to start Outlook from my Java program and have my own program exit normally but keep alive the Outlook process. Besides, I am not interested in input/output/error streams.
    public class OutlookStarter {
         public static void main(String[] args) throws Exception {
              new ProcessBuilder("cmd", "/c",
                        "\"C:\\Program Files\\Microsoft Office\\Office14\\outlook.exe\"")
                        .start();
    }When I run this when Outlook is not started, my program will not exit until I close Outlook.
    I really do not want to close Outlook just to exit my program (my real program has a Swing GUI and users must be able to close it).
    Also when I run this when Outlook is already started, somehow my program DOES exit without closing the new Outlook window.
    EDIT: I can add System.exit(0) and behavior is the same. I can use Runtime.getRuntime().exec and behavior is the same.
    Edited by: Strider80 on Jan 12, 2011 7:27 AM

    Strider80 wrote:
    I wish to start Outlook from my Java program and have my own program exit normally but keep alive the Outlook process. Besides, I am not interested in input/output/error streams.
    public class OutlookStarter {
         public static void main(String[] args) throws Exception {
              new ProcessBuilder("cmd", "/c",
                        "\"C:\\Program Files\\Microsoft Office\\Office14\\outlook.exe\"")
                        .start();
    Did you try using [url http://www.computerhope.com/starthlp.htm]start ^[url http://www.computerhope.com/starthlp.htm]Microsoft DOS and command prompt^ ?
              new ProcessBuilder("cmd", "/c",
                        "start \"C:\\Program Files\\Microsoft Office\\Office14\\outlook.exe\"")
                        .start();

  • I am trying to delete pages I have crated in numbers, but can only see them in print preview. Without print preview I do not see them. How can I delete these pages, but keep others before and after?

    I am trying to delete pages I have crated in numbers, but can only see them in print preview. Without print preview I do not see them. How can I delete these pages, but keep others before and after?

    Hi Crushed,
    Numbers doesn't have pages. It has a canvas that holds objects such as tables and charts.
    Drag the objects from the bottom of the canvas onto the white space above. That will reduce the number of "pages" (sheets of paper) that will print.
    Regards,
    Ian.

  • TS3376 how do i unlock my phone after i find it if the code does'nt work it keep putting me off more and more minutes at a time?

    how do i unlock my phone after I find it I keep getting this phone is dialed for more and more minutes?

    Back it up and restore it in iTunes on the last computer it was synced with, as explained at the bottom of this article: http://support.apple.com/kb/HT1212.  This will remove the passcode.

  • How to keep the filtered output in a page after user navigates back?

    How to keep the filtered output in a page after user navigates back to all records from another page.
    Currently it clears the search

    Hi,
    user13091824 wrote:
    How to keep the filtered output in a page after user navigates back to all records from another page.
    Currently it clears the search---While returing from page AM Return status should be True in pageContext.setForwardURL.:::
    pageContext.setForwardURL("OA.jsp?page=/XXX/oracle/apps/po/msg/webui/SearchPG",
    "SUPP_SEARCH",
    OAWebBeanConstants.GUESS_MENU_CONTEXT,
    null,
    null,
    true, // Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
    OAWebBeanConstants.IGNORE_MESSAGES);
    ---After setting AM Status to true u can able to c the values.
    Regards
    Meher Irk

  • I am using iPhone 5 & 4S with iOS 7.02. May I ask how can my preset alarm ring after I switched off completely my iPhone & how to solve it? Thank u!!

    I am using iPhone 5 & 4S with iOS 7.02. May I ask how can my preset alarm ring after I switched off completely my iPhone & how to solve it? Thank u!!

    http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf
    user guide

Maybe you are looking for

  • How to access the hard drive in my Time Capsule via ethernet, not wireless

    I have a new Netgear 802.11ac router with ethernet ports. I also have an older (4 years old) Time Capsule that I replaced with the new Netgear router. My iPhoto library was recently corrupted (long story there). I don't have a backup except on my Tim

  • SQL Query CASE statement using two fields

    Hi, I have two fields. One is called rescategory1, the other is called rescategory2. I'm not sure if its a CASE statement I need or some sort of WHERE clause but I want to create a query that does the following or something similar: CASE rescategory2

  • Webservice call to XI Interface through SOAP Adapter from a Web application

    I  am getting  the following error, when I try to call the XI Interface using soap adapter from a web application. ERROR  : SystemError:           <context>XIAdapter</context>           <code>ADAPTER.JAVA_EXCEPTION</code>           <text><![CDATA[ co

  • Server Error in '/NWO' Application

    Hi The date/weather in my dashboard appears empty, and when i double clic on it, it send me to a webpage with this error: Server Error in '/NWO' Application I´ve tried ro restar the computer, but it´s still empty. MacOs 10.5.8 Any help...?

  • Lightroom 5.5 Cropping tool so SLOW update to fix?

    I recently upgraded to LR 5.5 with help from Adobe support with the technician taking over my screen, soI'm confident it's all been upgraded and installed correctly. But when cropping rotating an image it takes 3 secs to catch up what I have done. Ov