[Top][All Lists]

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

auto-complete going on a diagonal -- "set print-completions-horizontally

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

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.
Ishtar:/suse132> ls e17-
A bit more investigating, and it looks like it streaming out the filenames
with NO LF's (it's all one big long string if I copy it from a window that
supports wrapped lines as contiguous -- vs. windows cmd, above.

Either way, it's not putting out any line endings.

From the number of spaces, it looks like it is thinking my
terminal is 98 or 49 spaces wide (i.e. resizing the window
makes the names line up at those values).  But it doesn't
like my old fashion 80-wide term.

I'm thinking maybe some library is messed up, since I don't recall changing
anything in my bash setup recently.

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


ls <complete>
a f k p u z b g l q v ....
instead of
a b c d e f

So how can I get horizontal sorting order without it being all one line?

reply via email to

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