On Thu, 26 Jun 2003, Matt Forrest wrote:

> Date: Thu, 26 Jun 2003 12:07:11 -0400 (EDT)
> From: Matt Forrest <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: LPRng: Problem with 'file'
>
> Any hex editor would work but since you've mentioned vi, I feel
> obligated to tell you I looked at it using emacs.
>
> emacs is your friend - let the holy wars begin!!! :)
>
> hm.... I just loaded it up in vi and it also shows the nulls...
> I'm on a RH 7.3 box right now so it's actually vim.
>
> yeah... on solaris vi screws it up.  less works fine though.


Like any real vi does.  The vim that comes with RedHat and several
other linux distributions is not "real" vi and one of the "improvements"
is to display NUL characters as ^@ rather than removing them.  vim also
have the -b option for editing or displaying a binary file.  Also if you
have vim you also have xxd for hexadecimal display.

Villy


-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to