[Top][All Lists]

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

how to use "process"?

From: clemens fischer
Subject: how to use "process"?
Date: Thu, 30 Apr 2009 16:47:19 +0200
User-agent: tin/1.9.4-20090211 ("Rieclachan") (UNIX) (Linux/2.6.29-ARCH (i686))

$ 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

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

reply via email to

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