You are not logged in.

#1 2012-07-26 09:55:44

aardwolf
Member
From: Belgium
Registered: 2005-07-23
Posts: 304

Good graphical text editor that can also open binary files?

Hello,

Long ago, text editors in Linux could also open binary files. You'd see gibberish characters, but textual parts were readable in there. Then, already several years ago, it became a trend for Linux text editors to instead give an error like "The file ... does not look like a text file or the file encoding is not supported".

And now I no longer know a graphical text editor that wants to display such files, except IntelliJ but that one isn't the most convenient one to just view a text file and opening large log files in it makes it slow.

This ability is useful, e.g. when wanting to view a file that is the combination of text and some binary parts. E.g. a log file I'd like to view now.

Using "strings" for that is cumbersome. I want to view it in a graphical editor.

Does anyone know a good simple graphical text editor that can do this and actually supports this on purpose so that there's no risk that it'll also join the "I don't want to display binary files" crew in the future?

I'd be super happy if there existed on that uses the good old IBM charset which has the smileys for ascii values 1 and 2 etc... to display the 256 possible bytes, except that it should of course use the newline character as an actual new line! big_smile

Thanks!

Please don't talk about hex editors or the hexdump command. For what I'm trying to view, the fastest way is to be able to graphically scroll through it, and there is a lot of plain text mixed in this file. Thank you smile

Last edited by aardwolf (2012-07-26 10:04:06)

Offline

#2 2012-07-26 10:03:50

w0ng
Member
From: Australia
Registered: 2009-06-04
Posts: 88
Website

Re: Good graphical text editor that can also open binary files?

gvim

Offline

#3 2012-07-26 10:04:02

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: Good graphical text editor that can also open binary files?

vim can open binaries. gvim is the "graphical" version.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#4 2012-07-26 10:05:32

aardwolf
Member
From: Belgium
Registered: 2005-07-23
Posts: 304

Re: Good graphical text editor that can also open binary files?

w0ng wrote:

gvim

Hmm, looking good for viewing the text and stuff!

It seems to miss things like a menu with "copy" option if you right click on a selection and such though! It seems like it doesn't even support pasting with middle mouse click in a different text editor than itself after selecting something.

I like how it shows the non-ascii characters as control codes like ^F.

Does gvim support binary text because the makers actually want it to, or is it just a coincidence?

Last edited by aardwolf (2012-07-26 10:08:41)

Offline

#5 2012-07-26 10:48:41

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Good graphical text editor that can also open binary files?

Vim is one of the best editors out there, so it's no coincidence that it can open binary files.

As for copying, the default copy buffer of vim doesn't sync with the X clipboard. To do that use "+y, but that is already available in the edit menu of gvim.

Offline

#6 2012-07-26 11:15:10

simon.swe
Member
From: sverige
Registered: 2012-02-26
Posts: 148
Website

Re: Good graphical text editor that can also open binary files?

emacs

Offline

#7 2012-07-27 03:03:55

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: Good graphical text editor that can also open binary files?

You know, considering the OP is obviously very much a point-and-click guy, all vim/emacs related links are quite pointless. Even though vim DOES rock hard.....


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#8 2012-07-27 03:18:25

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: Good graphical text editor that can also open binary files?

ngoonee wrote:

You know, considering the OP is obviously very much a point-and-click guy, all vim/emacs related links are quite pointless. Even though vim DOES rock hard.....

xemacs ?
tongue


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#9 2012-07-27 04:28:37

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: Good graphical text editor that can also open binary files?

try geany.

Edit: Ah, didn't read the OP's request properly. Not sure if Geany can handle binary files. Maybe give it a shot and see if it works.

Last edited by JackH79 (2012-07-27 04:34:50)

Offline

#10 2012-07-27 11:38:30

liquibyte
Member
Registered: 2007-11-11
Posts: 91
Website

Re: Good graphical text editor that can also open binary files?

Geany does not support viewing of binary files any longer. It used to but somewhere along the way they changed it. I was disappointed when they did this as I use that feature at times as well.

Offline

#11 2012-07-27 12:16:22

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: Good graphical text editor that can also open binary files?

Medit doesn't barf at binary stuff.

Offline

Board footer

Powered by FluxBB