Does anyone know if there is a way to control the pty naming process? Specifically I am using thin clients as terminal emulators, they connect to the server via ssh over the LAN, I want to be able to tell the server that when thin client 'A' connects always assign pts/0 and when thin client 'B' connects always assign pts/1, etc... Anyone know if anything like this is possible?
We are running a home grown app in which we have a configuration option that allows us to assign peripherals to specific terminals, for example I can say when tty1 prints the job will go to printer 'A', but if tty2 prints the job will go to printer 'B'. We used to use dumb terminals over serial for the remote terminals so we had full control over the tty port they were on. The thin clients over LAN get the first pseudo terminal available, I can't figure out how to control that.