1. How do I abbreviate a command like `select` to (say) `s'
in command mode?

2. How do I return the screen number, the following script
invoked with args username and screen number used to work but
does now anymore:

`w|awk 'NR>2 && $1 == u && $3 ~ ".*:S\." w "$" {
              print $2; exit
            }' u="$1" w="$2"`
echo "/dev/$tty"

Thanks

Eric



_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to