From owner-freebsd-questions Thu Aug 13 13:38:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA10834 for freebsd-questions-outgoing; Thu, 13 Aug 1998 13:38:00 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA10799 for ; Thu, 13 Aug 1998 13:37:51 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.5/8.8.8) with SMTP id NAA00993; Thu, 13 Aug 1998 13:37:15 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Thu, 13 Aug 1998 13:37:15 -0700 (PDT) From: Doug White To: "Russell L. Carter" cc: freebsd-questions@FreeBSD.ORG Subject: Re: ls -C output with bash botched In-Reply-To: <199808131922.MAA20233@Chuska.ConSys.COM> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 13 Aug 1998, Russell L. Carter wrote: > Ok, I give up. Time to be embarrassed. Amazing > newbie question, though I have been everywhere looking > for a reference: > > After resizing an xterm larger, ls outputs with the last column shifted way over, > and the cursor no longer works correctly (look at "stats"). The cursor seems > to jump past an area on the rhs of the screen: > > rcarter@Chuska:/www/sites [112] /bin/ls chino > about.html business.html events.html images info.html stats > banner.html chino.html history.html index.html resource.html > rcarter@Chuska:/www/sites [113] > > I resize the xterm again, this time smaller, and I get: > > rcarter@Chuska:/www/sites [113] /bin/ls chino > about.html chino.html images resource.html > banner.html events.html index.html stats > business.html history.html info.html > rcarter@Chuska:/www/sites [114] > > which is as expected. > > This is bash2, and yes there are terminal escape sequences > in the prompt but no they don't affect output of ls, i.e., > if I take them out I get the same result. > > What gives? You picked a bad width or the xterm didn't relay the SIGWINCH signal correctly. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message