Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Dec 1995 10:12:17 +0100
From:      Gert-Jan.Vons@ocegr.fr
To:        questions@freebsd.org
Subject:   Bug in termcap entry for syscons (cons25/cons25w/ansiw/ansi)
Message-ID:  <9512040912.AA26943@ocegr.fr>

next in thread | raw e-mail | index | archive | help

Under 2.1.0-RELEASE, the termcap entry for cons25/cons25w/ansiw/ansi
contains the 'ms' flag, which normally indicates that the terminal
is able to move the cursor properly in standout or underline mode.

However, this does NOT work when the syscons driver is used, leaving a
trail of highlighted characters/lines on the screen when the cursor is
moved or the screen is scrolled.

This can be seen when using the spreadsheet 'ss', and nvi.1.5x in
split-screen.

Removing the 'ms' flag from the termcap entry fixes this.

(The pcvt termcap entries also contain 'ms', but the pcvt console driver
 handles the cursor movement correctly.)

	Gert-Jan

---------------------------------------------------------------------------
J.G. Vons, Oce engineering Creteil, France | E-mail: Gert-Jan.Vons@ocegr.fr

*** /etc/termcap.org	Thu Nov 16 10:52:13 1995
--- /etc/termcap	Sat Dec  2 19:40:15 1995
***************
*** 2366,2372 ****
  cons25w|ansiw|ansi80x25-raw:\
  	:al=\E[L:am:bs:NP:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:co#80:\
  	:dc=\E[P:dl=\E[M:do=\E[B:bt=\E[Z:ho=\E[H:ic=\E[@:li#25:cb=\E[1K:\
! 	:ms:nd=\E[C:pt:rs=\E[x\E[m\Ec:so=\E[7m:se=\E[m:up=\E[A:\
  	:pa#64:Co#8:Sf=\E[3%dm:Sb=\E[4%dm:op=\E[x:\
  	:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\
  	:k9=\E[U:k;=\E[V:F1=\E[W:F2=\E[X:K2=\E[E:nw=\E[E:ec=\E[%dX:\
--- 2366,2372 ----
  cons25w|ansiw|ansi80x25-raw:\
  	:al=\E[L:am:bs:NP:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:co#80:\
  	:dc=\E[P:dl=\E[M:do=\E[B:bt=\E[Z:ho=\E[H:ic=\E[@:li#25:cb=\E[1K:\
! 	:nd=\E[C:pt:rs=\E[x\E[m\Ec:so=\E[7m:se=\E[m:up=\E[A:\
  	:pa#64:Co#8:Sf=\E[3%dm:Sb=\E[4%dm:op=\E[x:\
  	:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\
  	:k9=\E[U:k;=\E[V:F1=\E[W:F2=\E[X:K2=\E[E:nw=\E[E:ec=\E[%dX:\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9512040912.AA26943>