LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   NFO Viewer for Linux? (https://www.linuxquestions.org/questions/linux-software-2/nfo-viewer-for-linux-184819/)

GT_Onizuka 05-23-2004 10:07 AM

NFO Viewer for Linux?
 
Well I was googling for NFO viewers for Linux, and I found absolutely nothing. In short anyone know of one for Linux?

drigz 05-23-2004 11:00 AM

whats wrong with a normal text editor?

delta9 05-23-2004 11:36 AM

Quote:

Originally posted by drigz
whats wrong with a normal text editor?
it doesn't show ascii art

drigz 05-23-2004 11:51 AM

i dont see what you mean - if you just mean putting characters in shapes to have pictures, then like pico and gedit work fine for me...

LoungeLizard 05-23-2004 12:35 PM

Gedit should work fine have to make sure word wrap is on

vectordrake 05-23-2004 01:45 PM

They all seem to. Kwrite does, Jed seems to, Nano seems to, Xedit does. I am sure that Nedit will too. Lotsa choices.

s1k 01-14-2005 09:00 PM

None of the suggested alternatives show ASCII art. What I am looking for (and probably the thread starter too) is an application that shows the .nfo files like windows notepad with terminal used as font.

this is how i want it to look:
http://www.nforce.nl/nfos/renderer/l...k.php?id=82241 (just an example...)

/s1k

billspork 02-11-2005 01:50 AM

VI seems to do the trick, but I don't know if that's exactly what you're looking for.

Billspork

s1k 02-11-2005 05:27 PM

No it doesn't look right in VI, same as all the other viewers i have tried. Any other suggestions?

mephist0666 02-19-2005 09:38 AM

hi guys

i have a solution :)

just select a fixed sized font in aterm to show ascii properly.

i use this font :

in my .Xresources :

aterm*font:-dosemu-vga-medium-r-normal-*-*-160-*-*-p-*-ibm-cp437

and a user in #linuxger (ircnet) told me it would also work to change to cp437 but i didnt test it yet.

hope this helps some of you.

greets

mephist0

mephist0666 03-08-2005 08:01 AM

i have written a little bash script to view .nfo files properly :

#!/bin/sh
consolechars -m cp437
cat $1
consolechars -m iso01

just copy to /usr/bin

and type:

nfo <dir.file.nfo>

and youre done :)

greetz mephist0

guillaumerava 04-07-2005 09:05 PM

Solution with gvim
 
Hey thanks mephist0666 for the solution w/ consolechars,
but I don't have consolechars on my gentoo box..

If you open the .nfo file with gvim, and then type:

:set encoding=8bit-437

it will switch to a character set appropriate for ascii art.

Then do a :

:set encoding=latin1

to switch back to normal (or whatever your default set up is)

Anybody knows how to script the .vimrc file to tell it that if the file extension is .nfo then switch encoding to 8bit-437 ?

- Guillaume.

miner 04-14-2005 10:48 PM

the suggestions above are a little complicated for me but through wine an .nfo viewer called jane displays the art perfectly. here is a sample of what jane can do

here is the jane website = http://www.kifoth.de/jane/html/download.php

ow50 04-20-2005 07:56 PM

I wrote a simple nfo viewer in Python using GTK2.

To try it:
1. Install packages Python and PyGTK if you don't have them already.

2. Get the Lucida Console P font
monospace works as well, but it's not as good.

3. Download my script
http://koti.mbnet.fi/~ots/scripts/nfoview
Put it for example in ~/bin or some place that's in your PATH and give it execute permissions. Edit the settings at the start of the file if needed.

4. Use it
Code:

nfoview file.nfo
For easy use, you can add a mime-type for .nfo extension and make a desktop file for nfoview.

gh0strida 05-01-2005 05:38 PM

ow50,

works great .. thx


All times are GMT -5. The time now is 01:35 PM.