Nekochan Net

Official Chat Channel: #nekochan // irc.nekochan.net
It is currently Sat Sep 20, 2014 6:01 pm

All times are UTC - 8 hours


Forum rules


Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.



Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: ANSI
Unread postPosted: Sat Jul 09, 2005 7:02 am 
Offline
User avatar

Joined: Sun Feb 08, 2004 4:17 pm
Posts: 346
Location: quito
http://www.acid.org/

Did anyone else used to do this? Any way I can make ANSI art on my o2?


Top
 Profile  
 
 Post subject: Re: ANSI
Unread postPosted: Sat Jul 09, 2005 8:49 am 
Offline
User avatar

Joined: Fri Mar 14, 2003 5:22 am
Posts: 3097
Location: living in a linux-blunderland
miunk wrote:
Any way I can make ANSI art on my o2?


emacs?


Top
 Profile  
 
 Post subject:
Unread postPosted: Sat Jul 09, 2005 8:58 am 
Offline
User avatar

Joined: Sun Feb 08, 2004 4:17 pm
Posts: 346
Location: quito
Hmm, is that similar to aciddraw? Just kidding. I have avoided learning emacs for so long it would be a shame to start now.


Top
 Profile  
 
 Post subject:
Unread postPosted: Sat Jul 09, 2005 6:38 pm 
Offline
User avatar

Joined: Fri Mar 14, 2003 5:22 am
Posts: 3097
Location: living in a linux-blunderland
after 23 years i can't do with anything else :)


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jul 12, 2005 4:01 am 
Offline
User avatar

Joined: Fri Nov 28, 2003 11:12 am
Posts: 168
Location: Gothenburg / SWEDEN
If I recall correctly or IIRC as I've just recently learned there is a open source ansi editor similar to AcidDraw that is called DuhDraw.

I too would also be interested in having duhdraw compiled for irix. I would also like to recommend you Ansi lovers out there to check out this nifty little frontend to various music players.

Camp

// Markus

_________________
Behold my spermlogo, for it is I: Quick, Ambitious, creative and a tad bit sexually oriented.
----------------
[SGI Indigo2 R10K | High Impact | Indigo2 Video for IMPACT with indycam | Irix 6.5.22m]


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jul 12, 2005 9:13 am 
Offline
User avatar

Joined: Sat May 17, 2003 1:01 pm
Posts: 473
Location: Southern CA
i had the luck to compile a gcc mips-3 duhdraw. mipspro version always segment fault.

http://s92957900.onlinehome.us/packages/duhdraw.tar.gz

Edit. requires neko_ncurses.


Last edited by voidfoo on Tue Jul 12, 2005 1:23 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jul 12, 2005 12:34 pm 
Offline
User avatar

Joined: Sun Feb 08, 2004 4:17 pm
Posts: 346
Location: quito
How did you do it? I kept getting:

Code:
rm -f duhdraw
gcc -O2 -s -Wall -L/usr/miunkware/lib -o duhdraw duhdraw.c -lncurses
ld32: Segmentation Fault.  Removing output file...


This is with ncurses 5.4 - which I compiled /w gcc - perhaps my ncurses libs are no good?


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jul 12, 2005 12:41 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Jan 23, 2003 1:31 am
Posts: 7982
Location: Pleasanton, California
miunk wrote:
This is with ncurses 5.4 - which I compiled /w gcc - perhaps my ncurses libs are no good?


I've haven't tried compiling this so my observation is just academic - but is there a reason you have to use ncurses? Most things will let you link against the system curses library instead ( -lcurses ).

_________________
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jul 12, 2005 1:22 pm 
Offline
User avatar

Joined: Sat May 17, 2003 1:01 pm
Posts: 473
Location: Southern CA
yes, i can confirm it works with -lcurses.

to use ncurses, i made some modifications to the Makefile (added -I and -L for nekoware ncurses) and changed #include <ncurses.h> to #include <ncurses/ncurses.h>. You can check the differences by comparing the source in my tarball with the original source.


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jul 12, 2005 2:14 pm 
Offline
User avatar

Joined: Sun Feb 08, 2004 4:17 pm
Posts: 346
Location: quito
Really how about with -lcurses? What does your makefile look like? I am getting another segfault. How can I debug ld32 segfaults?


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jul 12, 2005 2:31 pm 
Offline
User avatar

Joined: Sun Aug 29, 2004 6:13 pm
Posts: 97
Location: Stratford, CT. U$A
thanks for the bin this should be a fun app to use


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jul 12, 2005 2:38 pm 
Offline
User avatar

Joined: Sat May 17, 2003 1:01 pm
Posts: 473
Location: Southern CA
miunk, maybe you are right. duhdraw segfaults with -lcurses. just the viewer ansi works fine with -lcurses.

the beginning of my Makefile to use ncurses looks like this
Code:
CC=gcc -O2 -I/usr/nekoware/include
STRIP=strip
LIBS= -L/usr/nekoware/lib -lncurses

I also changed #include <ncurses.h> to <ncurses/ncurses.h>, as mentioned above.


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jul 12, 2005 9:49 pm 
Offline
User avatar

Joined: Sun Feb 08, 2004 4:17 pm
Posts: 346
Location: quito
Thanks - adding the ncurses/ncurses.h was the key. I can run the program but the "splash screen" displays all jumbled - do I need to configure my winterm?


Top
 Profile  
 
 Post subject:
Unread postPosted: Wed Jul 13, 2005 4:32 pm 
Offline
User avatar

Joined: Sat May 17, 2003 1:01 pm
Posts: 473
Location: Southern CA
winterm (xwsh) wont work. you also need a capable font. i am using rxvt as term program, and vga font, set term=vt100 or vt220. i remember i got the font here. search the forums to see if you can find anything.


Top
 Profile  
 
 Post subject:
Unread postPosted: Fri Jul 15, 2005 8:33 pm 
Offline
User avatar

Joined: Sun Feb 08, 2004 4:17 pm
Posts: 346
Location: quito
Much closer.

Fonts:

http://home.earthlink.net/~us5zahns/enl/ansifont.html

Downloaded the fonts, downloaded and compiled rxvt. I execute it from a xwsh winterm via:

Code:
rxvt -fn vga -tn vt100 -fg white -bg black -display localhost:0.0


If I run the ansi program on one of the provided ansi files it looks great. When I start up the application it looks bad, but different than before (perhaps it is just a really bad splash screen?).

The major problem now is that the function keys (F1, F2, F3, etc.) don't work in the rxvt terminal duhdraw. Anyone know if this is a setting I can modify? Would I have better luck with aterm?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group