From owner-freebsd-current Thu Aug 1 21:18:15 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA17696 for current-outgoing; Thu, 1 Aug 1996 21:18:15 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA17691 for ; Thu, 1 Aug 1996 21:18:10 -0700 (PDT) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id NAA28503; Fri, 2 Aug 1996 13:57:30 +0930 From: Michael Smith Message-Id: <199608020427.NAA28503@genesis.atrad.adelaide.edu.au> Subject: Re: Termcap problems To: joerg_wunsch@uriah.heep.sax.de Date: Fri, 2 Aug 1996 13:57:30 +0930 (CST) Cc: freebsd-current@FreeBSD.org, dev@fgate.flevel.co.uk In-Reply-To: <199607222015.WAA05286@uriah.heep.sax.de> from "J Wunsch" at Jul 22, 96 10:15:08 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk J Wunsch stands accused of saying: > > > 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. The problem appears to be tab-related, and probably xterm's fault at that. Once I found that 'stty -tabs' made the problem disappear, I stopped being interested in the cause. I suspect it would be a good one for someone who wants to learn about the tty subsystem to pursue 8) > cheers, J"org -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[