microcom: new applet by Vladimir Dronnikov <dronnikov@gmail.ru>
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Fri, 21 Sep 2007 13:43:28 +0000 (13:43 +0000)
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Fri, 21 Sep 2007 13:43:28 +0000 (13:43 +0000)
git-svn-id: svn://busybox.net/trunk/busybox@19927 69ca8d6d-28ef-0310-b511-8ec308f3f277

include/applets.h
include/usage.h
util-linux/Config.in
util-linux/Kbuild

index f92ce4b..f162c54 100644 (file)
@@ -223,6 +223,7 @@ USE_MATCHPATHCON(APPLET(matchpathcon, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
 USE_MD5SUM(APPLET_ODDNAME(md5sum, md5_sha1_sum, _BB_DIR_USR_BIN, _BB_SUID_NEVER, md5sum))
 USE_MDEV(APPLET(mdev, _BB_DIR_SBIN, _BB_SUID_NEVER))
 USE_MESG(APPLET(mesg, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
+USE_MICROCOM(APPLET(microcom, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
 USE_MKDIR(APPLET_NOFORK(mkdir, mkdir, _BB_DIR_BIN, _BB_SUID_NEVER, mkdir))
 //USE_MKE2FS(APPLET(mke2fs, _BB_DIR_SBIN, _BB_SUID_NEVER))
 USE_MKFIFO(APPLET(mkfifo, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
index c5ed558..eb1a641 100644 (file)
        "       y       Allow write access to your terminal\n" \
        "       n       Disallow write access to your terminal"
 
+#define microcom_trivial_usage \
+       "[-s speed] tty-name"
+#define microcom_full_usage \
+       ""
+
 #define mkdir_trivial_usage \
        "[OPTION] DIRECTORY..."
 #define mkdir_full_usage \
index 107382f..7d8e948 100644 (file)
@@ -305,6 +305,12 @@ config FEATURE_MDEV_LOAD_FIRMWARE
          /lib/firmware/ and if it exists, send it to the kernel for
          loading into the hardware.
 
+config MICROCOM
+       bool "microcom"
+       default n
+       help
+         The poor man's minicom utility for chatting with serial port devices.
+
 config MKSWAP
        bool "mkswap"
        default n
index cc1d0e0..8f3138a 100644 (file)
@@ -30,3 +30,4 @@ lib-$(CONFIG_SETARCH)         +=setarch.o
 lib-$(CONFIG_SWAPONOFF)                +=swaponoff.o
 lib-$(CONFIG_SWITCH_ROOT)      +=switch_root.o
 lib-$(CONFIG_UMOUNT)           +=umount.o
+lib-$(CONFIG_MICROCOM)         +=microcom.o