Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

RE: Pseudo tty pair

From: Allen, Jack <Jack.Allen(at)McKesson.com>
Date: Mon Oct 15 2007 - 15:00:20 EDT

        OK, I did not get any responses from this, but I have another question that hopefully someone will reply to this question and my other questions.

        Can you have both version Pseudo TTY on a system?

---
Jack Allen
 

-----Original Message-----
From: Allen, Jack 
Sent: Tuesday, October 09, 2007 8:01 PM
To: redhat-list@redhat.com
Subject: Pseudo tty pair

        I have an old application that is being moved from UNIX to Linux
and it can only open what it thinks is a physical tty device. On the
UNIX system we have a process called ptsd (Pseudo Terminal Server
Daemon). It opens some configured number or Pseudo tty pairs (/dev/ptyp0
+ /dev/ttyp0) and waits for the Application to connection to one of the
slave pseudo ttys (i.e. /dev/ttyp0). Then the ptsd process forks and
runs a copy of itself, that will interact with the user as if they were
connected to a terminal server. It will allow them to make a telnet
connect (I know all about telnet not being secure and everybody should
be using ssh) to some where. It handles the telnet protocol and the
Application just thinks it is reading and writing to a physical tty
device.

        We are running RedHat AS 4.4 and later will be running AS 5.X.

>From what I can tell both have the /dev/ptmx device and the /dev/pts
directory. By opening the /dev/ptmx file with certain options it will create the next unused number in the /dev/pts directory. The problem is the Application has to know the name of the pseudo so it can open it. So I need the old style /dev/ttyp0 + /dev/ptyp0 so they can be configured and known ahead of time. Is there a loadable module that will give this functionality? Do I have to configure the kernel and rebuild the kernel to get this functionality? --- Jack Allen -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
Received on Mon Oct 15 15:08:32 2007

This archive was generated by hypermail 2.1.8 : Fri May 30 2008 - 14:21:19 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library