home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!usc!howland.reston.ans.net!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!cuugnet!nicholsw
- From: nicholsw@cuug.ab.ca (Wendell Nichols 264-4655)
- Subject: xspread spreadsheet for Xwindows
- Message-ID: <1992Dec18.233024.12988@cuug.ab.ca>
- Sender: news@cuug.ab.ca (Network News Reader)
- Nntp-Posting-Host: sun.cuug.ab.ca
- Organization: Calgary UNIX Users' Group Association
- Date: Fri, 18 Dec 1992 23:30:24 GMT
- Lines: 92
-
- Sender: Wendell Nichols
- Followup-To:
- Distribution: comp.os.linux
- Organization: Calgary UNIX User's Group
- Keywords:
-
- My first posting, so if its screwed up... I plead ignorance.
- This is a short diff to make the xspread-1.1 program compile
- on linux. I am not big into spreadsheets, but I tried a few things
- with this one and it does the demo's, and can add 2+2, claims to be
- better than lotus, but then how could it be worse (price/performance?).
- You can get the source from export, but I got mine from a site mentioned
- in the comp.xwindows.announce group a couple days ago. sorry the
- name is jotted down at work...
- Have fun... Wendell Nichols
-
-
- diff -rc xspread/Imakefile xspread.linux/Imakefile
- *** xspread/Imakefile Tue Aug 4 20:26:48 1992
- --- xspread.linux/Imakefile Fri Dec 18 14:28:54 1992
- ***************
- *** 3,9 ****
- CDEBUGFLAGS = -g
- EXTRA_DEFINES = -DSC_FONT=\"fixed\" -DSIGVOID
- #else
- ! CDEBUGFLAGS = -g
- EXTRA_DEFINES = -DSC_FONT=\"fixed\" -DBSD43 $(SIGVOID)
- #endif
-
- --- 3,9 ----
- CDEBUGFLAGS = -g
- EXTRA_DEFINES = -DSC_FONT=\"fixed\" -DSIGVOID
- #else
- ! CDEBUGFLAGS = -O6
- EXTRA_DEFINES = -DSC_FONT=\"fixed\" -DBSD43 $(SIGVOID)
- #endif
-
- diff -rc xspread/plot_XY.c xspread.linux/plot_XY.c
- *** xspread/plot_XY.c Tue Jul 28 19:26:38 1992
- --- xspread.linux/plot_XY.c Fri Dec 18 14:30:37 1992
- ***************
- *** 683,689 ****
- points[5].y = 4;
- XDrawLines(dpy, win, maingcreversed, points, 6, CoordModePrevious);
- }
- !
- /*
- * pow10 calculates the power function of base 10
- */
- --- 683,689 ----
- points[5].y = 4;
- XDrawLines(dpy, win, maingcreversed, points, 6, CoordModePrevious);
- }
- ! #ifndef linux
- /*
- * pow10 calculates the power function of base 10
- */
- ***************
- *** 705,711 ****
- }
- return q;
- }
- !
-
- /*
- * rm_tail_zero removes heading white spaces, trailing white spaces,
- --- 705,711 ----
- }
- return q;
- }
- ! #endif
-
- /*
- * rm_tail_zero removes heading white spaces, trailing white spaces,
- diff -rc xspread/sc.c xspread.linux/sc.c
- *** xspread/sc.c Tue Aug 4 20:24:58 1992
- --- xspread.linux/sc.c Fri Dec 18 14:29:51 1992
- ***************
- *** 1520,1526 ****
- --- 1520,1528 ----
- (void) signal(SIGTERM, quit);
- (void) signal(SIGALRM, time_out);
- (void) signal(SIGFPE, quit);
- + #ifndef linux
- (void) signal(SIGBUS, quit);
- + #endif
- }
-
-
- #ifdef SIGVOID
-
- Not clever enough to compose a signature worth the bandwidth...
-