Fwd: New applet: microcom

Denys Vlasenko vda.linux at googlemail.com
Thu Sep 20 21:02:37 UTC 2007


On Wednesday 19 September 2007 07:58, Vladimir Dronnikov wrote:
> Hello!
> 
> I've added new applet microcom which can be used to communicate with serial ports.
> Inspired by mgetty's microcom utility.
> 
> Comments are welcome!

Edited it a bit. There were many warnings.

Didn't apply to svn yet. Please test attached.

Issues I would like to be looked at:

Make it possible to work if /var/lock doesn't exist (or is not a dir).

+       if (tcsetattr(STDIN_FILENO, TCSANOW, &tio)) {
+               eitcode = 2;
+               bb_perror_msg_and_die("can't tcsetattr for STDIN");
+       }

Do you really need different exit code? Do you ever plan
to check for exit code of microcom, whether it is 1 or 2?
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3.patch
Type: text/x-diff
Size: 6020 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070920/348a6312/attachment-0002.bin 


More information about the busybox mailing list