microcom: new applet by Vladimir Dronnikov <dronnikov@gmail.ru>
authorDenis Vlasenko <vda.linux@googlemail.com>
Fri, 21 Sep 2007 13:43:28 +0000 (13:43 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Fri, 21 Sep 2007 13:43:28 +0000 (13:43 -0000)
include/applets.h
include/usage.h
util-linux/Config.in
util-linux/Kbuild

index f92ce4b133573610c17377b4ec01ed5c6eb850bb..f162c5479226734dd5d791974ec3a19c5d1729d0 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 c5ed55881cbc828dc5cdabd0dbf779ec723a79d8..eb1a6415fcfcfd4555c0e35db261a5bd93623bf9 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 107382f51189c9a134f2b82d022dca43c9699fb0..7d8e94890a7273a3c3ab9d2ae54d03acf42063b0 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 cc1d0e05d06419b71442f9f1df261ac3932c3827..8f3138a8761b1be60de91cadf18b816d60b30492 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