[vox-tech] readline questions (in bash)
Jay Strauss
vox-tech@lists.lugod.org
Fri, 13 Jun 2003 11:35:27 -0500
Yeah I like the 'set -o vi',
the only problem is up|down arrow (command recall) don't work until I hit
left or right arrow. If I don't hit left|right I just get a flash (visual
bell) when I hit up|down
Jay:
----- Original Message -----
From: "Adrian Kalaveshi" <akalaveshi@mahinetworks.com>
To: <vox-tech@lists.lugod.org>
Sent: Friday, June 13, 2003 10:42 AM
Subject: RE: [vox-tech] readline questions (in bash)
> >Is there another way to search thru and execute a command in the history
>
> In vi mode, you can search through the history using vi commands
> (/<regexp>). You can then also use vi commands to move you to the
beginning
> of the line (^) or to the end ($).
>
> Enter vi mode in bash with 'set -o vi'.
>
> HTH,
> -adrian-
>
> -----Original Message-----
> From: Jay Strauss [mailto:me@heyjay.com]
> Sent: Friday, June 13, 2003 6:28 AM
> To: vox-tech
> Subject: [vox-tech] readline questions (in bash)
>
>
> 1. I know ctr-a, ctr-e move me from front to back, how do I make my home
and
> end keys do that?
>
> 2. Isn't cut and paste (kill/yank) supposed to keep a list of commands,
that
> I can scroll through? When I use it, it only saves the last command I
> killed
>
> 3. If I up/down arrow I scroll thru my commands. But when I try to use
C-r
> or C-s I don't see all the commands in my history. Is there another way
to
> search thru and execute a command in the history (ideally it would
> autocomplete and scroll (like vim does when you want to read in a file))
>
> Thanks
> Jay
>
>
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>
>