Didn't hear back on this, and realized I didn't quite format the previous
email correctly.
Ran into a problem SSHing into an Openwrt router from a Fedora machine.
Fedora sets terminfo to xterm-256color, but ncurses installed in openwrt
doesn't include that file in the firmware. This causes a few unintended
problems, namely nano fails to launch.
Attached patch adds xterm-256color to the files installed by ncurses.
Signed-off-by: Jonathan Bennett jbscienc...@gmail.com
diff --git a/package/libs/ncurses/Makefile b/package/libs/ncurses/Makefile
index 62ffdfb..26b7bf5 100644
--- a/package/libs/ncurses/Makefile
+++ b/package/libs/ncurses/Makefile
@@ -101,7 +101,7 @@ ifneq ($(HOST_OS),FreeBSD)
mv dir (echo -ne \xdir); \
done \
)
- for file in a/ansi d/dumb l/linux r/rxvt r/rxvt-unicode s/screen v/vt100
v/vt102 x/xterm x/xterm-color; do \
+ for file in a/ansi d/dumb l/linux r/rxvt r/rxvt-unicode s/screen v/vt100
v/vt102 x/xterm x/xterm-color x/xterm-256color; do \
$(INSTALL_DIR) $(1)/usr/share/terminfo/`dirname file`; \
$(CP) $(PKG_INSTALL_DIR)/usr/share/terminfo/file \
$(1)/usr/share/terminfo/file; \
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel