Skip to content

Commit

Permalink
terminfo: fix linux terminal description
Browse files Browse the repository at this point in the history
midnight commander under linux terminal was heavily broken.
the root cause of this problem are wrong terminfo entries, that once
were fixed[0], but then reverted[1] by pointing the linux terminfo entry
to use the unfixed linux2.2 entry instead of the recent and fixed
linux3.0 entry.
for us this fixes it mostly but not completely, only when we use the
ascs entry from bterm, the line drawing characters are finally drawn
correctly.

changes in this commit:
- default linux to use fixed linux3.0 entry
- add improved ascs capability to linux3.0

fixes #22

[0]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=515609
[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665959
  • Loading branch information
rofl0r committed Jan 2, 2017
1 parent 7cad4be commit e329e8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion terminfo/terminfo
Original file line number Diff line number Diff line change
Expand Up @@ -1653,11 +1653,12 @@ linux2.6|linux 2.6.x console,
# The 3.0 kernel adds support for clearing scrollback buffer (capability E3).
# It is the same as xterm's erase-saved-lines feature.
linux3.0|linux 3.0 kernels,
acsc=aajjkkllmmqqttuuxx,
E3=\E[3J, use=linux2.6,

# This is Linux console for ncurses.
linux|linux console,
use=linux2.2,
use=linux3.0,

# Subject: linux 2.6.26 vt back_color_erase
# Changes to the Linux console driver broke bce model as reported in
Expand Down

0 comments on commit e329e8d

Please sign in to comment.