Ultrix cbreak (curses) missing?

Gordon Vickers gordon at prls.UUCP
Thu May 4 02:18:38 AEST 1989


In article <6745 at cbmvax.UUCP> grr at 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.



More information about the Comp.unix.ultrix mailing list