You are not logged in.

#1 2014-08-06 19:08:09

V31GN
Member
Registered: 2014-08-06
Posts: 5

[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)

Offline

#2 2014-08-06 20:44:42

V31GN
Member
Registered: 2014-08-06
Posts: 5

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

Figured it out.

Changed:
URxvt*termName:                 rxvt-unicode
Also removed TERM=xterm in ~/.bashrc

user@arch-lnx [~] $ echo $TERM
rxvt-unicode

Offline

#3 2014-08-06 20:50:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

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

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


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB