From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,c9a9697387ffc5e1,start X-Google-Attributes: gidf7344,public X-Google-Thread: fc7fa,c9a9697387ffc5e1,start X-Google-Attributes: gidfc7fa,public X-Google-ArrivalTime: 1992-07-14 01:23:38 PST Xref: sparky comp.os.vms:12211 comp.sys.vms:14 Path: sparky!uunet!dove!dove.nist.gov!przemek From: przemek@rrdstrad.nist.gov (Przemek Klosowski) Newsgroups: comp.os.vms,comp.sys.vms Subject: Terminal identification (DECWindow and LAT) Message-ID: Date: 14 Jul 92 16:44:52 GMT Sender: news@dove.nist.gov Followup-To: comp.os.vms Organization: U. of Maryland/NIST Hello! We are running programs that control the external hardware. The same program is used to (1) actually change the functions executed, and (2) to look up the current data/status/etc. We want to keep (1) a privileged operation, to be executed only from terminals that are physically close to the hardware (for safety reasons), while (2) can be executed from any local terminal. Currently, the instrument terminals are hooked up to dedicated serial lines, so it is easy to look up the port number and grant privileges based on that. However, we want to move to LAT and network (DECWindows) terminals; my 2 questions are: - is there a way to tell (from within a program) which terminal is logged over a LAT? (LAT/Port pair would of course identify the terminal uniquely) I expect this to be easy, it is just that we don't have much experience with LAT. - is there a way to tell (from within a program) which DECWindow terminal (DECnet transport) is being used (the Ethernet address or DECnet node name/number will do the trick) Anyone who could answer either question (or both) would gain our gratitude. Please either e-mail or follow up; I will summarize . -- przemek klosowski (przemek@rrdstrad.nist.gov) Reactor Division (bldg. 235), E111 National Institute of Standards and Technology Gaithersburg, MD 20899, USA (301) 975 6249