1

my hostname in screen hardstatus does not change

view story
linux-howto

http://askubuntu.com – I am using this in my screenrc file: # status line at the bottom hardstatus on hardstatus alwayslastline hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%? %?%= %{g}][%{B} %d/%m %{W}%c %{g}]' Why the hostname always show the host name of my local machine despite I have open a shell under screen and then 'ssh to another server'? how can I fix it so that the host name on (on the left of the status) reflect the host my shell is currently at? (HowTos)