From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103734,674f735b36ac5ffe X-Google-Attributes: gid103734,public X-Google-Thread: 1070f0,674f735b36ac5ffe X-Google-Attributes: gid1070f0,public X-Google-Thread: fee84,674f735b36ac5ffe X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-10-10 10:03:14 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!swiss.ans.net!news.dfn.de!gs.dfn.de!tubsibr!mkl From: mkl@rob.cs.tu-bs.de (Mario Klebsch DG1AM) Newsgroups: comp.windows.x,comp.sys.sun.admin,comp.unix.osf.osf1 Subject: Re: Any script for setting the DISPLAY variable? Date: 10 Oct 1994 16:33:36 GMT Organization: TU Braunschweig, Informatik (Bueltenweg), Germany Distribution: usa Message-ID: <37bqd0$7mp@ra.ibr.cs.tu-bs.de> References: <35s3f6$4es@bigdog.fred.net> <370u57$8a9@ra.ibr.cs.tu-bs.de> NNTP-Posting-Host: whoopi.rob.cs.tu-bs.de Xref: bga.com comp.windows.x:12434 comp.sys.sun.admin:17230 comp.unix.osf.osf1:3960 Hello! gwa1@bluecross.on.ca (Greg Walker) writes: >In article <370u57$8a9@ra.ibr.cs.tu-bs.de>, >Mario Klebsch DG1AM wrote: >> >>It does not lead to a correct DISPLAY variable when you just figure >>out, from which host you logged in. The IMHO most easy way would be, >>if xterm had a query for the DISPLAY. But it does not. >And just how would it do this? X clients can only find out the >address of the server they are to query by examining the DISPLAY >variable. It seems to me that you propose a circular solution. There are lots of programs out there to figure out, what TERM you are using, by sending a query string and processing the answer. I use termset (found on ftp.tu-bs.de). There could be a feature in xterm, to query a correct, canonified DISPLAY name from xterm. The termset can query the DISPLAY after recognising, it is dealing with xterm. >Besides, there are many xrsh scripts out there that are extremely >portable and can be installed on all your systems. Then it's just >a simple "xrsh hostname xterm". Look for it with archie. I prefer to run xterm on my local host with -e rlogin remotehost as option. This should result in less network traffic. And since all xterms are running on my local host, they should share their code and startup time should be less. Mario -- Mario Klebsch, DG1AM, mkl@rob.cs.tu-bs.de +49 531 / 391 - 7457 Institut fuer Robotik und Prozessinformatik der TU Braunschweig Hamburger Strasse 267, 38114 Braunschweig, Germany