CURSES: magic cookie glitch characters

Dave Decot decot at hpisod2.cup.hp.com
Fri Nov 16 07:32:54 AEST 1990


> Can anyone shed some light on 'magic cookie glitch characters'?
> 
> It is "mentioned" in the Xenix Programmer's Guide in the Curses section.
> 
> I know that the termcap/terminfo mentions magic cookies for certain
> terminals. I just need an explanation of both.

When some terminals enter or exit standout mode, they generate a number of
blank characters.  "magic_cookie_glitch" is the number of blank characters
left by the terminal.

Dave



More information about the Comp.unix.programmer mailing list