SUMMARY: vi how to insert a special character.

From: Francois ARCASEDDA <Francois_ARCASEDDA_at_paribas.com>
Date: Mon, 19 Aug 1996 10:21:45 +0100

     Thanks for the answers. Basically the answer is : DON'T use vi !
     
     Anthony D'Atri" aad_at_nwnet.net wrote
     Dump vi and use an emacs.
     
     Ken Teh <teh_at_sun0.phy.anl.gov> wrote
     I normally use the vim (Vi IMproved) editor. Except for one item
     which you do not normally use anyway, it is identical to the vi
     editor, but it has a lot more capabilities, one of which is the
     ability to edit binary files.
     
     ollivier.robert_at_eurocontrol.fr wrote
     You could use Emacs in hexl-mode. It enables you to edit any
     file in hexadecimal format and insert any ASCII code.
     
     Lucio Chiappetti <lucio_at_ifctr.mi.cnr.it> wrote
     The IBM mainframe editor XEDIT had a facility for that.
     There are one commercial and two public domain clones of XEDIT for
     Unix. One is "xc" (ftp from watserv1.uwaterloo.ca) and the other one
     is "the" (by Mark Hessling). I use an old version of xc for historical
     reasons, but I've been told "the" has better support (there is even a
     mailing list). You should be able to find details asking to newsgroup
     comp.editors, or looking in the Editor Compendium
     (http://www.cahe.wsu.edu/~bsyse/faculty/rnelson/editors.htm).
     
     If you get such editors, the idea is that you proceed as follow :
     
     - place a character you do not use for anything else in the
     location where you want your hex string (e.g. use "%")
     - issue command "set hex on" to enable hex editing
     - issue a "change/%/x'ed1f'/" command to change an instance of
     "%" with the given hex code
     
     BTW, XEDIT has many nice features and is in my view the best editor I
     know.
     
     Thanks
     Francois ARCA-SEDDA
     Banque PARIBAS.
Received on Mon Aug 19 1996 - 03:49:15 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT