HP3000-L Archives

December 2003, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Dave Oksner <[log in to unmask]>
Date:
Fri, 5 Dec 2003 13:19:17 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
You can use the CTRL "V" function when doing a search and replace, too.
However, I'd never heard of using the decial value.  I'd always just found
the control character I wanted (Like ctrl-g is a bell) and typing that.
So, to insert a bell, I'd type "ctrl-v" "ctrl-g".  If you know the control
character, you should be able to do it.

Dave

On Fri, Dec 05, 2003 at 02:43:08PM -0600, Eric Sand wrote:
> Hi folks,
>     I've spent a bit of time today researching(books and internet) how to
> substitute specific "printing" characters such as "A" and "B" with
> "non-printing characters"(less than decimal 32) in vi but with no luck so
> far. I've discovered there is a CTRL "V" function that can be invoked after
> going into "insert" mode and then putting in the decimal(base 10) value of
> the corresponding non-printing character, but does anyone know how
> non-printing characters can be designated in a vi global search and replace?
>
>        Thanks....Eric Sand
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

--
+--David Oksner-----http://www.case.net/--+
|  You can lead a man to slaughter,       |
|but you can't make him think.            |
[log in to unmask]

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2