Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] ncurses: Copy terminfo for 'dumb' terminal
@ 2017-06-03  0:00 Andrey Smirnov
  2017-06-03  0:00 ` [Buildroot] [PATCH 2/2] ncurses: Copy terminfo for 'screen-256color' terminal Andrey Smirnov
  2017-06-04  7:58 ` [Buildroot] [PATCH 1/2] ncurses: Copy terminfo for 'dumb' terminal Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Andrey Smirnov @ 2017-06-03  0:00 UTC (permalink / raw)
  To: buildroot

Definition of 'dumb' terminal is required to be able to call 'top -b'
from 'procps-ng'.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
 package/ncurses/ncurses.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk
index 2b99d3f..d8ad9dd 100644
--- a/package/ncurses/ncurses.mk
+++ b/package/ncurses/ncurses.mk
@@ -47,6 +47,7 @@ endif
 
 NCURSES_TERMINFO_FILES = \
 	a/ansi \
+	d/dumb \
 	l/linux \
 	p/putty \
 	p/putty-vt100 \
-- 
2.9.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/2] ncurses: Copy terminfo for 'screen-256color' terminal
  2017-06-03  0:00 [Buildroot] [PATCH 1/2] ncurses: Copy terminfo for 'dumb' terminal Andrey Smirnov
@ 2017-06-03  0:00 ` Andrey Smirnov
  2017-06-04  7:58 ` [Buildroot] [PATCH 1/2] ncurses: Copy terminfo for 'dumb' terminal Thomas Petazzoni
  1 sibling, 0 replies; 4+ messages in thread
From: Andrey Smirnov @ 2017-06-03  0:00 UTC (permalink / raw)
  To: buildroot

Tmux uses 256 color version of 'screen' terminfo by deafult, so copy
corresponding file to support that usecase.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
 package/ncurses/ncurses.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk
index d8ad9dd..94c8c9a 100644
--- a/package/ncurses/ncurses.mk
+++ b/package/ncurses/ncurses.mk
@@ -52,6 +52,7 @@ NCURSES_TERMINFO_FILES = \
 	p/putty \
 	p/putty-vt100 \
 	s/screen \
+	s/screen-256color \
 	v/vt100 \
 	v/vt100-putty \
 	v/vt102 \
-- 
2.9.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/2] ncurses: Copy terminfo for 'dumb' terminal
  2017-06-03  0:00 [Buildroot] [PATCH 1/2] ncurses: Copy terminfo for 'dumb' terminal Andrey Smirnov
  2017-06-03  0:00 ` [Buildroot] [PATCH 2/2] ncurses: Copy terminfo for 'screen-256color' terminal Andrey Smirnov
@ 2017-06-04  7:58 ` Thomas Petazzoni
  2017-06-06 11:18   ` Peter Korsgaard
  1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2017-06-04  7:58 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri,  2 Jun 2017 17:00:12 -0700, Andrey Smirnov wrote:
> Definition of 'dumb' terminal is required to be able to call 'top -b'
> from 'procps-ng'.
> 
> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> ---
>  package/ncurses/ncurses.mk | 1 +
>  1 file changed, 1 insertion(+)

Thanks both applied. Peter: since these patches are fixing runtime
issues, I would suggest to take them for the LTS branch as well.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/2] ncurses: Copy terminfo for 'dumb' terminal
  2017-06-04  7:58 ` [Buildroot] [PATCH 1/2] ncurses: Copy terminfo for 'dumb' terminal Thomas Petazzoni
@ 2017-06-06 11:18   ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2017-06-06 11:18 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Hello,
 > On Fri,  2 Jun 2017 17:00:12 -0700, Andrey Smirnov wrote:
 >> Definition of 'dumb' terminal is required to be able to call 'top -b'
 >> from 'procps-ng'.
 >> 
 >> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
 >> ---
 >> package/ncurses/ncurses.mk | 1 +
 >> 1 file changed, 1 insertion(+)

 > Thanks both applied. Peter: since these patches are fixing runtime
 > issues, I would suggest to take them for the LTS branch as well.

Agreed. Committed to 2017.02.x and (the newly created) 2017.05.x
branches, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-06-06 11:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-03  0:00 [Buildroot] [PATCH 1/2] ncurses: Copy terminfo for 'dumb' terminal Andrey Smirnov
2017-06-03  0:00 ` [Buildroot] [PATCH 2/2] ncurses: Copy terminfo for 'screen-256color' terminal Andrey Smirnov
2017-06-04  7:58 ` [Buildroot] [PATCH 1/2] ncurses: Copy terminfo for 'dumb' terminal Thomas Petazzoni
2017-06-06 11:18   ` Peter Korsgaard

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