🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.open-look
Article #2886

Detecting X windows capabilities

#2886
From: Brent Webster
Date: Thu, 22 Jul 1993 12:42
20 lines
1580 bytes
Currently I've got a .login csh script running and I want to 
detect if a user remoting logging in has X windows capabilities.
Right now my using:

	xwininfo -root -display <remote host window>

This works fine when the remote machine is running X windows but
if it isn't then is has a tendency to just sit there waiting.
Is there some way I can set up a timeout or is their another
routine I can use?
---
*************************************************************
Brent Webster   (Synergy/ENET simulation prime)

Bell-Northern Research Ltd * Ph : (613) 763-4962
P.O. Box 3511, Station C   * Fax: (613) 763-7742 or 2626
Dept 7B12, MS103           * InterNet/NetNorth: webster@bnr.ca
OTTAWA,Ont,Canada K1Y 4H7  * Bitnet: webster@bnr.ca.bitnet
*************************************************************
#include <std.disclaimer>
Technical Details
Message-ID: <1993Jul22.124224.2829@bnr.ca>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!noc.near.net!uunet!pipex!bnr.co.uk!bnrgate!bcars267!bcars768!webster

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11580b,eb4f1f7a3a8c5bc3,start
X-Google-Attributes: gid11580b,public
X-Google-Thread: 14b500,eb4f1f7a3a8c5bc3,start
X-Google-Attributes: gid14b500,public
X-Google-ArrivalTime: 1993-07-22 07:27:56 PST
Newsgroups: comp.windows.open-look,bnr.unix
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!noc.near.net!uunet!pipex!bnr.co.uk!bnrgate!bcars267!bcars768!webster
From: webster@bnr.ca (Brent Webster)
Subject: Detecting X windows capabilities
Message-ID: <1993Jul22.124224.2829@bnr.ca>
Sender: news@bnr.ca (usenet)
Nntp-Posting-Host: 47.92.1.188
Reply-To: webster@bnr.ca
Organization: Bell Northern Research Ltd
Date: Thu, 22 Jul 1993 12:42:24 GMT
Lines: 21