zamena znaku terminalu
Radovan Garabik
garabik-news na spam.melkor.dnp.fmph.uniba.sk
Pondělí Říjen 16 19:01:38 CEST 2000
xmail listy <ric.linux na os3.os.ds.mfcr.cz> wrote:
:> : Toto a také on-line převod češtiny (CP852 nebo CP1250) řeší moje úprava programu screen.
:> : Hledejte na adrese:
:> : http://www.penguin.cz/~ric/
:> : Sekce Výtvory - balík screencz
:>
:> a neslo by to aj s obycajnym screen, s pouzitim prikazu
:> exec a cstocs?
:>
:>
: Tato feature mi je neznámá - můžete ji popsat trochu detailněji?
info stranka k screen hovori:
- Command: exec [[FDPAT] NEWCOMMAND [ARGS ... ]]
(none)
Run a unix subprocess (specified by an executable path NEWCOMMAND
and its optional arguments) in the current window. The flow of
data between newcommands stdin/stdout/stderr, the process
originally started (let us call it "application-process") and
screen itself (window) is controlled by the filedescriptor pattern
a su tam aj priklady typu:
`!:sed -n s/.*Error.*/\007/p'
Sends window output to both, the user and the sed command. The sed
inserts an additional bell character (oct. 007) to the window
output seen by screen. This will cause 'Bell in window x'
messages, whenever the string `Error' appears in the window.
cize teoreticky by to aj mohlo ist, trocha som to skusal ale nepodarilo
sa mi nic dosiahnut...
--
-----------------------------------------------------------
| Radovan Garabik http://melkor.dnp.fmph.uniba.sk/~garabik/ |
| __..--^^^--..__ garabik @ melkor.dnp.fmph.uniba.sk |
-----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!
Další informace o konferenci Linux