Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11211

Re: auto-complete going on a diagonal -- "set print-completions-horizontally on => "equals diagonally"

From Linda Walsh <bash@tlinx.org>
Newsgroups gnu.bash.bug
Subject Re: auto-complete going on a diagonal -- "set print-completions-horizontally on => "equals diagonally"
Date 2015-07-14 18:06 -0700
Message-ID <mailman.6941.1436922416.904.bug-bash@gnu.org> (permalink)
References <55A4B94D.80905@tlinx.org> <55A568F7.90506@case.edu> <55A5A01E.4070002@tlinx.org>

Show all headers | View raw


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


Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: auto-complete going on a diagonal -- "set print-completions-horizontally on => "equals diagonally" Linda Walsh <bash@tlinx.org> - 2015-07-14 18:06 -0700

csiph-web