-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
* On 12-01-02 at 12:47 * Benjamin Smith said.... > On Sat, Jan 12, 2002 at 12:02:22PM +0100, Nick Wilson wrote: > > > > Hi everyone. > > I've been trying to work out how to do this.... > > > > Remap the 'G' key to execute a shell command. > > > That is indeed possible using a simple macro like this: > > macro index 'G' '<shell-command>echo "Hello World!"<Return>' 'Help message' > > This is a section in the manual on this if you look for the keyword > 'macro'. > Thanks, I never saw the <shell-command> bit when I looked. I just did it with macro index G "!my_command"<return> - -- Nick Wilson Tel: +45 3325 0688 Fax: +45 3325 0677 Web: www.explodingnet.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8QCMIHpvrrTa6L5oRAu+jAJ43CaeUfkYG2fzYy0UmucGhRm2A/QCaA4HT qrtdnLnjeDOA1dbBaQVbBGI= =deS7 -----END PGP SIGNATURE-----