Article View: comp.terminals
Article #1029Re: How do I tell curses/terminfo that LF forces a CR/LF??
From: Jan B.Andersen
Date: Thu, 24 Jan 1991 11:31
Date: Thu, 24 Jan 1991 11:31
12 lines
1160 bytes
1160 bytes
gwyn@smoke.brl.mil (Doug Gwyn) writes: >Yes, you need to use a terminfo/termcap description that doesn't specify >that "cursor down one line" can be achieved by transmitting a linefeed >character. I have disabled both "cud" and "cud1" in the terminfo description without any luck. It seems to me that no matter what I do, curses will always use the LF at the end of each text line to move the cursor down to the next line. Can anyone tell me exactly what happens when curses "redraws" the screen? Is it doing a "cursor home", "clear screen", "print #LINES lines", using the EOL-LF to move into the next line?
Technical Details
Message-ID:
<1991Jan24.113121.29126@gorm.ruc.dk>Path:
arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!dkuug!ruc.dk!jbaReferences:
<1991Jan23.131741.23026@gorm.ruc.dk> <14959@smoke.brl.mil>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!dkuug!ruc.dk!jba From: jba@gorm.ruc.dk (Jan B.Andersen) Newsgroups: comp.terminals Subject: Re: How do I tell curses/terminfo that LF forces a CR/LF?? Keywords: Curses, terminfo, Dasher DG Message-ID: <1991Jan24.113121.29126@gorm.ruc.dk> Date: 24 Jan 91 11:31:21 GMT References: <1991Jan23.131741.23026@gorm.ruc.dk> <14959@smoke.brl.mil> Organization: Roskilde University, Denmark Lines: 12