screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

abbreviating commands and returning screen number


From: Eric Smith
Subject: abbreviating commands and returning screen number
Date: Wed, 9 Jan 2008 08:30:24 +0100
User-agent: Mutt/1.5.12-2006-07-14

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]