Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 1995 06:22:41 +0300
From:      "Andrew A. Chernov, Black Mage" <ache@astral.msk.su>
To:        freebsd-hackers@FreeBSD.org, moriyama@trl.ibm.co.jp
Subject:   Re: Small syscons change
Message-ID:  <CT18V5l8G9@astral.msk.su>
In-Reply-To: <9501130151.AA18255@ns.trl.ibm.com>; from MORIYAMA Takao at Fri, 13 Jan 1995 10:51:55 %2B0900
References:  <199501121532.KAA02843@skynet.ctr.columbia.edu> <9501130151.AA18255@ns.trl.ibm.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <9501130151.AA18255@ns.trl.ibm.com> MORIYAMA Takao writes:

>If termcap library generates "ESC [ <nnn> d" or "ESC [ <nnn> `"
>sequences, <nnn> is 0 based, not 1 based. So clamping by original code

>    n = scp->term.param[0]; if (n < 1)  n = 1;

>makes the cursor on the second column/row on the screen. This sequnce is
>used by emacs as long as I know.

>The following pactch fixes this problem without breaking bash and elvis.
>I don't know this is the right solution, but I have no problem for now.

You fix it in wrong way, use (n - 1) in move_crsr instead like in 'H' escape
done.

-- 
Andrew A. Chernov        : And I rest so composedly,  /Now, in my bed,
ache@astral.msk.su       : That any beholder  /Might fancy me dead -
FidoNet: 2:5020/230.3    : Might start at beholding me,  /Thinking me dead.
RELCOM Team,FreeBSD Team :         E.A.Poe         From "For Annie" 1849



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