Path: csiph.com!aioe.org!news.glorb.com!usenet.stanford.edu!not-for-mail From: Chet Ramey Newsgroups: gnu.bash.bug Subject: Re: auto-complete going on a diagonal -- "set print-completions-horizontally on => "equals diagonally" Date: Tue, 14 Jul 2015 15:54:31 -0400 Lines: 60 Approved: bug-bash@gnu.org Message-ID: References: <55A4B94D.80905@tlinx.org> Reply-To: chet.ramey@case.edu NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: usenet.stanford.edu 1436903692 29468 208.118.235.17 (14 Jul 2015 19:54:52 GMT) X-Complaints-To: action@cs.stanford.edu Cc: chet.ramey@case.edu To: Linda Walsh , bug-bash Envelope-to: bug-bash@gnu.org User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <55A4B94D.80905@tlinx.org> X-Junkmail-Status: score=10/50, host=mpv5.cwru.edu X-Junkmail-Whitelist: YES (by domain whitelist at mpv2.tis.cwru.edu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 129.22.105.37 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: aioe.org gnu.bash.bug:11209 On 7/14/15 3:25 AM, Linda Walsh wrote: > When I go for auto complete now, the filenames no longer line up: > > Ishtar:/suse132> ls e17- > e17-0.17.6-2.1.10.x86_64.rpm > e17-branding-openSUSE-0.1-10.1. > 2.x86_64.rpm e17-branding-upstream-0.17.6-2.1.10.x86_64.rpm > e17-devel-0.1 > 7.6-2.1.10.x86_64.rpm e17-doc-html-0.17.6-2.1.10.x86_64.rpm > e17-profiles-openSUSE-20131019-2.1.4.noarch.rpm > e17-theme-a-os-agust-v3-1- > 2.1.9.noarch.rpm e17-theme-a-os-detour-1-2.1.9.noarch.rpm > e17-them > e-a-os-green-1-2.1.9.noarch.rpm > e17-theme-a-os-miguel-v3-1-2.1.9.noarch > .rpm e17-theme-a-os-vision-v3-1-2.1.9.noarch.rpm > e17-theme-darkness-81 > 195-2.1.9.noarch.rpm > e17-theme-default-0.17.6-2.1.10.x86_64.rpm e17 > -theme-edjy-1-2.1.9.noarch.rpm > e17-theme-openSUSE-20131101.1-2.1. > 9.noarch.rpm > Ishtar:/suse132> ls e17- Your terminal is messed up. Try `reset'. > -- Closest thing was changing the > set print-completions-horizontally to 'on' in .input.rc ---- > > Uhoh, that does affect it, but then the sort order is messed up. The sort order is supposed to change; that's the whole reason for that option. > So how can I get horizontal sorting order without it being all one line? Reset your terminal. When I try this, I get: $ ls b bash bashhist.o bashversion.dSYM/ buildsignames.o bashbug bashline.o bracecomp.o buildversion.o bashenv bashversion braces.o builtins/ $ bind 'set print-completions-horizontally on' $ ls b bash bashbug bashenv bashhist.o bashline.o bashversion bashversion.dSYM/ bracecomp.o braces.o buildsignames.o buildversion.o builtins/ $ ls b bash bashbug bashenv bashhist.o bashline.o bashversion bashversion.dSYM/ bracecomp.o braces.o buildsignames.o buildversion.o builtins/ on bash-4.4-alpha, hitting TAB after the `b' on each line. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/