🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7770

Problems Compiling with C on Unix

#7770
From: dedgar
Date: Tue, 26 Jan 1993 13:31
37 lines
2238 bytes
Hello

I have a question about compliling a ogram I obtained on the net which
is designed to test the quality of a vt100 class terminal emulator.

Basically the program gives the following message when compiling:
26 % cc main.c     
"./header.h", line 37: unknown size     
"./header.h", line 37: unknown size     

the header file it is referring to is:

#ifdef UNIX                                                                     
#include <ctype.h>                                                              
#include <sgtty.h>                                                              
#include <signal.h>                                                             
#include <setjmp.h>                                                             
jmp_buf intrenv;                                                                
struct sgttyb sgttyOrg, sgttyNew;  <***-is is line 37    
char stdioBuf[BUFSIZ];                                                          
int brkrd, reading;                                                             
extern onterm(), onbrk();                                                       
#ifdef SIII                                                                     
#include <fcntl.h>                                                              
#endif                                                                          
#endif          

So could some kind soul please tell an innocent DOS programmer who does not
know unix or c what might be wrong and how to fix it so that he can test his
vt100 telnet program and get on with writing something else. The machine
is an Apple IIci running A/UX - the only unix machine I have access to.

All help gratefully appreciated.

						Dale Edgar
						Cybernetic Control Inc.
						DEDGAR@MTA.CA 
Technical Details
Message-ID: <1993Jan26.133130.25404@jupiter.sun.csd.unb.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!torn!csd.unb.ca!mta.ca!DEDGAR

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!torn!csd.unb.ca!mta.ca!DEDGAR
From: dedgar@mta.ca
Subject: Problems Compiling with C on Unix
Message-ID: <1993Jan26.133130.25404@jupiter.sun.csd.unb.ca>
Sender: news@jupiter.sun.csd.unb.ca
Reply-To: dedgar@mta.ca
Organization: Mount Allison U, Sackville, N.B. Canada 
Date: Tue, 26 Jan 1993 13:31:30 GMT
Lines: 37