Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 10 Dec 2019, 18:05
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Building MMview, a universal file viewer
Post new topic   Reply to topic View previous topic :: View next topic
Page 21 of 21 [309 Posts]   Goto page: Previous 1, 2, 3, ..., 19, 20, 21
Author Message
rockedge


Joined: 11 Apr 2012
Posts: 1349
Location: Connecticut, United States

PostPosted: Sun 01 Sep 2019, 13:03    Post subject:  

hey MochiMoppel

really cool...and the eyeglasses changing color when mm_view is running is actually very helpful

nice!
Back to top
View user's profile Send private message Visit poster's website 
josejp2424


Joined: 01 Aug 2010
Posts: 520

PostPosted: Sun 01 Sep 2019, 13:51    Post subject: MMviem  

MochiMoppel wrote:
Special desktop edition
Promised to perdido and based on above update I tried to set an icon for MMview that would change according to the color of the fat guy's glasses. When he is not viewing anything glasses are light gray.
Affected are icons on the pinboard and in ROX-Filer window

This is a special edition of MMview and I'm not sure if I will ever include this gimmick into future official versions though I admit that I'm starting to like it. It may even be useful: I often have multiple instances open and it happens that I forget an instance on a different desktop. The icon color tells me if there is still an instance open somewhere.

Uncompress and make executable as usual. For most fun drag the script from ROX-Filer to the desktop. Don't add an icon manually, just click and see what happens.


Excellent work MochiMoppel thanks

_________________
Shiba Inu | Pupjibaro jessie | My Blog
Back to top
View user's profile Send private message Visit poster's website 
MochiMoppel


Joined: 26 Jan 2011
Posts: 1943
Location: Japan

PostPosted: Tue 29 Oct 2019, 02:16    Post subject:  

Update 2019-10-29 (see also initial post)
While hexdumps (see update 2019-04-09) can be useful for power users, this update adds a more gentle way to display "octet streams" and other binaries. Accessible from View menu or ASCII button.

Display printable ASCII strings
Uses busybox strings command to extract plain text strings (=printable characters) from binary files. Control characters and extended ASCII characters (see ASCII table) are eliminated and only text strings that are at least 4 characters long are displayed. This value can be changed. Note that the control character 09 (=tab) is treated as printable.

This function is particularly useful to
- get an idea what an unknown "octet stream" is used for
- search for specific strings in binaries (practically impossible with other tools like grep or hexdump)
- recover code from corrupted shell scripts
- find version or usage info in files unable to run with current OS
- extract body text from binary wordprocessor files (e.g. MS Word 2.0)

Set minimum length
The minimum length of displayed ASCII strings can be adjusted and will be saved.
Personally I find that the default of 4 produces too much garbage and therefore I prefer something around 8. Only in extreme cases it can be useful to set the limit to 1, e.g. when dealing with corrupted scripts.

Display decimal offsets
Prepends each string with its decimal offset. This makes it easy to find the string in MMview's hexdump, which also uses decimal offsets.

ASCII table
A little extra tool discussed here. Useful mostly for programmers.

Support for additional image formats
CURSOR: Xcursor image files; no extension, MIME image/x-xcursor. Requires xcur2png (probably present in all Puppies)
QIF/QTIF: QuickTime image files; extension ".qif" or ".qtif"
ICNS: Apple icon image files; extension ".icns")

Bugfixes
Fixed: MMview may not restart in last used folder
Fixed: Right-to-left characters (e.g Arabic) in table "CHARACTERS (Unicode codepoints and bytestrings)" result in inverted lines (not a bug but annoying)

Other changes
More color variations for the main icon.
Various performance improvements.
ASCIIstrings.jpg
 Description   
 Filesize   85.77 KB
 Viewed   328 Time(s)

ASCIIstrings.jpg

Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1413

PostPosted: Tue 29 Oct 2019, 13:45    Post subject:  

Just downloaded the latest version.

Once again, this is really excellent work. I've got to try to actually use it more.

Dan
Back to top
View user's profile Send private message 
rockedge


Joined: 11 Apr 2012
Posts: 1349
Location: Connecticut, United States

PostPosted: Tue 29 Oct 2019, 14:58    Post subject:  

using the latest version on a Void Linux WeeDog.....works very well
Back to top
View user's profile Send private message Visit poster's website 
MochiMoppel


Joined: 26 Jan 2011
Posts: 1943
Location: Japan

PostPosted: Thu 31 Oct 2019, 04:53    Post subject:  

Many thanks.
For friends of the "Special desktop edition" I have updated this edition. It is now based on the newest MMview version.
Back to top
View user's profile Send private message 
perdido


Joined: 09 Dec 2013
Posts: 1427
Location: ¿Altair IV , Just north of Eeyore Junction.?

PostPosted: Fri 01 Nov 2019, 07:02    Post subject:  

MochiMoppel wrote:

For friends of the "Special desktop edition" I have updated this edition. It is now based on the newest MMview version.


Thanks for this Smile

.
Back to top
View user's profile Send private message 
rockedge


Joined: 11 Apr 2012
Posts: 1349
Location: Connecticut, United States

PostPosted: Fri 01 Nov 2019, 10:40    Post subject:  

Quote:
"Special desktop edition"


beyond cool!! Thank you
Back to top
View user's profile Send private message Visit poster's website 
tallboy


Joined: 21 Sep 2010
Posts: 1571
Location: Drøbak, Norway

PostPosted: Sun 03 Nov 2019, 22:15    Post subject:  

MochiMoppel, I think that most of us are friends of the "Special desktop edition". Very clever, extremely cool! Very Happy
_________________
True freedom is a live Puppy on a multisession CD/DVD.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 21 of 21 [309 Posts]   Goto page: Previous 1, 2, 3, ..., 19, 20, 21
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1032s ][ Queries: 12 (0.0647s) ][ GZIP on ]