24th line / 80th column problem with curses

Philip E. Nickerson, Jr. pen at formtek.UUCP
Sat Jan 6 02:33:26 AEST 1990


I am having difficulty in using curses and would appreciate some help,
if anybody can help.

Please E-MAIL me if you have the answer as I rarely get time to read
news.  If you too would like to receive any replies I get, please let
me know.  If it is interestingly difficult, rather than my own
stupidity, I'll post the answer later.

Here is the problem:

I have a 24x80 screen and would like to put a character in the last
column on the last line without the terminal scrolling.  The terminal
I have has auto-margins, which seems to force the scroll on refresh,
no matter what I do.  I have created curses windows with no scrolling,
which return an error and do not place anything in the that position,
and I have tried to fool the termcap file into thinking that my
terminal does not have auto-margins, which causes curses to add an
extra scroll line at the end.  All I simply want is a stationary
non-scrolling screen in which I can address all 24x80 chaaracter
positions.

Thank you all in advance for your help.
-- 
Philip E. Nickerson,Jr.	  |UUCP   {pitt,psuvax1}!idis!formtek!pen
(412)937-4900|(800)FORMTEK|	  decvax!formtek!pen
"Programming is simply	  |Snail  Formative Technologies, Inc., Foster Plaza VII
 debugging a blank page!" |	  661 Andersen Dr., Pittsburgh PA  15220



More information about the Comp.unix.questions mailing list