[comp.os.minix] Improved VT100 in Virtual Console

baron@wiesje.hobby.nl (Wim `Blue Baron' van Dorst) (01/22/91)

Hello *,

There may be more people like myself who have to work in offices with
VMS machines.  These machines tend to be very picky about the kind of
terminal you have.  When you tell the machine that you have a VT100,
then it better be a full VT100 or else you'll wind up with a lot of
rubbish on your screen. 

The Virtual Console by Gordon Irlam did improve things but not
sufficient enough for me (that is for VMS).  Therefore I made some
changes to the console.c of the VC package, to get what I wanted:
better VT100 control sequence handling on specific points.  I made it
eat the sequences it can't handle, e.g.  double height characters
(always used in the SYS$WELCOME) and process some others in the proper
way, like the HVP sequence (used in PHONE, though Dec says HVP is out
of date and should be replaced by CUP).

Below is the cdiff for the console.c of the Virtual Console package, to
improve the VT100 emulation.  Apart from this I made a screen blanker
in my code, but no cdiff for that is included here.  If there is
interest for that too, let me know.

Met vriendelijke groeten, Wim `Blue Baron' van Dorst
---------------------------------------------------------------------
Blue Baron = Wim van Dorst, Voice (+31) 074-443937, (+31) 02152-42319
(-:       baron@wiesje.hobby.nl           tgcpwd@urc.tue.nl       :-)
---------------------------------------------------------------------

table
 !"#$%&'()*+,-./0123456789:;<=>?
@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
begin 644 con.cdiff.Z
M'YV-*@*">,.&S(LQ;]S,(5C&Q9@$4\+0 :$DC!L0(&R B'%#1PP:.FK0V)@Cz
M!PP%+5*"<%/FSL&$"]DT?!AQ8L6+&3=VC)%#QPP9)$TJ"$BTJ%$50P7&L&&#y
M!4>@115@E(H1Q L5((K,&1,&3AD0<^A(_-HFS!@T:5B"L$@&!)PP<L*T*4.Gx
MC!P0=L*PJ5-FC@L0*EY0Q7@6+HB^8[Z$';LC08*K(&#T</-&3EDV+#;V*#)Ew
M2&89FSN#V))Y1N@A(*"P4! "A&/'@$'0.)T:;-;.5%\G "RX*HC"=Q%_24M'v
MSIO&C[&221,V[9DZS-&Z.?,;#5RS=>^:(<CFS1WGMU$''@R"^.&M7]Y:MK.Eu
M21 L7S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*(T%m
M=H8P:U5B P/B>8RR=:Z<IQ(S%8T5"3K#4]?:<#G-*:MSX0N=_U#0!A:XX71Wl
M!:RA)W8",R0:,K,S$G,FB2'>2>RQDE.S8[[WU-OZ(+?KV0(,NF#>R(#@![;6k
M 7!?+5S=LF?6$-I(@5]SD593=[A;B &M>Y#=6^=ZU[!^4[)I#52[??;1S!+Pj
&2C+3!FT!i
 h
end
---------------------------------------------------------------------
Blue Baron = Wim van Dorst, Voice (+31) 074-443937, (+31) 02152-42319
(-:       baron@wiesje.hobby.nl           tgcpwd@urc.tue.nl       :-)
---------------------------------------------------------------------