[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bash-bug
Subject:    Re: auto-complete going on a diagonal -- "set print-completions-horizontally on => "equals diagonall
From:       Linda Walsh <bash () tlinx ! org>
Date:       2015-07-19 8:42:14
Message-ID: 55AB62E6.6090008 () tlinx ! org
[Download RAW message or body]



Chet Ramey wrote:
> On 7/14/15 7:49 PM, Linda Walsh wrote:
> 
>> ---
>> Yeah, figures it would work right in the BASH dir... BUT...
>>
>> Ishtar:tools/bash/bash-4.3> cd /suse132
>> --- both of the below print diagonally because they have no line endings.
> 
> I can't reproduce any of this on SUSE 13.  What does `stty size' say your
> screen size is?
---
	13.1 and 13.2 are rather different.  
size:
40 80
-a:
> stty -a
speed 38400 baud; rows 40; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^H; kill = ^X; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Y; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke

TERM=linux
-----
I could see a program relying on wrap and not putting out CRLF, but that
doesn't seem to be the case.

Also from my experience, so far, I've only seen the stairstepping
alignment happen when completion is limited to 1 column (one or more items
are >=40).

Don't stress too much about it -- I'll probably uncover the problem
eventually -- was just wondering if anyone knew of a case where such
oddness happened.  Sounds like I have another mystery behavior.  ;-)

-l



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic