Tab title is wrong with ssh/screen on osx
- by sds
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.