Bug 253935

Summary: can no longer hex edit certain files.
Product: [Fedora] Fedora Reporter: Dave Jones <davej>
Component: mcAssignee: Jindrich Novy <jnovy>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 7CC: pfrields, pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-05 17:00:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dave Jones 2007-08-23 00:24:13 UTC
try this..

gcc helloworld.c

mc

move over the a.out

f3 (View)
f4 (switch to hex)
f2 (edit)

nothing happens. Because f2 is an empty menu option. (It doesn't even have an
"edit" label).  Doing the same procedure on another file allows hex editing.

Comment 1 Michael Schwendt 2008-04-05 14:37:41 UTC
Not a bug. Your F-Key-sequence ought to be:

F3 (View)
F8 (Raw)    <-- (!)
F4 (Hex)
F2 (Edit)


Comment 2 Jindrich Novy 2008-04-05 17:00:23 UTC
Indeed. mc allows switching between Parse/Raw mode to allow editing.

Comment 3 Dave Jones 2008-04-05 18:10:25 UTC
weird.  f3-f4-f2 works fine for other files, just not executables.

Comment 4 Michael Schwendt 2008-04-05 23:08:39 UTC
Enter MC menu "Command > Edit extension file", then look for

  type/^ELF

You can disable the default View= action there if it annoys you.
There are similar actions defined for many other file types.