mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] ncurses: Added /usr/share/terminfo/d/dumb to PTXCONF_NCURSES_TERMCAP
@ 2016-02-02 14:59 Gavin Schenk
  2016-02-05 16:10 ` Michael Olbrich
  2016-02-11 11:31 ` Michael Olbrich
  0 siblings, 2 replies; 6+ messages in thread
From: Gavin Schenk @ 2016-02-02 14:59 UTC (permalink / raw)
  To: ptxdist; +Cc: Gavin Schenk

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);
 endif
 
 	@$(call install_finish, ncurses)
-- 
1.9.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: [ptxdist] [PATCH] ncurses: Added /usr/share/terminfo/d/dumb to PTXCONF_NCURSES_TERMCAP
@ 2016-02-08  7:05 Schenk, Gavin
  0 siblings, 0 replies; 6+ messages in thread
From: Schenk, Gavin @ 2016-02-08  7:05 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <Re: [ptxdist] [PATCH] ncurses: Added /usr/share/terminfo/d/dumb to PTXCONF_NCURSES_TERMCAP>]

end of thread, other threads:[~2016-02-11 11:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-02 14:59 [ptxdist] [PATCH] ncurses: Added /usr/share/terminfo/d/dumb to PTXCONF_NCURSES_TERMCAP Gavin Schenk
2016-02-05 16:10 ` Michael Olbrich
2016-02-11 11:31 ` Michael Olbrich
2016-02-11 11:34   ` Michael Olbrich
2016-02-08  7:05 Schenk, Gavin
     [not found] <Re: [ptxdist] [PATCH] ncurses: Added /usr/share/terminfo/d/dumb to PTXCONF_NCURSES_TERMCAP>
2016-02-08  7:07 ` Gavin Schenk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox