| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| 13.1 Exec | The exec command syntax. | |
| 13.2 Using Exec | Weird things that filters can do. |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
.) connects the file descriptor
to screen. An exclamation mark (!) causes the file descriptor to be
connected to the application-process. A colon (:) combines both.
exec without arguments shows name and arguments of the currently
running subprocess in this window. Only one subprocess can be running per
window.
kill command will affect it instead of
the windows process. Only one subprocess a time can be running in each window.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Examples:
!/bin/sh
exec /bin/sh
exec ... /bin/sh
!!stty 19200
exec!stty 19200
exec !.. stty 19200
|less
exec !..| less
screen would not expect without the `|')
when its stdin is not a tty. Less versions newer than 177 fail miserably
here; good old pg still works.
!:sed -n s/.*Error.*/\007/p
| [ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |