Re: !history with no result

2010-05-18 Thread robert song
> Try this... > !bash -ic 'set -o history; history' Brett, thank you very much. It works. Best Regards, robert -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist

Re: !history with no result

2010-05-18 Thread robert song
Hi, Gary, > This behavior depends on the shell you're using and how it's > configured.  For example, on one Linux system running some version > of ksh, I get the results you describe.  On another Linux system > running a different version of ksh, executing ":!history" lists the > last 16 commands.

Re: !history with no result

2010-05-18 Thread Gary Johnson
On 2010-05-19, robert song wrote: > > Yes, :! will start a new shell to run the command in. Since it's new, it > > has no history. Try: > > > > :!echo "I haz history";history > > Shawn, > thank you for your reply, > so is there any way to read the history result to current window ? > just like t

Re: !history with no result

2010-05-18 Thread Brett Stahlman
On May 18, 11:32 am, robert song wrote: > > Yes, :! will start a new shell to run the command in.  Since it's new, it > > has no history.  Try: > > > :!echo "I haz history";history > > Shawn, > thank you for your reply, > so is there any way to read the history result to current window ? > just

Re: !history with no result

2010-05-18 Thread robert song
> Yes, :! will start a new shell to run the command in. Since it's new, it > has no history. Try: > > :!echo "I haz history";history Shawn, thank you for your reply, so is there any way to read the history result to current window ? just like the other command :r!date. If this can be done, it's

Re: !history with no result

2010-05-18 Thread Shawn H Corey
On 10-05-18 11:58 AM, robert song wrote: Hi, everyone. I executed :!history in vim to execute the external history command, but find that no result is outputted. Does anybody know the reason ? Best Regards, robert Yes, :! will start a new shell to run the command in. Since it's new, it

!history with no result

2010-05-18 Thread robert song
Hi, everyone. I executed :!history in vim to execute the external history command, but find that no result is outputted. Does anybody know the reason ? Best Regards, robert -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replyi