Joined: 06 Dec 2006 Posts: 364 Location: Queensland, Australia
Posted: 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.
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
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?
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