diff options
| author | Ned T. Crigler <crigler@users.sourceforge.net> | 2015-07-18 13:13:09 -0700 |
|---|---|---|
| committer | Ned T. Crigler <crigler@users.sourceforge.net> | 2015-07-18 13:13:09 -0700 |
| commit | 087e89f7a8fecba3e8d276ab9808f10e6077784b (patch) | |
| tree | 7c0e6148ec590c989632416031711437b1e626bb /README | |
| parent | b7d5154c18cb57dd5680114315fbc4175cf1ea26 (diff) | |
Add dtach -p.
dtach -p copies the contents of standard input to a session.
Based on an initial patch by @johnlane.
Diffstat (limited to 'README')
| -rw-r--r-- | README | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -66,6 +66,15 @@ will likely encounter problems if your terminals have different window sizes. Pressing ^L (Ctrl-L) will reset the window size of the program to match the current terminal. +dtach also has a mode that copies the contents of standard input to a session. +For example: + + $ echo -ne 'cd /var/log\nls -l\n' | dtach -p /tmp/foozle + +The contents are sent verbatim including any embedded control characters (e.g. +the newline characters in the above example), and dtach will not scan the +input for a detach character. + 3. DETACHING FROM THE SESSION By default, dtach scans the keyboard input looking for the detach character. |
