Re: [aclug-L] Pseudo terminals on Linux
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
You want openpty. Unfortunately, some distributions do not have the
manpage. I've attached a manpage from OpenBSD here. The relevant
header file is pty.h; you can look at brief docs in /usr/include/pty.h
if you want. The source for the script program can also be helpful if
you get stuck.
-- John
openpty.man
Description: Binary data
Sanjay Dhar <sxdhar@xxxxxxxxxxx> writes:
> I'm trying to replace old 40 MHz Solaris servers with 200 MHz intel
> machines running Linux. I know solaris supports pseudo terminals with the
> function calls ptsname(), grantpt() and unlockpt(). Since all the code
> needs to be recompiled on Linux I'm looking for a way to get around the
> problem of pseudo terminals with equivalent function calls in Linux.
>
> Thanks for the help in advance
>
> ----------------------------------------------------------------------------
>
> SANJAY DHAR
>
> Tel(R) : (316) 685-4302
> Tel(O) : (316) 636-8649
>
> sxdhar@xxxxxxxxxxx
> Sanjay.Dhar@xxxxxxxxxxx
>
> http://www.cs.twsu.edu/~sxdhar
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> ---
> This is the Air Capitol Linux Users Group discussion list. If you
> want to unsubscribe, send the word "unsubscribe" to
> aclug-L-request@xxxxxxxxxxxx. If you want to post to the list, send your
> message to aclug-L@xxxxxxxxxxxx.
>
--
John Goerzen Linux, Unix consulting & programming jgoerzen@xxxxxxxxxxxx |
Developer, Debian GNU/Linux (Free powerful OS upgrade) www.debian.org |
----------------------------------------------------------------------------+
Visit the Air Capital Linux Users Group on the web at http://www.aclug.org
|
|