On Sat, Jan 14, 2017 at 4:00 PM, scsijon <scsi...@lamiaworks.com.au> wrote: > microcom has it's own package at > https://github.com/Oliviers-OSS/microcom > nothing done for about three years > nice but very limited option switches > > however there is also picocom found at > https://github.com/npat-efault/picocom > and compiles to a 23k single file with a lot more option switches
i'm assuming from the lack of options on busybox's microcom that most people don't need much. i think most of the extra stuff here would be better done by just implementing stty instead. > help is- > picocom v1.2 > Usage is: picocom [options] <tty device> > Options are: > --<b>aud <baudrate> > --<f>low s (=soft) | h (=hard) | n (=none) > --<p>arity o (=odd) | e (=even) | n (=none) > --<d>atabits 5 | 6 | 7 | 8 > --<e>scape <char> > --no<i>nit > --no<r>eset > --<s>end-cmd <command> > --recei<v>e-cmd <command> > --<h>elp > <?> indicates the equivalent short option. > Short options are prefixed by "-" instead of by "--". > > maybe (is to me) of more use in todays world > and is still being maintained and updated. > > regards >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Sat, 14 Jan 2017 13:19:25 -0800 >> From: enh <e...@google.com> >> To: "toybox@lists.landley.net" <toybox@lists.landley.net> >> Subject: [Toybox] [PATCH] Add "microcom" to pending. >> Message-ID: >> >> <CAJgzZooC5FV1m8Ca=sdd0ywhqjwkd1g8iiz7uesa2u2zb+m...@mail.gmail.com> >> Content-Type: text/plain; charset="utf-8" >> >> Our device bringup folks wanted a simple serial console, both on the >> host and on the device. This is certainly enough to replace what I've >> been using personally on the host. >> >> I'd never heard of "microcom" until I asked the internets what busybox >> users use, so I don't care what we call this or what the options are >> called. (But would like to decide before it gets ossified in a million >> factory test scripts and the like!) >> >> The tool that this replaces for me defaulted to /dev/ttyUSB0, but since >> I don't know whether that default would be useful for most other people >> too, I left that out. Command-line history will solve my transition >> problem. >> --- >> toys/pending/microcom.c | 104 >> ++++++++++++++++++++++++++++++++++++++++++++++++ >> 1 file changed, 104 insertions(+) >> create mode 100644 toys/pending/microcom.c >> > /cut > _______________________________________________ > Toybox mailing list > Toybox@lists.landley.net > http://lists.landley.net/listinfo.cgi/toybox-landley.net -- Elliott Hughes - http://who/enh - http://jessies.org/~enh/ Android native code/tools questions? Mail me/drop by/add me as a reviewer. _______________________________________________ Toybox mailing list Toybox@lists.landley.net http://lists.landley.net/listinfo.cgi/toybox-landley.net