Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!ptsfa!ames!ucbcad!ucbvax!LF-SERVER-2.BBN.COM!jr From: jr@LF-SERVER-2.BBN.COM.UUCP Newsgroups: comp.emacs Subject: Re: flow control by termcap Message-ID: <8707091316.AA20406@ucbvax.Berkeley.EDU> Date: Thu, 9-Jul-87 09:17:21 EDT Article-I.D.: ucbvax.8707091316.AA20406 Posted: Thu Jul 9 09:17:21 1987 Date-Received: Sat, 11-Jul-87 19:38:33 EDT References: <494@yetti.UUCP> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 32 >> In article <493@yetti.UUCP> mike@yetti.UUCP (Mike Clarkson ) writes: >> > >> >You missed the point entirely. It's not the GNU Emacs algorithm that's >> >faulty, it's the termcap distributed with GNU Emacs that has the scroll >> >regions disabled. From termcap.ucb in the 18.47: d0|vt100|vt100-am|vt100am|dec vt100:\ :do=^J:co#80:li#24:cl=50\E[;H\E[2J:sf=5\ED:\ :le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\ :ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\ :md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:is=\E[1;24r\E[24;1H:\ :rf=/usr/lib/tabset/vt100:\ :rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\ :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\ :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=5\EM:vt#3:xn:\ :sc=\E7:rc=\E8:cs=\E[%i%d;%dr: And indeed emacs is using the scrolling region as I type on my vt100 (emulator) right now. Now Mike, as I recall, is a VMS user, and the termcap for VMS, termcap.dat, does not have the scrolling regions enabled. Try adding the cs= capability above if you wish to experiment. (or substitute termcap.ucb for termcap.dat if you dare). It could be a VMS dependency. Perhaps the vt100 driver in VMS thinks it knows where the scrolling region is, and messing with it in a user program is dangerous. /jr