[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: auto-complete going on a diagonal -- "set print-completions-horizont

From: Linda Walsh
Subject: Re: auto-complete going on a diagonal -- "set print-completions-horizontally on => "equals diagonally"
Date: Sun, 19 Jul 2015 01:42:14 -0700
User-agent: Thunderbird

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
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

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.  ;-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]