home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 21084 < prev    next >
Encoding:
Text File  |  1992-12-21  |  2.9 KB  |  104 lines

  1. Newsgroups: comp.os.linux
  2. 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
  3. From: nicholsw@cuug.ab.ca (Wendell Nichols 264-4655)
  4. Subject: xspread spreadsheet for Xwindows
  5. Message-ID: <1992Dec18.233024.12988@cuug.ab.ca>
  6. Sender: news@cuug.ab.ca (Network News Reader)
  7. Nntp-Posting-Host: sun.cuug.ab.ca
  8. Organization: Calgary UNIX Users' Group Association
  9. Date: Fri, 18 Dec 1992 23:30:24 GMT
  10. Lines: 92
  11.  
  12. Sender: Wendell Nichols 
  13. Followup-To: 
  14. Distribution: comp.os.linux
  15. Organization: Calgary UNIX User's Group
  16. Keywords: 
  17.  
  18. My first posting, so if its screwed up... I plead ignorance.
  19. This is a short diff to make the xspread-1.1 program compile
  20. on linux.  I am not big into spreadsheets, but I tried a few things
  21. with this one and it does the demo's, and can add 2+2, claims to be
  22. better than lotus, but then how could it be worse (price/performance?).
  23. You can get the source from export, but I got mine from a site mentioned
  24. in the comp.xwindows.announce group a couple days ago.  sorry the
  25. name is jotted down at work...
  26. Have fun... Wendell Nichols  
  27.  
  28.  
  29. diff -rc xspread/Imakefile xspread.linux/Imakefile
  30. *** xspread/Imakefile    Tue Aug  4 20:26:48 1992
  31. --- xspread.linux/Imakefile    Fri Dec 18 14:28:54 1992
  32. ***************
  33. *** 3,9 ****
  34.     CDEBUGFLAGS = -g
  35.     EXTRA_DEFINES = -DSC_FONT=\"fixed\" -DSIGVOID
  36.   #else
  37. !   CDEBUGFLAGS = -g 
  38.     EXTRA_DEFINES = -DSC_FONT=\"fixed\" -DBSD43 $(SIGVOID) 
  39.   #endif
  40.      
  41. --- 3,9 ----
  42.     CDEBUGFLAGS = -g
  43.     EXTRA_DEFINES = -DSC_FONT=\"fixed\" -DSIGVOID
  44.   #else
  45. !   CDEBUGFLAGS = -O6 
  46.     EXTRA_DEFINES = -DSC_FONT=\"fixed\" -DBSD43 $(SIGVOID) 
  47.   #endif
  48.      
  49. diff -rc xspread/plot_XY.c xspread.linux/plot_XY.c
  50. *** xspread/plot_XY.c    Tue Jul 28 19:26:38 1992
  51. --- xspread.linux/plot_XY.c    Fri Dec 18 14:30:37 1992
  52. ***************
  53. *** 683,689 ****
  54.     points[5].y = 4; 
  55.     XDrawLines(dpy, win, maingcreversed, points, 6, CoordModePrevious);
  56.   }
  57.   /*
  58.    * pow10 calculates the power function of base 10
  59.    */
  60. --- 683,689 ----
  61.     points[5].y = 4; 
  62.     XDrawLines(dpy, win, maingcreversed, points, 6, CoordModePrevious);
  63.   }
  64. ! #ifndef linux
  65.   /*
  66.    * pow10 calculates the power function of base 10
  67.    */
  68. ***************
  69. *** 705,711 ****
  70.      }
  71.      return q;
  72.   }
  73.   
  74.   /*
  75.    * rm_tail_zero removes heading white spaces, trailing white spaces, 
  76. --- 705,711 ----
  77.      }
  78.      return q;
  79.   }
  80. ! #endif
  81.   
  82.   /*
  83.    * rm_tail_zero removes heading white spaces, trailing white spaces, 
  84. diff -rc xspread/sc.c xspread.linux/sc.c
  85. *** xspread/sc.c    Tue Aug  4 20:24:58 1992
  86. --- xspread.linux/sc.c    Fri Dec 18 14:29:51 1992
  87. ***************
  88. *** 1520,1526 ****
  89. --- 1520,1528 ----
  90.       (void) signal(SIGTERM, quit);
  91.       (void) signal(SIGALRM, time_out);
  92.       (void) signal(SIGFPE, quit);
  93. + #ifndef linux
  94.       (void) signal(SIGBUS, quit);
  95. + #endif
  96.   }
  97.   
  98.  
  99.   #ifdef SIGVOID
  100.   
  101. Not clever enough to compose a signature worth the bandwidth...
  102.