From owner-freebsd-current Tue Jul 23 02:04:33 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA29819 for current-outgoing; Tue, 23 Jul 1996 02:04:33 -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 CAA29814 for ; Tue, 23 Jul 1996 02:04:28 -0700 (PDT) Received: from localhost (dev@localhost) by fgate.flevel.co.uk (8.7.5/8.6.9) with SMTP id KAA07511; Tue, 23 Jul 1996 10:03:26 +0100 (BST) Date: Tue, 23 Jul 1996 10:03:25 +0100 (BST) From: Developer To: Joerg Wunsch cc: FreeBSD-current users Subject: Re: Termcap problems In-Reply-To: <199607222015.WAA05286@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 Mon, 22 Jul 1996, J Wunsch wrote: > As Developer wrote: > > > I`m having a little problem with the termcap. If the xwindow width is > > particular sizes (Not sure which ones, but always larger than 80 char) > > then commands (like ls) think the window width is different (wider) than > > it actually is, and so the formatting really messes up. > > 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!! Regards. Trefor S.