Tab title is wrong with ssh/screen on osx
Posted
by
sds
on Super User
See other posts from Super User
or by sds
Published on 2013-11-08T15:47:10Z
Indexed on
2013/11/08
16:00 UTC
Read the original article
Hit count: 424
I am doing
ssh -t host screen -D -RR
in OS X (10.9) terminal tabs.
My ~/.screenrc
is identical on all remote hosts and contain the following line:
hardstatus string "%H(%n:%t)$USER %h"
My ~/.bashrc
is also identical on all hosts.
When I login to host host_u
(Ubuntu 12.04.3 LTS
) running Screen version 4.00.03jw4 (FAU) 2-May-06
, the tab title on the OS X terminal is host_u(1:bash)sds ~
, as expected.
When I login to host host_c
(CentOS release 6.3 (Final)
) running Screen version 4.00.03 (FAU) 23-Oct-06
, the tab title on the OS X terminal is ~/FooBar
(which is the local OS X directory from which I ran the ssh/screen
command.
Problem: the hardstatus
line does not work on host_c
.
© Super User or respective owner