Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Aug 1996 13:57:30 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        joerg_wunsch@uriah.heep.sax.de
Cc:        freebsd-current@FreeBSD.org, dev@fgate.flevel.co.uk
Subject:   Re: Termcap problems
Message-ID:  <199608020427.NAA28503@genesis.atrad.adelaide.edu.au>
In-Reply-To: <199607222015.WAA05286@uriah.heep.sax.de> from "J Wunsch" at Jul 22, 96 10:15:08 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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  [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608020427.NAA28503>