stty echo in ash

Rob Landley rob at landley.net
Mon Jul 31 11:48:43 PDT 2006


On Wednesday 26 July 2006 6:54 pm, David Byron wrote:
> I'm trying to turn echo off but I'm having trouble.
> 
> I'm running ash both via direct serial connect and telnetd.  I get the same
> behavior both ways.
> 
> The output of stty before I mess with anything is:
> 
> # stty
> speed 115200 baud;
> -brkint ixoff -imaxbel
> 
> and whatever I type shows up in the shell.

Well, to use netcat's new -f option as a minicom replacement, I go:

stty 115200 -F /dev/ttyS0
stty raw -echo -ctlecho && nc -f /dev/ttyS0

Does that help?

Rob
-- 
Never bet against the cheap plastic solution.


More information about the busybox mailing list