[Top][All Lists]

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

Re: Send break to screen

From: Clark Wang
Subject: Re: Send break to screen
Date: Fri, 30 Sep 2016 10:11:10 +0800

On Fri, Sep 30, 2016 at 1:30 AM, Michael Parson <address@hidden> wrote:
On Thu, 29 Sep 2016, Clark Wang wrote:

Where is this kind of usage (stuff ^X) documented? I did not found it in
screen manual.

The 'stuff' command is in the screen manpage:

stuff [string]

Stuff the string string in the input buffer of the current window.
This is like the "paste" command but with much less overhead.  Without
a parameter, screen will prompt for a string to stuff.  You cannot
paste large buffers with the "stuff" command. It is most useful for key
bindings. See also "bindkey".

The usage they are using is a combo of using 'stuff' with the '-X' flag
which lets you send commands to a screen session via the shell (rather
than from the : prompt inside of screen).

I'm actually asking about the ^X part. That's to say where is it documented that the *stuff* command would interprete the ^X as CTRL-X?

I also found that *stuff* understands C-style escapes (like \t, \n and \040) but I did not found the related document either.


reply via email to

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