Path: utzoo!attcan!uunet!charyb!dan From: dan@kfw.COM (Dan Mick) Newsgroups: comp.unix.questions Subject: Re: .screenrc bindings Message-ID: <1990Oct21.001254.15989@kfw.COM> Date: 21 Oct 90 00:12:54 GMT References: <90Oct19.184855edt.2316@smoke.cs.toronto.edu> Reply-To: dan@kfw.com (Dan Mick) Organization: KFW Corporation, Newbury Park, CA Lines: 18 In article <90Oct19.184855edt.2316@smoke.cs.toronto.edu> craig@cs.toronto.edu (Craig MacDonald) writes: >Can anyone show me how to bind a character to a combination >of this type:- > >bind ^ < Screen utility > | < shell script file > >for instance >bind ^ < 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..