Home » Questions » Computers [ Ask a new question ]

In bash on RHAS4, why would pressing delete toggle case instead of deleting?

In bash on RHAS4, why would pressing delete toggle case instead of deleting?

I have an old RedHat box that I have to get some work done on:

Asked by: Guest | Views: 164
Total answers/comments: 1
Guest [Entry]

"It makes perfect sense now...

There was a stray line in the .profile my company uses, since a lot of people are still using ksh:

set -o vi

Well, guess what happens in vi if you type ~? That's right, it swaps the case! And guess what happens if you type 3~? It swaps the case of 3 characters! (Though I'm still not sure now to explain the inconsistent behavior where sometimes it swaps one and sometimes it swaps 3...)

In any case, removing the set -o vi from my .profile solved the problem."