On Jan 20, 12:10 am, "Michael(Xi Zhang)" <[email protected]> wrote: > Hi All, > > I'm using gVim in Windows XP. I want use Vim as a HEX viewer. > > I open file with gvim's -b option . But when I check the file, some thing > are not correct. > > For example, I have generate a 960KB file. I use some other HEX editor to > view it, the file is exactly from 0x0 to 0xEFFFF. > > But with gVim, the offset is more than 0xF0000. I have compared the display, > it seems sometimes gVim change the 0x9000 to 0x202020. >
Vim uses the external xxd utility to do it's hex view. The external utility can convert a file from the command line. Does the file show correctly if you run XXD on it directly instead of from within Vim? -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
