Re: [OpenWrt-Devel] [Patch] [Resend] Add terminfo file in ncurses

2014-06-18 Thread Steven Barth

Ah sorry, seems I forgot to send a reply here.
I noticed your initial patch was mangled but since it was trivial I 
applied it manually already:

https://dev.openwrt.org/changeset/41212

Thanks and Cheers,

Steven
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [Patch] [Resend] Add terminfo file in ncurses

2014-06-16 Thread Jonathan Bennett
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