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

enh enh at google.com
Wed Jan 25 15:30:48 PST 2017


On Wed, Jan 25, 2017 at 2:25 PM, Rob Landley <rob at landley.net> wrote:
> 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 thought ctrl-x was weird too, but wanted to duplicate an existing
wheel rather than start on a new one :-)

the other thing that seemed odd to me was that there was no support
for _actually_ sending the escape character.

> 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



-- 
Elliott Hughes - http://who/enh - http://jessies.org/~enh/
Android native code/tools questions? Mail me/drop by/add me as a reviewer.


More information about the Toybox mailing list