Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Secure Shell

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-24-2012, 01:48 PM
toloughlin's Avatar
toloughlin toloughlin is offline
Senior Member
 
Join Date: Feb 2004
Location: Nashua, NH
Posts: 378
Ctrl+V, Ctrl+M

I'm trying to get a button to put the following into VI, to remove the Windows Control Characters in a file (currently on SCRT 6.7.3 (x64))

Currently, I hit : to enter into the command portion within VI & then type:

%s/\(^M\)//

The ^M above is actually Ctrl+V Ctrl+M

Is there a way I can use a button on the button bar to put that in there?
I tried just doing a string with ^M ... but no luck.

Thanks!
__________________
----------------------------------------------
Tom O'Loughlin

Last edited by toloughlin; 01-24-2012 at 02:21 PM. Reason: clarification
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 05:30 PM.