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 Sat 20 Oct 2018, 21:16
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
view text files with old DOS characters
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
miriam


Joined: 06 Dec 2006
Posts: 364
Location: Queensland, Australia

PostPosted: Mon 09 Feb 2009, 00:52    Post subject:  view text files with old DOS characters
Subject description: viewing old text files that have blocky graphics characters
 

This puzzled me for some time and I spent a while reading up on the history behind the the old IBM graphical characters. In the end I realised the solution was surprisingly simple. The "leafpad" text editor has a commandline option that makes it easy.
Code:
leafpad --codeset=437 "text_file_to_load"

(Note that the block characters look best if you choose Courier font inside Leafpad.)

A lot of online file distributions use special description files that have the ".nfo" extension. These files almost always contain blocky graphics. I've altered my mime settings to recognise nfo files as a special text type, and set the run action as the shell command
Code:
leafpad --codeset=437 "$@"

Another thing that can be done is to right-click any text file and choose the popup submenu item "Customize Menu". This opens a small information window and another window where you can drop programs, script, or applications (I prefer to only drop links in that window). From then on, whatever you dropped in there will be at the top of the submenu you get when you right-click that kind of file.

_________________
A life! Cool! Where can I download one of those from?
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
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.0341s ][ Queries: 11 (0.0070s) ][ GZIP on ]