Help me! (termcap bug?)

Chris Torek chris at umcp-cs.UUCP
Thu May 23 01:16:36 AEST 1985


> Can somone tell me why the termcap entry
>	setenv TERMCAP 'M6|trs80|trs-80:\
>	ae=^V:am:as=^V:bs:bw:cd=\037:\
[...]
> works, but
>	setenv TERMCAP 'M6|trs80|trs-80:\
>	am:bs:bw:cd=\037:\
[...]
> doesn't do the automatic margins correctly (am)?
>	The only difference is the removal of the
> alternate character set switches.

That's not the only difference.  The second one also has "am" as the
first "entry" on the line.  That should make you suspicious.
Examination of the termcap code should make you even more suspicious.
Your problem will go away if you put a : in front of each first "entry"
on the line:  termcap is not doing what you think it's doing with
continuation lines.  (Ever try doing tgetflag("\n\t")...?)
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251)
UUCP:	seismo!umcp-cs!chris
CSNet:	chris at umcp-cs		ARPA:	chris at maryland



More information about the Comp.unix mailing list