Xref: utzoo comp.unix.ultrix:892 comp.unix.questions:13227 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bionet!agate!ucbvax!hplabs!pyramid!prls!gordon From: gordon@prls.UUCP (Gordon Vickers) Newsgroups: comp.unix.ultrix,comp.unix.questions Subject: Re: Ultrix cbreak (curses) missing? Message-ID: <21716@prls.UUCP> Date: 3 May 89 16:18:38 GMT References: <172@larry.sal.wisc.edu> <6745@cbmvax.UUCP> Reply-To: gordon@prls.UUCP (Gordon Vickers) Organization: Philips Research Labs, Sunnyvale, California Lines: 23 In article <6745@cbmvax.UUCP> grr@cbmvax.UUCP (George Robbins) writes: -> ->There is also a long standing "bug" with Ultrix curses that shows up if ->you try to make the net.sources "sc" spread sheet program under Ultrix. ->If you do it under 4.3 it works fine, and the 4.3 executable works fine ->with Ultrix, but if you do the compile under Ultrix, you get this intersting ->diagonal effect instead of columns. It may be fixed in 3.0, I don't know... Yes, It's been fixed in Ultrix 3.0 ->Apparently some confused person at DEC tried to "fix" some other "bug" he ->perceived with curses, but broke the proper operation... Adding the ->following lines to the end of sc.h (or curses.h 8-) backs out the screwup... -> ->#ifdef ultrix ->#undef nl ->#undef nonl ->#define nl() (_tty.sg_flags |= CRMOD,_pfast = _rawmode,stty(_tty_ch, &_tty)) ->#define nonl() (_tty.sg_flags &= ~CRMOD, _pfast = TRUE, stty(_tty_ch, &_tty)) ->#endif Or, make the change in curses.h so you won't have to troubleshoot the problem later when you try to compile something else.