public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: sgtty library?
@ 2001-08-09  7:48 Troy Noble
  0 siblings, 0 replies; 5+ messages in thread
From: Troy Noble @ 2001-08-09  7:48 UTC (permalink / raw)
  To: 'Clark, Matthew C (FL51)', 'Gerrit P. Haase'; +Cc: cygwin

Not sure where a reference might be.  Google would doubtless reveal
man pages for both styles I'm sure.

"If it was my code"... I would go get the source code for some
highly terminal-intensive program that's been around for a while
like rxvt, screen, or vim and see how they do it.  Chances are
you might find example utility functions for converting between
sgtty.h and termios.h structures, or at least a section of code
or two that you could mimic in your code.

Ah, the beauty of opensource and GPL software.

Troy

-----Original Message-----
From: Clark, Matthew C (FL51) [ mailto:matthew.c.clark@honeywell.com ]
Sent: Thursday, August 09, 2001 7:18 AM
To: 'Gerrit P. Haase'
Cc: cygwin@cygwin.com
Subject: RE: sgtty library?



> Am 7 Aug 2001, um 21:31 hat gerrit.haase@convey.de geschrieben:
> > Am 7 Aug 2001, um 14:16 hat Clark, Matthew C (FL51) geschrieben:
> > > I'm trying to recompile some code for an application originally
> > > built on Solaris/SunOS and gcc complains about undefined 
> references
> > > to:
> [...]
> > Found some references in the archives:
> > http://www.cygwin.com/ml/cygwin/1999-08/msg00424.html
> > with this search/keywords:
> > sgtty site:cygwin.com
> Oops, sorry, i searched at google.com...

Thanks, but alas, the only thing I could find was that sgtty.h
isn't supported and to use termios.h.  But as I'm not terribly
familiar with either, I don't know how to port the calls and
data structures from sgtty->termios.  Can anyone point me to
some references?

Matt

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: sgtty library?
@ 2001-08-09  6:17 Clark, Matthew C (FL51)
  0 siblings, 0 replies; 5+ messages in thread
From: Clark, Matthew C (FL51) @ 2001-08-09  6:17 UTC (permalink / raw)
  To: 'Gerrit P. Haase'; +Cc: cygwin

> Am 7 Aug 2001, um 21:31 hat gerrit.haase@convey.de geschrieben:
> > Am 7 Aug 2001, um 14:16 hat Clark, Matthew C (FL51) geschrieben:
> > > I'm trying to recompile some code for an application originally
> > > built on Solaris/SunOS and gcc complains about undefined 
> references
> > > to:
> [...]
> > Found some references in the archives:
> > http://www.cygwin.com/ml/cygwin/1999-08/msg00424.html
> > with this search/keywords:
> > sgtty site:cygwin.com
> Oops, sorry, i searched at google.com...

Thanks, but alas, the only thing I could find was that sgtty.h
isn't supported and to use termios.h.  But as I'm not terribly
familiar with either, I don't know how to port the calls and
data structures from sgtty->termios.  Can anyone point me to
some references?

Matt

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: sgtty library?
  2001-08-07 12:29 ` gerrit.haase
@ 2001-08-08 14:26   ` Gerrit P. Haase
  0 siblings, 0 replies; 5+ messages in thread
From: Gerrit P. Haase @ 2001-08-08 14:26 UTC (permalink / raw)
  To: Clark, Matthew C (FL51); +Cc: cygwin

Am 7 Aug 2001, um 21:31 hat gerrit.haase@convey.de geschrieben:

> Am 7 Aug 2001, um 14:16 hat Clark, Matthew C (FL51) geschrieben:
> 
> > 
> > I'm trying to recompile some code for an application originally
> > built on Solaris/SunOS and gcc complains about undefined references
> > to:
[...]
> Found some references in the archives:
> 
> http://www.cygwin.com/ml/cygwin/1999-08/msg00424.html
> 
> with this search/keywords:
> 
> sgtty site:cygwin.com

Oops, sorry, i searched at google.com...

gph


-- 
=^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: sgtty library?
  2001-08-07 11:17 Clark, Matthew C (FL51)
@ 2001-08-07 12:29 ` gerrit.haase
  2001-08-08 14:26   ` Gerrit P. Haase
  0 siblings, 1 reply; 5+ messages in thread
From: gerrit.haase @ 2001-08-07 12:29 UTC (permalink / raw)
  To: Clark, Matthew C (FL51), cygwin

Am 7 Aug 2001, um 14:16 hat Clark, Matthew C (FL51) geschrieben:

> 
> I'm trying to recompile some code for an application originally built on
> Solaris/SunOS and gcc complains about undefined references to:
> 
> gcc -o clps *.o OBJ/*.o EXPAN-OBJ/*.o EXPAN-OBJ/SFCM/*.o -lm -ltermcap -lX11
> OBJ/edbasic.o(.text+0x180d):edbasic.c: undefined reference to `gtty'
> OBJ/edbasic.o(.text+0x181c):edbasic.c: undefined reference to `gtty'
> OBJ/edbasic.o(.text+0x183c):edbasic.c: undefined reference to `stty'
> OBJ/edbasic.o(.text+0x1855):edbasic.c: undefined reference to `stty'
> collect2: ld returned 1 exit status
> 
> The file made an include call to sgtty.h, which I simply pulled from
> solaris, but obviously I don't have the library.  Is this functionality
> captured in another cygwin library, or is it something I need to find/build?

Found some references in the archives:

http://www.cygwin.com/ml/cygwin/1999-08/msg00424.html

with this search/keywords:

sgtty site:cygwin.com

-- 
=^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* sgtty library?
@ 2001-08-07 11:17 Clark, Matthew C (FL51)
  2001-08-07 12:29 ` gerrit.haase
  0 siblings, 1 reply; 5+ messages in thread
From: Clark, Matthew C (FL51) @ 2001-08-07 11:17 UTC (permalink / raw)
  To: cygwin

I'm trying to recompile some code for an application originally built on
Solaris/SunOS and gcc complains about undefined references to:

gcc -o clps *.o OBJ/*.o EXPAN-OBJ/*.o EXPAN-OBJ/SFCM/*.o -lm -ltermcap -lX11
OBJ/edbasic.o(.text+0x180d):edbasic.c: undefined reference to `gtty'
OBJ/edbasic.o(.text+0x181c):edbasic.c: undefined reference to `gtty'
OBJ/edbasic.o(.text+0x183c):edbasic.c: undefined reference to `stty'
OBJ/edbasic.o(.text+0x1855):edbasic.c: undefined reference to `stty'
collect2: ld returned 1 exit status

The file made an include call to sgtty.h, which I simply pulled from
solaris, but obviously I don't have the library.  Is this functionality
captured in another cygwin library, or is it something I need to find/build?

Thanks.

Matt Clark

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-08-09  7:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-09  7:48 sgtty library? Troy Noble
  -- strict thread matches above, loose matches on Subject: below --
2001-08-09  6:17 Clark, Matthew C (FL51)
2001-08-07 11:17 Clark, Matthew C (FL51)
2001-08-07 12:29 ` gerrit.haase
2001-08-08 14:26   ` Gerrit P. Haase

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).