n-t-roff / heirloom-ex-vi

The Traditional Vi (vi with many enhancements from Gunnar Ritter)
Other
67 stars 15 forks source link

xterm: Unknown terminal type #4

Open kajukenbo opened 3 years ago

kajukenbo commented 3 years ago

I feel like I'm missing something obvious here. I have terminfo libtinfo6 installed. Devuan / Debian base. Do I need to use libtinfo5 (legacy)?
Are the Dev or Debug packages needed?

I saw zero errors with make & install.

$ /usr/local/bin/vi xterm: Unknown terminal type Visual needs addressible cursor or upline capability

$ cd /usr/share/terminfo/
$ ls 1/ 3/ 5/ 7/ 9/ A/ c/ e/ f/ h/ j/ l/ m/ n/ o/ P/ Q/ s/ u/ w/ X/ 2/ 4/ 6/ 8/ a/ b/ d/ E/ g/ i/ k/ L/ M/ N/ p/ q/ r/ t/ v/ x/ z/

I am trying to determine if I can reproduce some unexpected behavior from "nvi" Specifically duplicating a file via :%y a ^]G10a"p

First line is cut and duplicated separately from the rest of the buffer.

Thanks.

n-t-roff commented 3 years ago

What terminal are you using? Are you using screen or tmux inside this terminal? What is the output of echo $TERM?

kajukenbo commented 3 years ago

Hello

I just did a re-install and tried again; same "error".

$ env | grep -E 'TERM|VTE' COLORTERM=truecolor VTE_VERSION=5402 TERM=xterm-256color

$ /usr/local/bin/vi xterm-256color: Unknown terminal type Visual needs addressible cursor or upline capability :q

$ TERM=xterm ; export TERM $ /usr/local/bin/vi xterm: Unknown terminal type Visual needs addressible cursor or upline capability :q

xfce4-terminal 0.8.7.4-2 libtinfo6 6.1+20181013-2+deb10u2

$ ls -1 /usr/share/terminfo/ | wc -l 42 Not in screen or tmux, just the VTE-based terminal that comes with XFCE. Tho that is a perfectly valid question because I usually am. I will try again with pure xterm for testing purposes and let you know.

Thanks

kajukenbo commented 3 years ago

Never mind. I spotted my mistake. I'm an idjit.
I needed "libtinfo-dev" to pull in the proper dependencies for ncurses.

Version 4.1.3 (gritter) 11/14/16

Ready for testing. Thank you.