Path: utzoo!attcan!uunet!husc6!bbn!mit-eddie!ll-xn!ames!nrl-cmf!cmcl2!phri!manhat!mancol!marob!daveh From: daveh@marob.MASA.COM (Dave Hammond) Newsgroups: comp.unix.questions Subject: Curses problem on PC monitors Message-ID: <278@marob.MASA.COM> Date: 13 May 88 14:49:20 GMT Reply-To: daveh@marob.UUCP (Dave Hammond) Organization: 18th Street Construction Co NY NY Lines: 35 Re: Curses output on PC monitors When displaying standout() text on a CGA or Mono monitor, if the standout() text is the last text on the line, the standend() routine does not end standout() mode. All blank space and lines until the next non-blank text appears in reverse. A typical example is: move(0,30); standout(); addstr("A STANDOUT TEXT STRING"); standend(); /* ... move to other lines, add more text */ refresh(); Preceeding or following the standend() with a clrtoeol() does not help (and is often undesireable, especially if the window is boxed :-). Please note, this only occurs if the standout() text is the last text on the line. If any non-blank characters follow the standend(), everything works as expected. The environment is a 286 box running SCO Xenix 2.x. Has anyone experienced the same? Can any suggestions be offered as to workarounds, or perhaps a more proper use of the Curses function? Thanks in advance for any advice. Dave Hammond DSI Communications, Inc. -------------------------------- UUCP: ...!marob!daveh VOICE: (516)872-3535 USMAIL: 333 W. Merrick Rd. Valley Stream, NY 11580