[ale] Wanted: trivial minicom-type function
Christopher Fowler
cfowler at outpostsentinel.com
Mon Mar 13 09:09:52 EST 2006
On Mon, 2006-03-13 at 08:55 -0500, Mills, John M. wrote:
> ALErs -
>
> Before I write it, can anyone suggest a simple (even trivial) way to
> plug 'stdin'/'stdout' to a specified '/dev/tt*' so byte traffic simply
> goes both ways? No smarts required.
In PERL use POSIX::termios to make place the stream in raw mode and then
use select to pass data back and forth. Need more detail on what you
are actually trying to accomplish.
>
> Second prize is for a comm utility that doesn't pollute the traffic
> stream with whatever comments it wants to make, i.e., uses 'stderr' to
> whine.
>
dup fd 2 to /tmp/program.log. Then whine on stderr.
> TIA from a lazy programmer.
>
> - Mills
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list