[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scrolling Regions for vconsoles



Here's support for scrolling regions in Juergen Lock's / your
virtual consoles...

Pretty experimental, but it seems to work just fine.

I've chosen the letter R for the escape sequence which sets the scrolling
region. (any thoughts on that choice?) So you could add

:cs=\ER%+ %+ :

to your stv52 entry in /etc/termcap.

To compile, apply the diffs with "patch < scrreg_patch" to your 0.8
sourcecode and add -DSCRREG to your CFLAGS in Makefile.

It might slow down a little (very little) bit, but some programs will look
much nicer.

Diffs are, gzipped and uuencoded, after my signature.
You can also get the compiled binaries and the diffs at my WWW page
http://www.geocities.com/Athens/1308/mintsoft.html.

/simon

begin 644 scrreg_patch.gz
M'XL("#1OJS$  W-C<G)E9U]P871C: #%66USVD@2_BS_BG&E+H EL"1>;2_9
M>+/V7NH2)V5[<YN[O>*$&&$E0F(E@:$2__?K[AE)(Q#8R6[5524&C;I[^FV>
M[AZ:S29KM8[-UJ 9Q?[T>)E.^++E:I>QS]XZ:V;UF6F?MONGG0&S3DYZ![JN
MLU9.=KO@1&8/F&V= J5E"[*7+UFSUS%Z3(>_)^SERP/V^NK-ZZL+EJ1.ZKML
M&?D3YB[B9!1Y'GL_JM=O7EU?7%RQHT;#D"_"C?6S@Q)W&,4S)QC-%ZE[5Z(T
MF!^F6^0\<=?[B/5GOC?A'H,7UQ>_'.@;O/%^7AY.?*^\X1^+*.5[U:MP"5^Y
M=TXXY6-BH25@R#Z#*)Q6<((\^.^G.0_28 CZ-H:@W]T=@CLGGMP[,1^!A5$0
M;'O\<9[1)+JO"%4%XS1*H]5ZVQD[8U A(^$I;!OSZ5XQ,AQ5.1?$7AS-=G"7
MY53Q3WC (:R!'_*G1]4/$QZG>Y@P6 ,+@S7HRV!M&.TF=\Y\UY8J+20<I.L3
M#X3U9T[$(\PR!E+(AUO3_.W5NZM<!\QEMG*C,%JD(UB+4]#O&0\23MZP3<I=
MV[*D/[1E\\6RE;;BZ#[PDY0-F?QV5KP#R!BR*%16<#,.B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