Skip to contentSkip to conversation

ncurses: Copy terminfo for 'dumb' terminal

PATCH New Andrey Smirnov 3 participants 4 messages Jun 3, 2017 – Jun 6, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ncurses: Copy terminfo for 'dumb' terminal

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

---
 package/ncurses/ncurses.mk | 1 +
 1 file changed, 1 insertion(+)
package/ncurses/ncurses.mk +1 -0
index 2b99d3f..d8ad9dd 100644
@@ -47,6 +47,7 @@ endif
 
 NCURSES_TERMINFO_FILES = \
 	a/ansi \
+	d/dumb \
 	l/linux \
 	p/putty \
 	p/putty-vt100 \
Signature · 1 line
2.9.4
#1 lore raw

PATCH 2/2 ncurses: Copy terminfo for 'screen-256color' terminal

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

---
 package/ncurses/ncurses.mk | 1 +
 1 file changed, 1 insertion(+)
package/ncurses/ncurses.mk +1 -0
index d8ad9dd..94c8c9a 100644
@@ -52,6 +52,7 @@ NCURSES_TERMINFO_FILES = \
 	p/putty \
 	p/putty-vt100 \
 	s/screen \
+	s/screen-256color \
 	v/vt100 \
 	v/vt100-putty \
 	v/vt102 \
Signature · 1 line
2.9.4
#2 lore raw

PATCH 1/2 ncurses: Copy terminfo for 'dumb' terminal

In reply to Andrey Smirnov

Hello,

Quoted 7 lines · Andrey Smirnov

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

---
 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

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw

PATCH 1/2 ncurses: Copy terminfo for 'dumb' terminal

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Hello,

Quoted 3 lines · Andrey Smirnov

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

Quoted 7 lines
Quoted 4 lines

---
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.

Signature · 1 line
Bye, Peter Korsgaard