supress STDOUT
- From: "Lisa Pearlson" <no@xxxxxxxx>
- Date: Fri, 20 Jan 2006 17:20:14 +0100
Hi,
I'm using Expect to send and receive binary data. I communicate with
internet sockets via XINETD super server, so I can simply communicate via
STDIN/STDOUT to XINETD, instead of using socket operations myself.
The problem is, when I call my script from the command line, aside from my
"puts" commands I wish dumped to STDOUT, I also see all the binary data that
shows up as garbaled characters on my screen, which occasionally also upsets
my terminal emulator.
This is because "puts" and "send" both write to STDOUT. Is there a way to
supress "receive" from echo'ing the data to my terminal, while puts still
works?
Lisa
.
- Follow-Ups:
- Re: supress STDOUT
- From: Uwe Klein
- Re: supress STDOUT
- Prev by Date: Re: Constants for catch return values?
- Next by Date: Tile "entry", navigation and highlight
- Previous by thread: binary string compare
- Next by thread: Re: supress STDOUT
- Index(es):
Relevant Pages
|