.screenrc bindings

Dan Mick dan at kfw.COM
Sun Oct 21 10:12:54 AEST 1990


In article <90Oct19.184855edt.2316 at smoke.cs.toronto.edu> craig at cs.toronto.edu (Craig MacDonald) writes:

>Can anyone show me how to bind a character to a combination
>of this type:-
>
>bind ^<char> < Screen utility > | < shell script file >
>for instance
>bind ^<char> < make hardcopy of screen n contents > | lpr

Well, it's hard to sort out just what you mean, since as an "instance" you
give damnear exactly what you write as the general form (!), but, assuming
you really mean "can I put general commands in the bind actions", the
answer is implicitly answered by the manpage, which says something a lot
like "the actions may be one of the following keywords, or a command to
start a new screen with a new default command".  The simple source, 
function ReadRc(), bears this out.  I found this out in 1 minute.

BTW, on my system at least, lpr is definitely not a shell script..



More information about the Comp.unix.questions mailing list