Date: Mon, 8 Nov 1999 00:44:16 -0800 (PST) From: jml@cubical.fi To: freebsd-gnats-submit@freebsd.org Subject: ports/14784: uemacs-4.0 does not respect LINES and COLUMNS env Message-ID: <19991108084416.0BF8314D51@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 14784 >Category: ports >Synopsis: uemacs-4.0 does not respect LINES and COLUMNS env >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 8 00:50:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Juha Liukkonen >Release: 3.3-RELEASE >Organization: Cubical Solutions Ltd >Environment: FreeBSD snafu.intra.net 3.3-RELEASE FreeBSD 3.3-RELEASE #12: Fri Nov 5 00:50:24 EET 1999 jml@snafu.intra.net:/usr/src/sys/compile/SNAFU i386 >Description: Microemacs always reads the li and co capabilities from termcap and does not respect the LINES and COLUMNS environment settings, which are almost always more correct than the termcap entries for dummy terminals (vt100 and clones). >How-To-Repeat: xterm to a bsd box using >24 line window, echo $LINES, observe line count being >24, setenv TERM vt100. Start uemacs, observe only 24 lines being used. >Fix: After/instead reading li and co from termcap, check LINES and COLUMNS from the environment and if set, sscanf values to term.t_nrow and term.t_ncol (src/unix.c, around line 819; note that t_nrow=LINES-1). >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991108084416.0BF8314D51>