From owner-freebsd-questions Wed Sep 20 8:35:42 2000 Delivered-To: freebsd-questions@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id 1834237B424 for ; Wed, 20 Sep 2000 08:35:41 -0700 (PDT) Received: from opal (cs.binghamton.edu [128.226.123.101]) by bingnet2.cc.binghamton.edu (8.9.3/8.9.3) with ESMTP id LAA16692 for ; Wed, 20 Sep 2000 11:35:38 -0400 (EDT) Date: Wed, 20 Sep 2000 11:35:27 -0400 (EDT) From: Zhiui Zhang X-Sender: zzhang@opal To: freebsd-questions@freebsd.org Subject: Set X DISPLAY host automatically Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I can log into several machines. Each time I have to do something like $ setenv DISPLAY log_in_machine:0 Is there a way I can let the shell to substitute the log_in_machine for me automatically without having to find out with hostname manually? Thanks -Zhihui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message