hexed - command line hexadecimal file editor

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
yopla
Posts: 4
Joined: Sat Feb 12, 2011 11:23 am

Re: hexed - command line hexadecimal file editor

Post by yopla »

Thanks, B.zaar for the reply.
Thanks, I'm glad it' seems useful.
Yep;)

Using mingw and Msys; In the past I tried to try these shells. I always ran in finding it alien :| . (though I always liked the idea of Mingw, especially when x can be added:)).
Trying to compile your app, I went back to the mingw env. and maybe its more approachable than I thought in the past. But. I am finding compiling difficult.
'Nothing to be done for makefile' (it says). Well , I think there Is something to be done ;), for makefile. But I'm not finding a way.
Ok, this is not the topic about compiling, but can s.o help?
Btw, my mingw is in c:\mingw.. Where should I preferably put the hexed trunk?
And the INSTALL_PATH..? Is the path command from windows cmd, or is it from mingw environment?
I feel :oops: .
Thanks:)
User avatar
b.zaar
Member
Member
Posts: 294
Joined: Wed May 21, 2008 4:33 am
Location: Mars MTC +6:00
Contact:

Re: hexed - command line hexadecimal file editor

Post by b.zaar »

yopla wrote:Using mingw and Msys; In the past I tried to try these shells. I always ran in finding it alien . (though I always liked the idea of Mingw, especially when x can be added:)).
Trying to compile your app, I went back to the mingw env. and maybe its more approachable than I thought in the past. But. I am finding compiling difficult.
'Nothing to be done for makefile' (it says). Well , I think there Is something to be done , for makefile. But I'm not finding a way.
Ok, this is not the topic about compiling, but can s.o help?
Btw, my mingw is in c:\mingw.. Where should I preferably put the hexed trunk?
And the INSTALL_PATH..? Is the path command from windows cmd, or is it from mingw environment?
To start with download the latest source code from sourceforge (rev: 6). These have been updated to automatically use Msys settings and to set INSTALL_DIR to install to c:\apps\hexed (c:\Program Files is protected on newer version on Windows). The PATH variable is part of Windows, do a search on google to learn how to set this.

Put the source (trunk) into something like c:\src\hexed then run make from this directory. The hexed makefile will create the necesary directories and build the objects to c:\src\hexed\obj and the binary to c:\src\hexed\bin.

Run this command from c:\src\hexed (if trunk exists run it from c:\src\hexed\trunk)

Code: Select all

make install
This is the complete build.

If you get an error like this:

Code: Select all

make: uname: Command not found
Makefile:39: *** Binutils is required to compile this app.  Stop.
You will need to set the Msys\bin directory in your Windows PATH environment.

Let me know how this works out.
Thanks,
B.ZaaR
"God! Not Unix" - Richard Stallman

Website: venom Dev
OS project: venom OS
Hexadecimal Editor: hexed
yopla
Posts: 4
Joined: Sat Feb 12, 2011 11:23 am

Re: hexed - command line hexadecimal file editor

Post by yopla »

Thanks,
Ghar,
I'm really just having trouble navigating to the c:\src\hexed, from mingw :? .
How do..? #-o
Otherwise, things look okay, here, :wink: .

Edit, yeah, yeah found =D> :roll: :lol:
Edit2:

Ok, got message: nothikng to be done, as before. (I)Try again.

Edit:
My bad, I was USING WRONG COMMAND.
Tried (As you said!) Make install.
yopla
Posts: 4
Joined: Sat Feb 12, 2011 11:23 am

Re: hexed - command line hexadecimal file editor

Post by yopla »

:D :D :D :D :D :D :D :D :D :D :D :D :D :D :D

WOOOO- ooo- Hoo hooo!

A little app's just appeared!!!

(++ emotions )

While I was "struggling" with Mingw, I was thinking, Thank this guy afterwards, for putting me back to exploring Mingw.
Yeah, I do thank you!

'Hat's very very cool:)
User avatar
b.zaar
Member
Member
Posts: 294
Joined: Wed May 21, 2008 4:33 am
Location: Mars MTC +6:00
Contact:

Re: hexed - command line hexadecimal file editor

Post by b.zaar »

Hi, for those that are interested or are currently using hexed I've just updated another revision of hexed to include the move and word commands.

The move overwrite command was a bit of a curse to make so that it appeared logical what was happening with the file. If someone wants to take some time and test this I would appreciate any feedback on whether it works in a way that makes sense to them.

Thanks,
B.ZaaR
"God! Not Unix" - Richard Stallman

Website: venom Dev
OS project: venom OS
Hexadecimal Editor: hexed
User avatar
b.zaar
Member
Member
Posts: 294
Joined: Wed May 21, 2008 4:33 am
Location: Mars MTC +6:00
Contact:

Re: hexed - command line hexadecimal file editor

Post by b.zaar »

Hi, for those interested in using hexed there was a bug in the Windows version with the 'r+b' file mode for fopen being ignored by MinGW. This has been fixed and the new version 0.2.2 is available here
"God! Not Unix" - Richard Stallman

Website: venom Dev
OS project: venom OS
Hexadecimal Editor: hexed
Post Reply