i realize this is a bit off-topic, but i figure this is the
best place to get the expertise.

  i was poking around in someone else's .exrc file of vi
settings -- specifically, perl guru tom christiansen's .exrc
which is available for the world to see at www.perl.com, where
he has all sorts of cool maps and macros.

  specifically, i was looking at his collection of map! settings,
which represent sequences of text or editing command available
while in input mode in vi.

  when i edited his .exrc file, here's how a small subset of
those map! settings are displayed:

  map! ^Z ^[:stop^M

  map! ^V^[OA ^V^[ka
  map! ^V^[OB ^V^[ja

and so on.

  i'm puzzled about the plethora of ^V characters i see displayed.
i realize that ^V is used when i'm *creating* such a file, so that
i can literally add characters such as a CR, the ESC key and so on.
when i tested creating my own small .exrc, i used ^V to add those
special characters, but when i edit my own .exrc, i don't see all
of the ^V characters, and i don't expect to, since they were used
only to facilitate the insertion of *other* characters.

  so my question is, is there a reason tom might have all of these
^V's embedded in his .exrc file -- some subtle variation of which
i am unaware.  my .exrc seems to work fine the way i've built it.
anyone have any hints?

rday



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to