[Top][All Lists]

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

Bash Version: 1.14
Patch Level: 7

        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
                "\C-s": reverse-search-history
        but nothing seems to help.

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

reply via email to

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