Re: [ptxdist] [PATCH] ncurses: Added /usr/share/terminfo/d/dumb to PTXCONF_NCURSES_TERMCAP
On Thu, Feb 11, 2016 at 12:31:48PM +0100, Michael Olbrich wrote: > On Tue, Feb 02, 2016 at 03:59:41PM +0100, Gavin Schenk wrote: > > This is needed when using top in batch mode "top -b" > > Thanks, applied. The new version of the patch of cource. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [PATCH] ncurses: Added /usr/share/terminfo/d/dumb to PTXCONF_NCURSES_TERMCAP
On Tue, Feb 02, 2016 at 03:59:41PM +0100, Gavin Schenk wrote: > This is needed when using top in batch mode "top -b" Thanks, applied. Michael > --- > rules/ncurses.make | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/rules/ncurses.make b/rules/ncurses.make > index 57e8199..521af77 100644 > --- a/rules/ncurses.make > +++ b/rules/ncurses.make > @@ -212,6 +212,7 @@ ifdef PTXCONF_NCURSES_TERMCAP > @$(call install_copy, ncurses, 0, 0, 0644, -, > /usr/share/terminfo/l/linux, n); > @$(call install_copy, ncurses, 0, 0, 0644, -, > /usr/share/terminfo/s/screen, n); > @$(call install_copy, ncurses, 0, 0, 0644, -, > /usr/share/terminfo/s/screen-256color, n); > + @$(call install_link, ncurses, /usr/share/terminfo/a/ansi, > /usr/share/terminfo/d/dumb); > endif > > @$(call install_finish, ncurses) > -- > 1.9.1 > > > ___ > ptxdist mailing list > ptxdist@pengutronix.de -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [PATCH] ncurses: Added /usr/share/terminfo/d/dumb to PTXCONF_NCURSES_TERMCAP
Hi, > > On Tue, Feb 02, 2016 at 03:59:41PM +0100, Gavin Schenk wrote: > > This is needed when using top in batch mode "top -b" > > --- > > rules/ncurses.make | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/rules/ncurses.make b/rules/ncurses.make index > > 57e8199..521af77 100644 > > --- a/rules/ncurses.make > > +++ b/rules/ncurses.make > > @@ -212,6 +212,7 @@ ifdef PTXCONF_NCURSES_TERMCAP > > @$(call install_copy, ncurses, 0, 0, 0644, -, > /usr/share/terminfo/l/linux, n); > > @$(call install_copy, ncurses, 0, 0, 0644, -, > /usr/share/terminfo/s/screen, n); > > @$(call install_copy, ncurses, 0, 0, 0644, -, > > /usr/share/terminfo/s/screen-256color, n); > > + @$(call install_link, ncurses, /usr/share/terminfo/a/ansi, > > +/usr/share/terminfo/d/dumb); > > Why the symlink and not the real /usr/share/terminfo/d/dumb? > Mostly because of my ignorance :). I have changed the patch and tested it, it works! I will post the patch again. Regards Gavin ___ ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [PATCH] ncurses: Added /usr/share/terminfo/d/dumb to PTXCONF_NCURSES_TERMCAP
On Tue, Feb 02, 2016 at 03:59:41PM +0100, Gavin Schenk wrote: > This is needed when using top in batch mode "top -b" > --- > rules/ncurses.make | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/rules/ncurses.make b/rules/ncurses.make > index 57e8199..521af77 100644 > --- a/rules/ncurses.make > +++ b/rules/ncurses.make > @@ -212,6 +212,7 @@ ifdef PTXCONF_NCURSES_TERMCAP > @$(call install_copy, ncurses, 0, 0, 0644, -, > /usr/share/terminfo/l/linux, n); > @$(call install_copy, ncurses, 0, 0, 0644, -, > /usr/share/terminfo/s/screen, n); > @$(call install_copy, ncurses, 0, 0, 0644, -, > /usr/share/terminfo/s/screen-256color, n); > + @$(call install_link, ncurses, /usr/share/terminfo/a/ansi, > /usr/share/terminfo/d/dumb); Why the symlink and not the real /usr/share/terminfo/d/dumb? Michael > endif > > @$(call install_finish, ncurses) > -- > 1.9.1 > > > ___ > ptxdist mailing list > ptxdist@pengutronix.de -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ ptxdist mailing list ptxdist@pengutronix.de