[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xterm starts with LINES=24 s/b 25



On Tue, Dec 24, 2002 at 09:35:22AM +0000, Miquel van Smoorenburg wrote:
| In article <[🔎] 1040715997.31918.22.camel@localhost>,
| Mark L. Kahnt <kahnt@hosehead.dyndns.org> wrote:
| >XTerms stick to the standard computer
| >terminal geometry - to hard-change that, you'd need to burrow into the
| >source (I presume a header file with such constants) - otherwise if you
| >feel that you must use the non-standard 25th line, that is what
| >.Xdefaults is for, as well as /etc/X11/Xresources/ - while most ncurses
| >applications I've seen now work with whatever screen size they get, you
| >may find some that will stick you with a bad line or confused scrolling
| >because they expect strictly 80x24 (although that is thankfully getting
| >quite rare, what with users of SVGATextMode and of framebuffer.)
| 
| If you enter a university computer room you'll see that lots of
| people run their xterms at 80x55 or so - and have been doing that
| since the eighties. Without any problems.

If you use "telnet" on MS Windows (at least on 98 and NT4) it does two
things by default :
    25 lines of display
    TERM=vt100

Now /that/ is utterly broken.  A vt100 doesn't have 25 lines, ever.
(it also caused me to fatally wreck my .login file a few years ago)
With xterm, however, TERM=xterm will allow curses applications to work
fine with any screen size.  The key is using the correct terminfo
entry for your terminal.

-D

-- 
If your company is not involved in something called "ISO 9000" you
probably have no idea what it is.  If your company _is_ involved in ISO
9000 then you definitely have no idea what it is.
                                (Scott Adams - The Dilbert principle)
 
http://dman.ddts.net/~dman/

Attachment: pgpYTCzbxvimi.pgp
Description: PGP signature


Reply to: