bug-bash
[Top][All Lists]
Advanced

[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: Tue, 14 Jul 2015 18:06:36 -0700
User-agent: Thunderbird

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





reply via email to

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