Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site umcp-cs.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.unix Subject: Re: Help me! (termcap bug?) Message-ID: <5980@umcp-cs.UUCP> Date: Wed, 22-May-85 11:16:36 EDT Article-I.D.: umcp-cs.5980 Posted: Wed May 22 11:16:36 1985 Date-Received: Fri, 24-May-85 21:11:15 EDT References: <341@tekred.UUCP> Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 22 > 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@umcp-cs ARPA: chris@maryland