From owner-freebsd-current Wed Jul 24 13:43:17 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA14412 for current-outgoing; Wed, 24 Jul 1996 13:43:17 -0700 (PDT) Received: from fgate.flevel.co.uk (root@fgate.flevel.co.uk [194.6.101.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA14406 for ; Wed, 24 Jul 1996 13:43:10 -0700 (PDT) Received: from localhost (dev@localhost) by fgate.flevel.co.uk (8.7.5/8.6.9) with SMTP id NAA24940; Wed, 24 Jul 1996 13:35:10 +0100 (BST) Date: Wed, 24 Jul 1996 13:35:09 +0100 (BST) From: Developer To: Joerg Wunsch cc: FreeBSD-current users Subject: Re: Termcap problems In-Reply-To: <199607231748.TAA10778@uriah.heep.sax.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 23 Jul 1996, J Wunsch wrote: > As Developer wrote: > > > > What makes you think they thought of a different size? > > > > > > Programs like ls usually get the window geometry out of the struct > > > winsize. > > > > Usually what happens when the problem occurs is ls prints more characters > > per line than it should - e.g. all the lines wrap a little onto the next > > line!! > > What says ``stty -a'' about the window size? > > For me, everything works well. I've just maximized an xterm, and > ls /usr/local/bin (where there are quite many files), and it looks > reasonable. Okay, for any window larger the 80 chars width it does it, but only in certain directories like / on one machine.. here is the output .CARD bin/ fd0/ lib@ proc/ sys@ .LOCK compat@ fnews/ lkm/ root/ tmp/ .cshrc dcf/ ftmp/ lost+found/ sbin/ usr/ .newuser dev/ httpd@ man@ schoolwww@ var/ .profile etc/ kernel* mnt/ stand@ www@ amitcp/ fastboot kernel.old* news@ store/ #stty -a speed 9600 baud; 24 rows; 110 columns; lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl -echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo -extproc iflags: istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel ignbrk brkint -inpck -ignpar -parmrk oflags: opost onlcr -oxtabs cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow -dtrflow -mdmbuf cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = ; eol2 = ; erase = ^?; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ; stop = ^S; susp = ^Z; time = 0; werase = ^W; Any ideas? Thanks in advance. Trefor S.