$ screen --version -> "Screen version 4.00.03 (FAU) 23-Oct-06"
$ uname -rims -> "Linux 2.6.29-ARCH i686 AuthenticAMD"

Recently I needed a screen command sequence more complex than the usual
key "bind" or "stuff".  I turned to "process [key]", as the man page
said: "command can be used to bind multiple actions to a single key".

I tried several combinations of "register ..." plus "eval ..." and
"command ..." and "eval ...", but all they did were typing various
strings into the window, but they didn't get executed as screen
commands.

Question:  how do I use "register" and "process" to issue complex,
runtime-built screen commands?

And while we're at it:  how do I quote the individual commands of an
"eval"?  Say I want to "register" several commands.  I tried

  register r "eval 'sth1 arg1' 'sth2 arg2'"

but I can't find a way to execute the contents of "r" properly.

What's the difference between "eval", "command" and "process"?


regards, clemens



_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to