[OpenWrt-Devel] Add terminfo file in ncurses

John Crispin john at phrozen.org
Wed Jun 18 05:49:50 EDT 2014



On 12/06/2014 20:26, Jonathan Bennett wrote:
> Ran into a problem with my Fedora Linux machine, SSHing into an
> Openwrt router. Fedora sets terminfo to xterm-256color, but ncurses
> 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 <jbscience87 at gmail.com 
> <mailto:jbscience87 at gmail.com>>
> 
> 


Hi,

patchwork picked up a patch with broken whitespaces -->
http://patchwork.openwrt.org/patch/5644/

can you resend the patch using "git send-email" this will make sure
that we receive valid patch.

	John



















> 
> 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 "\x$$$$dir"); \ 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 at lists.openwrt.org 
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> 
_______________________________________________
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