home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / editors / 2714 < prev    next >
Encoding:
Text File  |  1992-11-10  |  1.5 KB  |  49 lines

  1. Newsgroups: comp.editors
  2. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!usc!rpi!scott.skidmore.edu!psinntp!psinntp!telesci!ciacovel
  3. From: ciacovel@telesciences.com (Chris D Iacovelli)
  4. Subject: Re: How to quote % in vi/ex ': ' escape
  5. Message-ID: <1992Nov10.190930.7447@telesciences.com>
  6. Organization: TeleSciences CO Systems, Inc.
  7. References: <heinz.689356033@marvin.tuwien.ac.at>
  8. Date: Tue, 10 Nov 1992 19:09:30 GMT
  9. Lines: 38
  10.  
  11. In article <heinz.689356033@marvin.tuwien.ac.at> heinz@marvin.tuwien.ac.at (Heinz Herbeck) writes:
  12. >Sorry if this is in the FAQ or has been discussed here already. I can vaguely
  13. >remember having read about this problem before, but I can't find any 
  14. >articles about it in my archives (and I can't find the FAQ either).
  15. >
  16. >How can I insert a % into a ':' command in vi, without it being replaced by
  17. >the current filename ?
  18. >For example, I have a file test.c% in my directory, and want to read it into
  19. >the buffer with
  20. >
  21. >:r test.c%
  22. >
  23. >or edit it with
  24. >
  25. >:e test.c%
  26. >
  27. >^V% and ^V^V% don't work.
  28. >
  29. >And, in the same way, how to quote # ?
  30. >
  31. >Any help or hint will be appreciated.
  32. >
  33. >MfG
  34. >HH
  35. >-- 
  36. >- Heinz M. HERBECK       heinz@marvin.tuwien.ac.at       Tel. +43 1 58801-4107 -
  37. >- Technical University of Vienna, Austria  //  Institute for Computer Graphics -
  38. >- Hardware, n. : The part of a computer system that can be kicked.             -
  39.  
  40. Try using the back slash, \.
  41. This usally works for me.
  42.  
  43. Hope this helps.
  44.  
  45. C. Iacovelli
  46. Member, Technical Staff
  47. Telesciences CO Systems
  48. ciacovel@telesciences.com
  49.