![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LD linker define symbol | lzwierko | UNIX for Advanced & Expert Users | 3 | 04-04-2008 07:15 AM |
| #define in perl | srinivasan_85 | UNIX for Dummies Questions & Answers | 7 | 11-01-2007 04:02 AM |
| mysterious #define | frequency8 | High Level Programming | 6 | 05-26-2007 09:16 AM |
| How to define a port in solaris 8 | Reza Nazarian | SUN Solaris | 3 | 05-07-2006 10:43 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Can I change or define ttyp0?
I placed this in the IP Networking forum and have gotten a big 0 in response. After reading a reply from killerserv to someone's problem I have decided to post the message here and see what happens. If nothing else does ANYONE have ANY suggestions on where to look or a book I could read or something?
Can I change or define the ttyp0 address a particular computer logs into? I want to be able to telnet into an SCO OpenServer 5 system and need a defined login. ie. /dev/tty01, /dev/tty1a, /dev/ttyS00, /dev/nt101 I can use NetTerminal software for the Boundless NetTerminals and get /dev/nt101 - nt112 for all 12 screens on a NetTerminal. I could also get /dev/nt201 - nt212 for the second terminal and so on. With my application I need to be able to set options using the /dev/ttyXX. Of course ttyp0 could be used on any terminal at any time. I hope this is clear enough and understandable. Thanks in advance for any help. Jon |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Give me some more information on exactly what it is that you are doing.... When you say 'options" what exactly do you mean?
__________________
:D |
|
#3
|
|||
|
|||
|
Well, on the console I have tty01, tty02, tty03 through tty12. Each screen is able to have parameters for printing assigned by the port name. I could set up screen tty01 to print to a printer on /dev/lp0 and on screen tty02 I could set it up to print on a printer on /dev/lp1 or /dev/tty1a or whatever printer I need to. 2 files are saved in the home directory. tty01.cnf and tty01.xd.
Now if I have 2 computers ran through IP I will have ttyp0 through as many screens as I login in on. If I have one computer on the 2nd floor and one computer on the third floor I would need to assign each computer to print on the printers on the second floor and third floor with each computer. The problem is that I could log in on the computer on the second floor and get /dev/ttyp0 one time and /dev/ttyp1 the next. If I set the parameters for the session to print on the second floor it would run fine until the computer on the third floor logs in on /dev/ttyp0 or /dev/ttyp1. If I could set the computer that is on the second floor to always log in on /dev/ttyp0 and the computer on the third floor to log in on /dev/ttyp1 it would work fine. I would like to be able to use multiple telnet sessions as well. If I could set the second floor computer to /dev/ttyp0 through /dev/ttyp12 and the computer on the third floor to /dev/ttyp13 to /dev/ttyp24 that would be nice. I have read something about a login support program. Is this what I need or is it just a script I write? Boundless makes the Net Terminals I can use. They have software I can install to make the screens come up as /dev/nt101, /dev/nt102 through /dev/nt112. Net Terminal #1 screen 1 - 12. When the login comes up I get something similar to this: SCO OpenServer(TM) Release 5 (scosysv) (ttyp0) Net Terminal login on /dev/nt101: I have these entries in my/etc/hosts and /etc/netterms files: /etc/hosts file 192.168.0.1 scosysv scosysv 192.168.0.2 netterm1 /etc/netterms file # # Symbolic names of NetTerminals from /etc/hosts. # netterm1 I only have one login and each user uses it. I have no multple user accounts. If I could set it up so each IP address has it's own login that would be great. Maybe even If I could use the computer name on the computer. I have been useing Anzio Lite for my telnet session. Could there be another program that may do what I am looking for? |
|||
| Google The UNIX and Linux Forums |