ANSI

3D/2D CGI and the tools used in their creation (Maya, Photoshop, Blender, GIMP, etc.).
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
miunk
Posts: 346
Joined: Sun Feb 08, 2004 4:17 pm
Location: quito

ANSI

Unread postby miunk » Sat Jul 09, 2005 8:02 am

http://www.acid.org/

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

User avatar
skywriter
Posts: 3104
Joined: Fri Mar 14, 2003 5:22 am
Location: living in a linux-blunderland
Contact:

Re: ANSI

Unread postby skywriter » Sat Jul 09, 2005 9:49 am

miunk wrote:Any way I can make ANSI art on my o2?


emacs?

User avatar
miunk
Posts: 346
Joined: Sun Feb 08, 2004 4:17 pm
Location: quito

Unread postby miunk » Sat Jul 09, 2005 9:58 am

Hmm, is that similar to aciddraw? Just kidding. I have avoided learning emacs for so long it would be a shame to start now.

User avatar
skywriter
Posts: 3104
Joined: Fri Mar 14, 2003 5:22 am
Location: living in a linux-blunderland
Contact:

Unread postby skywriter » Sat Jul 09, 2005 7:38 pm

after 23 years i can't do with anything else :)

User avatar
makkan77
Posts: 168
Joined: Fri Nov 28, 2003 11:12 am
Location: Gothenburg / SWEDEN
Contact:

Unread postby makkan77 » Tue Jul 12, 2005 5:01 am

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]

User avatar
voidfoo
Posts: 473
Joined: Sat May 17, 2003 2:01 pm
Location: Southern CA

Unread postby voidfoo » Tue Jul 12, 2005 10:13 am

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 2:23 pm, edited 1 time in total.

User avatar
miunk
Posts: 346
Joined: Sun Feb 08, 2004 4:17 pm
Location: quito

Unread postby miunk » Tue Jul 12, 2005 1:34 pm

How did you do it? I kept getting:

Code: Select all

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?

User avatar
nekonoko
Site Admin
Site Admin
Posts: 8041
Joined: Thu Jan 23, 2003 1:31 am
Location: Pleasanton, California
Contact:

Unread postby nekonoko » Tue Jul 12, 2005 1:41 pm

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.

User avatar
voidfoo
Posts: 473
Joined: Sat May 17, 2003 2:01 pm
Location: Southern CA

Unread postby voidfoo » Tue Jul 12, 2005 2:22 pm

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.

User avatar
miunk
Posts: 346
Joined: Sun Feb 08, 2004 4:17 pm
Location: quito

Unread postby miunk » Tue Jul 12, 2005 3:14 pm

Really how about with -lcurses? What does your makefile look like? I am getting another segfault. How can I debug ld32 segfaults?

User avatar
incognito
Posts: 97
Joined: Sun Aug 29, 2004 7:13 pm
Location: Stratford, CT. U$A

Unread postby incognito » Tue Jul 12, 2005 3:31 pm

thanks for the bin this should be a fun app to use

User avatar
voidfoo
Posts: 473
Joined: Sat May 17, 2003 2:01 pm
Location: Southern CA

Unread postby voidfoo » Tue Jul 12, 2005 3:38 pm

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: Select all

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.

User avatar
miunk
Posts: 346
Joined: Sun Feb 08, 2004 4:17 pm
Location: quito

Unread postby miunk » Tue Jul 12, 2005 10:49 pm

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?

User avatar
voidfoo
Posts: 473
Joined: Sat May 17, 2003 2:01 pm
Location: Southern CA

Unread postby voidfoo » Wed Jul 13, 2005 5:32 pm

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.

User avatar
miunk
Posts: 346
Joined: Sun Feb 08, 2004 4:17 pm
Location: quito

Unread postby miunk » Fri Jul 15, 2005 9:33 pm

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: Select all

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?


Return to “SGI: Computer Graphics”

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest