Path: csiph.com!aioe.org!news.glorb.com!usenet.stanford.edu!not-for-mail From: Linda Walsh Newsgroups: gnu.bash.bug Subject: Re: auto-complete going on a diagonal -- "set print-completions-horizontally on => "equals diagonally" Date: Tue, 14 Jul 2015 18:06:36 -0700 Lines: 128 Approved: bug-bash@gnu.org Message-ID: References: <55A4B94D.80905@tlinx.org> <55A568F7.90506@case.edu> <55A5A01E.4070002@tlinx.org> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: usenet.stanford.edu 1436922417 7751 208.118.235.17 (15 Jul 2015 01:06:57 GMT) X-Complaints-To: action@cs.stanford.edu Cc: bug-bash To: chet.ramey@case.edu Envelope-to: bug-bash@gnu.org User-Agent: Thunderbird In-Reply-To: <55A5A01E.4070002@tlinx.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 173.164.175.65 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:11211 Linda Walsh wrote: > > > Chet Ramey wrote: > Am still on 4.2, but in the bashdir, I get: >> reset ... ^L > Erase is control-H (^H). > Kill is control-X (^X). > Ishtar:law> hhhhhhsfshsdfhl^C > Ishtar:law> bind > Ishtar:law> cd ../tools/bash/bash-4.3 > Ishtar:tools/bash/bash-4.3> ls b > bash* bashintl.h bashversion* buildversion.o > bashansi.h bashjmp.h bracecomp.c builtins/ > bashbug* bashline.c bracecomp.o builtins.h > bashhist.c bashline.h braces.c bashhist.h > bashline.o braces.o bashhist.o bashtypes.h > buildsignames.o --- weird -- the last line above was extra long In tbird they are lined up... 2 columns,,but the 3rd line from the top is 96-97 chars wide -- i.e. on an 80-wide terminal, it would all be 1 column. Before... when I turned it off, I had one screen where it printed in 1 column for completion, so I don't know what causes it to switch into the mode where it thinks my term is 90+ columns wide... > > 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.17.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-theme-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-81195-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> bind 'set print-completions-horizontally' off > 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.17.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-theme-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-81195-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 > > This is my home-dir ".inputrc", BTW, > grep -Pv "^#|^\s*$" ~/.inputrc set history-size=-1 set completion-ignore-case on set convert-meta off # don't strip high bit set expand-tilde on set input-meta on set mark-directories on set output-meta on set menu-complete-display-prefix on set print-completions-horizontally off set show-all-if-unmodified on set visible-stats on "\C-p": paste-from-clipboard $if mode=vi set editing-mode vi set keymap vi $endif $if pcalc set editing-mode vi set keymap vi $endif $if bash set completion-map-case on set completion-prefix-display-length=256 set keymap vi-insert set expand-tilda on set history-preserve-point on set mark-symlinked-directories on set page-completions on set quoted-insert C-v set show-all-if-ambiguous on set tab-insert on "\C-ep": "PATH=${PATH}\e\C-e\C-a\ef\C-f" "\C-e\"": "\"\"\C-b" "\C-e\\": "\\" "\C-eq": "\eb\"\ef\"" "\C-er": redraw-current-line "\M-\C-v": "\C-a\C-k$\C-y\M-\C-e\C-a\C-y=" $endif "\M-t": transpose-chars "\M-TAB": completion "\M-u": upcse-word "\M-l": downcase-word "\M-c": capitalize-word "\M-w": unix-filename-rubout "\M-?": possible-completions "\M-*": insert-completions "\M-m": menu-complete "\M-x(":start-kbd-macro "\M-x)":end-kbd-macro "\M-xe":call-last-kbd-macro "\M-r":revert-line "\M-&":tilde-expand TAB:tab-insert "\M-`":complete "`":complete "\C-a":dump-functions "\C-b":dump-variables "\C-t":dump-macros