home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / msdos / programm / 12471 < prev    next >
Encoding:
Text File  |  1993-01-26  |  2.1 KB  |  49 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!cs.utexas.edu!torn!csd.unb.ca!mta.ca!DEDGAR
  3. From: dedgar@mta.ca
  4. Subject: Problems Compiling with C on Unix
  5. Message-ID: <1993Jan26.133130.25404@jupiter.sun.csd.unb.ca>
  6. Sender: news@jupiter.sun.csd.unb.ca
  7. Reply-To: dedgar@mta.ca
  8. Organization: Mount Allison U, Sackville, N.B. Canada 
  9. Date: Tue, 26 Jan 1993 13:31:30 GMT
  10. Lines: 37
  11.  
  12. Hello
  13.  
  14. I have a question about compliling a ogram I obtained on the net which
  15. is designed to test the quality of a vt100 class terminal emulator.
  16.  
  17. Basically the program gives the following message when compiling:
  18. 26 % cc main.c     
  19. "./header.h", line 37: unknown size     
  20. "./header.h", line 37: unknown size     
  21.  
  22. the header file it is referring to is:
  23.  
  24. #ifdef UNIX                                                                     
  25. #include <ctype.h>                                                              
  26. #include <sgtty.h>                                                              
  27. #include <signal.h>                                                             
  28. #include <setjmp.h>                                                             
  29. jmp_buf intrenv;                                                                
  30. struct sgttyb sgttyOrg, sgttyNew;  <***-is is line 37    
  31. char stdioBuf[BUFSIZ];                                                          
  32. int brkrd, reading;                                                             
  33. extern onterm(), onbrk();                                                       
  34. #ifdef SIII                                                                     
  35. #include <fcntl.h>                                                              
  36. #endif                                                                          
  37. #endif          
  38.  
  39. So could some kind soul please tell an innocent DOS programmer who does not
  40. know unix or c what might be wrong and how to fix it so that he can test his
  41. vt100 telnet program and get on with writing something else. The machine
  42. is an Apple IIci running A/UX - the only unix machine I have access to.
  43.  
  44. All help gratefully appreciated.
  45.  
  46.                         Dale Edgar
  47.                         Cybernetic Control Inc.
  48.                         DEDGAR@MTA.CA 
  49.