![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to get rid of all the weird characters and color on bash shell | Micz | UNIX for Dummies Questions & Answers | 1 | 10-07-2005 12:58 PM |
| shell specific prompt | dranNfly | UNIX for Dummies Questions & Answers | 3 | 04-27-2005 05:50 AM |
| script to change shell and prompt | SHYAM | Shell Programming and Scripting | 1 | 06-27-2004 05:46 AM |
| prompt in sh shell | diegoe | UNIX for Dummies Questions & Answers | 1 | 12-30-2003 10:10 AM |
| No shell prompt? | Mufasa | UNIX for Dummies Questions & Answers | 2 | 02-14-2002 03:31 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Weird in Shell Prompt
Hi,
I saw something in weird in Shell prompt. I did the following steps 1) Typed ls -l and pressed ESC without entering 2) Typed "v" (please notice that I did not type "i" after "v"), which opened vi editor 3) I see the "ls -l" command that I typed in shell prompt 4) Without modifying anything or changing anything, I quit the vi editor 5) All I could see the list of files - without typing the command. Can anyone explain about this weird behaviour. |
| Forum Sponsor | ||
|
|
|
|||
|
It acts only if there is/are some character(s) at the shell prompt.
I tried without typing any command or anything at the shell prompt then tried to do the same (typing ESC and "v") but it did not act like before. If it dumps the cut-buffer into the shell then why didn't it do the samething when there are no characters at the shell prompt when I pressed ESC and "v" |
|
|||
|
I use Ksh and I have tried it in the following applications that connects to Unix.
1) Putty 2) Attachmate Reflection 3) HummingBird 4) MSDoS (cmd) using telnet Above application, I have seen the same behavior. Probably its not application. Its something with Shell |
|
||||
|
That is not strange behavior at all if you have "set -o vi" in your profile. Hitting escape at the command line puts you in line command vi mode, so you can edit your command before executing it; hitting vi brings up the full vi editor.
|