bug-bash
[Top][All Lists]
Advanced

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

[Bug-bash] Control-r doesn't redraw current line


From: Jerry Peek
Subject: [Bug-bash] Control-r doesn't redraw current line
Date: Mon, 18 Sep 2000 13:24:29 -0700

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: Linux
Compiler: gcc
Compilation CFLAGS:   -DHAVE_VFPRINTF -DHAVE_UNISTD_H -DHAVE_STDLIB_H 
-DHAVE_LIMITS_H        -DHAVE_GETGROUPS -DHAVE_RESOURCE -DHAVE_SYS_PARAM 
-DVOID_SIGHANDLER -DHAVE_GETDTABLESIZE -DHAVE_BCOPY -DHAVE_GETPW_DECLS 
-DHAVE_GETHOSTNAME -DHAVE_WAIT_H         -DHAVE_DUP2 -DHAVE_STRERROR  
-DHAVE_DIRENT_H -DHAVE_STRING_H        -DHAVE_VARARGS_H -DHAVE_STRCHR  
-DHAVE_DEV_FD        -Di386 -DLinux -DSHELL -DHAVE_ALLOCA -DHAVE_ALLOCA_H       
-O2 -m486 -fno-strength-reduce
uname output: Linux jpeek.com 2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST 2000 i686 
unknown

Bash Version: 1.14
Patch Level: 7

Description:
        Traditionally, Unix uses control-r to redraw a command line.
        For instance, if someone writes to your terminal with write(1),
        or a background job interrupts what you're typing, you just
        press control-r to get a fresh copy of the command line.

        In both bash and bash2, typing control-r starts a
        "reverse-i-search", even in vi mode (which I use for command
        line editing).

        I used to be able to fix it by adding this to my .inputrc:
                "\C-r": redraw-current-line
        but now that doesn't work.  I've also tried
                set keymaap vi
        and
                "\C-s": reverse-search-history
        but nothing seems to help.

Repeat-By:
        Set vi editing mode (set -o vi).
        Type a partial command line.  
        Press Control-R.
        You'll see a prompt
                (reverse-i-search)`':
        but the command line won't redraw.



reply via email to

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