[Top][All Lists]

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

One bindkey, Multiple Commands/Shift-PgUp for Scrollback

From: Phil!Gregory
Subject: One bindkey, Multiple Commands/Shift-PgUp for Scrollback
Date: Tue, 25 May 2004 12:27:24 -0400
User-agent: Mutt/

Had an interesting thing come up today.  I don't think it's possible, but
can you chain multiple commands from a single bindkey?  Something like

  bindkey "^[[5;2~" copy\; stuff ^b

The reason behind this is that I was noodling with screen and wondering if
I could get Shift-PgUp to work with screen's scrollback buffer in a
similar manner to how it works with xterm's.  The main problem with this
is that it takes two commands to do a pageup--you must enter copy mode and
then go back.  (And I'm hoping 'stuff' will work in copy mode.)  This is
probably a useless endeavor, but, as I said, I found it interesting.  Any

-- contrarian of the first order... /
PGP: 026A27F2  print: D200 5BDB FC4B B24A 9248  9F7A 4322 2D22 026A 27F2
--- --
I shoot the gas tank [50,000 liters] with my plasma rifle so that
nobody else can use it...
                       -- Famous Last Words, #1456
---- --- --

reply via email to

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