I've got a working .screenrc file that's worked for me on linux and bsd, but when I import it into AIX, the hardstatus line is always garbled. Here's my file
vbell on
autodetach on
startup_message off
shell -$SHELL
defhstatus "screen: ^En (^Et)"
defscrollback 10000
term vt100
unsetenv SSH_AUTH_SOCK
setenv SSH_AUTH_SOCK "$HOME/.screen/ssh-auth-sock.$HOSTNAME"
screen -t test
screen -t misc
bindkey "^[Od" prev # change window with ctrl-left
bindkey "^[Oc" next # change window with ctrl-right
hardstatus alwayslastline "%{-b ck}%?%-Lw%?%{bg}%n*%f %t%?(%u)%?%{wk}%?%+Lw%? %= %{r} %H %{g} %D %d/%m/%Y %0c "
Here's the garbled hardstatus string:
1-Lw1*1f misc1+Lw 1= 1H Tue 12/10/2010 14:29
Date/timestamp work fine... and I can see the actual name of the tab I'm in... but I'm not sure about the rest. Normally, this would show a list of tabs with an asterisk next to the active window.
I've also copied other AIX user's .screenrc file to see if it would work correctly - their screenshots and mine are not similar... mine is garbled, theirs isn't.
Are there any screen/aix wizards out there that can clarify what I'm seeing?
Thanks in advance!
vbell on
autodetach on
startup_message off
shell -$SHELL
defhstatus "screen: ^En (^Et)"
defscrollback 10000
term vt100
unsetenv SSH_AUTH_SOCK
setenv SSH_AUTH_SOCK "$HOME/.screen/ssh-auth-sock.$HOSTNAME"
screen -t test
screen -t misc
bindkey "^[Od" prev # change window with ctrl-left
bindkey "^[Oc" next # change window with ctrl-right
hardstatus alwayslastline "%{-b ck}%?%-Lw%?%{bg}%n*%f %t%?(%u)%?%{wk}%?%+Lw%? %= %{r} %H %{g} %D %d/%m/%Y %0c "
Here's the garbled hardstatus string:
1-Lw1*1f misc1+Lw 1= 1H Tue 12/10/2010 14:29
Date/timestamp work fine... and I can see the actual name of the tab I'm in... but I'm not sure about the rest. Normally, this would show a list of tabs with an asterisk next to the active window.
I've also copied other AIX user's .screenrc file to see if it would work correctly - their screenshots and mine are not similar... mine is garbled, theirs isn't.
Are there any screen/aix wizards out there that can clarify what I'm seeing?
Thanks in advance!