Re: /bin/sh vi mode command line editing and the period

2007-08-29 Thread [EMAIL PROTECTED]@mgedv.net
I wasn't able to reproduce what you explained...maybe I missed something? i just do the following: clear /bin/sh EDITOR=vi export EDITOR set -o $EDITOR echo 1 echo 2 echo 3 echo 4 ESC-. and this is the output: test# /bin/sh test# EDITOR=vi export EDITOR set -o $EDITOR echo 1 echo 2 echo 3

Re: /bin/sh vi mode command line editing and the period

2007-08-29 Thread Bahman M.
i just do the following: clear /bin/sh EDITOR=vi export EDITOR set -o $EDITOR echo 1 echo 2 echo 3 echo 4 ESC-. I tested the command sequence you gave and the result was as you explained. What caught my attention, however, was that all the commands were builtin. I tested with

Re: /bin/sh vi mode command line editing and the period

2007-08-29 Thread [EMAIL PROTECTED]@mgedv.net
i just do the following: clear /bin/sh EDITOR=vi export EDITOR set -o $EDITOR echo 1 echo 2 echo 3 echo 4 ESC-. I tested the command sequence you gave and the result was as you explained. What caught my attention, however, was that all the commands were builtin. I tested with non-builtin

Re: /bin/sh vi mode command line editing and the period

2007-08-28 Thread [EMAIL PROTECTED]@mgedv.net
As far as I know, ESC-. (in fact hitting '.' when in command mode) repeats your very last action whether it was an editing action or executing a command. yes, that's true for vi, but not for /bin/sh in vi-mode. at least on my 6.2-RELEASE. ;) ___

Re: /bin/sh vi mode command line editing and the period

2007-08-28 Thread Bahman M.
I wasn't able to reproduce what you explained...maybe I missed something? Bahman On 8/28/07, [EMAIL PROTECTED]@mgedv.net [EMAIL PROTECTED] wrote: As far as I know, ESC-. (in fact hitting '.' when in command mode) repeats your very last action whether it was an editing action or executing

Re: /bin/sh vi mode command line editing and the period

2007-08-27 Thread Bahman M.
As far as I know, ESC-. (in fact hitting '.' when in command mode) repeats your very last action whether it was an editing action or executing a command. Bahman On 8/27/07, [EMAIL PROTECTED]@mgedv.net [EMAIL PROTECTED] wrote: hi folks, when someone uses set -o vi to put /bin/sh into vi-mode