🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.msdos.programmer
1 messages
1 total messages Started by dedgar Tue, 26 Jan 1993 13:31
Problems Compiling with C on Unix
#7770
Author: 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 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads