[Toybox] [PATCH] Fix microcom command-line help and -X.

Rob Landley rob at landley.net
Wed Jan 25 14:25:09 PST 2017


Catching up...

ctrl-x is not a good escape character, it's the "attention" key for
emacs. The traditional (telnet) escape character is ctrl-right bracket
(ascii 29) which as far as I know doesn't conflict with anything. Any
strong opinions if I change it? (I've done it for now but can switch it
back if there's strong opposition. Trying to get a release out...)

I have a loop that calculates all the serial speed values (through 4
megabits/second) but unfortunately the serial devices I have lying
around ignore the serial speed setting. (I did -s 115200 and -s 9600 and
it behaves identically.) Alas, fairly common thing with USB to serial
converters (which tend to have a fixed speed on one side and a packet
protocol on the other; one one side you have to match the hardwired
speed, on the other speed setting is completely ignored).

That said, you've convinced me not to try to make most of the code
common because nothing else (except stty) really cares about serial
ports. (Unless I add a pppd which nobody's asked for yet. :)

Rob


More information about the Toybox mailing list