Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
Subject: application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
Subject: X Windows problem (xauth)
Subject: Upgrading openoffice 1 1 rpm
Subject: FTP: connection refused
Subject: FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
Subject: broadcom network interface
make mrproper
Couldn 't open PID file /var/run/named/named pid Permission denied
sendmail configuration on redhat
kernel 2 6 and /dev/sound/mixer not found
Subject: Promise 378 controller
Subject: Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
Subject: Lotus Notes under Wine
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
/etc/security/limits conf question
Intel E/1000 driver
rpm database corrupt
Command stream end of file while reading
qla2300 modules
 
Pseudo tty pair

Pseudo tty pair

2007-10-15       - By Allen, Jack

 Back
  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@(protected)
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@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list