Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"cw" command broken on HP-UX vi

Status
Not open for further replies.
Jun 22, 2000
6,317
AU
Okay, so this is probably more of a rant than a question, but maybe someone has a workaround! ;-)

<rant>Let's say I have some text separated by multiple spaces, "blah yak", and I want to replace the spaces with a tab. I would normally go to the space immediately after "h", hit cw<tab>, and it's done. But on HP-UX vi it only replaces one character. I wouldn't mind so much if it was consistent, but if you hit "w" on its own, it advances (or deletes in the case of "dw") to the beginning of the next word as it is supposed to, so the "c" command should operate on the same principle! %-(</rant>

Calm blue water.... [neutral] I guess I'll live with "dwi<tab>" for now.

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top