Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!gatech!bloom-beacon!mit-eddie!ll-xn!ames!sdcsvax!ucsdhub!hp-sdd!hplabs!pyramid!prls!mips!dce From: dce@mips.UUCP Newsgroups: comp.unix.questions Subject: Termcap/terminfo magic cookies (sg#, xmc#) Message-ID: <846@quacky.UUCP> Date: Wed, 28-Oct-87 11:41:48 EST Article-I.D.: quacky.846 Posted: Wed Oct 28 11:41:48 1987 Date-Received: Sat, 31-Oct-87 09:26:56 EST Organization: MIPS Computer Systems, Sunnyvale, CA Lines: 26 According to the 4.3BSD manual, termcap(5): sg num Number of garbage chars left by so or se (default 0) According to SVID Vol 2.: magic_cookie-glitch xmc sg # of blank characters left by smso or rmso Now, the question I have is what is the difference between not defining these and defining them to be 0? From my standpoint, they mean the same thing. If a terminal has a 0-width magic cookie, that means it puts 0 extra characters when it switches to standout mode. If it doesn't have a magic cookie, that means it doesn't put out any extra characters when it switches to standout mode. Even if I was educated in the South, I'm pretty sure that "0" and "not any" mean the same thing in this case. Can anyone help out with this? -- David Elliott dce@mips.com or {ames,decwrl,prls}!mips!dce