home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / x / pex / 405 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  2.2 KB

  1. Path: sparky!uunet!mcsun!uknet!mucs!lilleyc
  2. From: lilleyc@cs.man.ac.uk (Chris Lilley)
  3. Newsgroups: comp.windows.x.pex
  4. Subject: Re: On-Line Reference for PHIGS functions/structs
  5. Message-ID: <5430@m1.cs.man.ac.uk>
  6. Date: 21 Jul 92 16:45:57 GMT
  7. References: <63918@hydra.gatech.EDU>
  8. Sender: news@cs.man.ac.uk
  9. Reply-To: lilleyc@cs.man.ac.uk (Chris Lilley)
  10. Organization: Department of Computer Science, University of Manchester UK
  11. Lines: 39
  12.  
  13. In article <63918@hydra.gatech.EDU> gt8166a@prism.gatech.EDU (DOERSCHUK,DAVID OAKES) writes:
  14.  
  15. >I am taking a graphical interfaces class, and the system being
  16. >used is PHIGS on Sun ipc machines.  I'm having a difficult time
  17. >of it, in part because the text ("A Practical Introduction to
  18. >PHIGS and PHIGS PLUS", by T.L.J. Howard, et.al. c.1991) does not
  19. >seem to use the same names for functions, structures, and #defines
  20. >as Sun PHIGS does.  I'm told that our version of Sun PHIGS is the
  21. >most recent, although I can't find the version number by grepping
  22. >the .h files for "ersion" and "ev" ({V|v}ersion and {R|r}ev). 
  23.  
  24. You are using SunPHIGS 2.0 (or later, possibly). This was the first version
  25. to use the recently released ISO C binding to PHIGS. Previously, there was
  26. no standard binding to use PHIGS from C, so each vendor made up their own.
  27.  
  28. The Howard et al book was published in 1991, before the ISO C binding was
  29. published. Therefore, although it uses SunPHIGS, it uses the previous
  30. binding. The actual concepts in the book are still valid. In many cases the
  31. function names have simply changed by having underscores added.
  32.  
  33. There is a script supplied with SunPHIGS2.0 to convert the old SunPHIGS C
  34. binding to ISO C. You could run that over any examples that use the old
  35. bindings. 
  36.  
  37. There are man pages for the phigs functions. So, for example, you can type:
  38.  
  39. man popen_phigs
  40.  
  41. and get a page of description. You will need to make sure your manpath is
  42. appropriately set up, depending on where your system administrator has put
  43. the PHIGS man pages.
  44.  
  45. >Dave Doerschuk
  46. >Georgia Institute of Technology, Atlanta Georgia, 30332
  47. >uucp:      ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt8166a
  48. >Internet: gt8166a@prism.gatech.edu
  49.  
  50. Chris Lilley            lilley@cgu.mcc.ac.uk
  51. Computer Graphics Unit, University of Manchester, UK
  52.