Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: VI VI VI - the number of the beast

by yakko (Friar)
on May 06, 2001 at 09:20 UTC ( #78330=note: print w/ replies, xml ) Need Help??


in reply to VI VI VI - the number of the beast

As for the mechanics of -why- this happened... the ~ command toggles capitalisation. Now, when you hit PgDn within a vi that doesn't handle it (such as on any Sun), you'll send something like ^[[4~, where the ^[ is the escape character. This turns off insert mode, puts you into command mode, beeps on the [4, and sends the tilde key, toggling caps for the letter under the cursor.

vim of course handles these keys properly in insert mode!

(Update: corrected [4 sequence)

--
Me spell chucker work grate. Knead grandma chicken.


Comment on Re: VI VI VI - the number of the beast
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://78330]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2014-08-20 23:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (125 votes), past polls