[OpenWrt-Devel] [PATCH] wpa_supplicant: GNU Readline and History Support for command line
Bima Hutama
hutamanzi at gmail.com
Tue Jun 7 13:25:57 EDT 2016
-Description:
Include support for GNU Readline and History Libraries in wpa_cli. By enabling
this, we will get history support for wpa_cli, so that wpa_cli-interactive-mode
interprets up and down key as historical commands rather than just not-interpretable
"^[[A" or "^[[B" strings.
-Changelog:
Enabling CONFIG_READLINE=y.
Signed-off-by: Bima Hutama <hutamanzi at gmail.com>
---
package/network/services/hostapd/files/wpa_supplicant-full.config | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/network/services/hostapd/files/wpa_supplicant-full.config b/package/network/services/hostapd/files/wpa_supplicant-full.config
index 441eab1..dd1ef8c 100644
--- a/package/network/services/hostapd/files/wpa_supplicant-full.config
+++ b/package/network/services/hostapd/files/wpa_supplicant-full.config
@@ -222,7 +222,7 @@ CONFIG_CTRL_IFACE=y
# When building a wpa_cli binary for distribution, please note that these
# libraries are licensed under GPL and as such, BSD license may not apply for
# the resulting binary.
-#CONFIG_READLINE=y
+CONFIG_READLINE=y
# Remove debugging code that is printing out debug message to stdout.
# This can be used to reduce the size of the wpa_supplicant considerably
--
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list