On 12/29/14 01:58, Robert Thompson wrote:
> Once upon a time, the serial issue would have kept me using screen. But,
> these days I use picoterm as the minimal pty<-->serial connector, and
> that works as well with tmux as screen's own serial handling worked with
> screen. It also works well without any multiplexer, just letting your
> (virtual) terminal handle whatever escape codes are coming, so my
> smaller utility images only have to include the tiny picocom binary
> rather than the much bigger screen (or tmux+picocom) binary. 
> 
> Picoterm itself is unfortunately GPL, but it's also pretty simple;
> basically just abstracts the serial-pty and the console-pty stuff and
> plugs them together with a limited set of command keys for exit,
> baud-up/down, etc, and for launching rzsz-style file-transfer programs.

I've used netcat -f /dev/ttyUSB0 as a terminal, the netcat help points
out you need to use stty first to set up the terminal:

  Use "stty 115200 -F /dev/ttyS0 && stty raw -echo -ctlecho" with
  netcat -f to connect to a serial port.

On my todo list is gluing the two of those together into a nanoterm but
I need to cleanup and promote stty first and that command is... complicated.

Um, correction. Looks like I need to implement it. (Not in pending.
might be in ashwini's patch pile...)

Rob
_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to