This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

vi command line editing question.



Hi folks
 
I am using Korn Shell type editing of the command line. 
Here is an example:
 
I run isql command to ms sql server:
 
set -o vi
isql -E -S. <select @@servername
>go
!
 
It runs fine. But when I try to repeat an execution of this command by going to history, finding that command and pressing 'v' for command vi edditing, I get only first line:
 
osql -E -S . 
 
As for commands which were sourced to db server (select @@servername), they are not displayed and I have to type them again.
If I had used any Korn Shell port for Windows (MKS Tools), I would see next:
osql -E -S . <<

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]