Bug 83117
Summary: | joe is no longer binary safe | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Oskari Saarenmaa <oskari> |
Component: | joe | Assignee: | Lon Hohberger <lhh> |
Status: | CLOSED WONTFIX | QA Contact: | Jay Turner <jturner> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | CC: | srevivo |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-10-06 17:51:24 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
Oskari Saarenmaa
2003-01-30 14:28:18 UTC
I have reproduced this problem. I'm not yet convinced that it is joe; the screen gets mangled differently depending on the terminal type -- for instance: joe /usr/bin/joe (on a virtual terminal) gets different output then the same command run in an xterm, which is different from what is displayed in konsole. Could you name a previous version of joe in which editing binaries worked so I can double-check its behavior on RHL 8.0? In the meantime, hexedit and grep are probably more suitable for searching binary files - joe was never really designed with binary editing in mind. I'm using joe mostly under gnome-terminal, on both RHL 7.3 and 8.0. The old version (2.8, released in 1995) of joe edits binary files happily, it was included in RHL 6.2, and is also available at ftp://ftp.funet.fi/pub/unix/editors/joe I'm aware that joe isn't designed for editing binaries, but it is annoying to get your terminal mangled if you accidentally open a binary file, especially when it used to work okay with them. And actually 'joe foobar.o' is often nicer to use than strings foobar.o | egrep ... I guess the new version of joe doesn't filter out some terminal control codes in the files it displays, and those get passed to the terminal which does things it shouldn't. You can also try disabling -asis on line 27 of joerc (put a space in front of it). This might help the mangling problems. Ah, yes, that fixes the problem. Didn't realize the new version of joe had different default configuration. Disabling -asis causes the scandinavic characters not to show up right though. Maybe this bug report should be changed to an enhancement request for an option which only filters out the screen control characters. It is probably better to allow joe to use UTF-8 locale encoding the way the rest of the Red Hat Linux distribution does. Unfortunately, it will probably require a substantial rewrite. I haven't heard one way or the other whether or not the maintainers were going to look into this, so I asked on their mailing list. Check out joe's homepage: http://sf.net/projects/joe-editor I'll try and get this up and going for joe-3.0.0 if possible; for now I'm going to mark as 'wontfix' since a workaround exists (even though it's annoying). |