Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jul 1996 13:35:09 +0100 (BST)
From:      Developer <dev@fgate.flevel.co.uk>
To:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc:        FreeBSD-current users <freebsd-current@FreeBSD.org>
Subject:   Re: Termcap problems
Message-ID:  <Pine.BSI.3.93.960724133334.24778D-100000@fgate.flevel.co.uk>
In-Reply-To: <199607231748.TAA10778@uriah.heep.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help



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 = <undef>;
        eol2 = <undef>; erase = ^?; intr = ^C; kill = ^U; lnext = ^V;
        min = 1; quit = ^\; reprint = ^R; start = ^Q; status = <undef>;
        stop = ^S; susp = ^Z; time = 0; werase = ^W;

Any ideas?

Thanks in advance.

Trefor S.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.93.960724133334.24778D-100000>