delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/02/13/18:12:15

Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com
Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
X-Mailer: emacs 20.3.5.3.1 (via feedmail 8 I);
VM 6.67 under Emacs 20.3.5.3.1
From: "David Starks-Browning" <starksb AT ebi DOT ac DOT uk>
MIME-Version: 1.0
Message-ID: <14021.49271.322000.718298@gargle.gargle.HOWL>
Date: Sat, 13 Feb 1999 18:12:07 +0000 (GMT Standard Time)
To: cygwin AT sourceware DOT cygnus DOT com
CC: Sergey Okhapkin <sos AT prospect DOT com DOT ru>
Subject: setting CYGWIN from telnetd

Greetings cygwin readers,

Using inetd/telnetd from Sergey's remote package on B20.1.  Login
shell in /etc/passwd is bash.  How can I set the CYGWIN environment
variable when bash is executed as a login shell from telnetd?

I thought about adding the following to ~/.bash_profile:

export CYGWIN=...
exec bash

(Of course you would have to be more careful if you wanted "exec bash
-login" instead.)

Is this the correct technique, or is there a better way to do this?

Regards,
David

 -------------------------------------------------------------------
  David Starks-Browning                  | starksb AT ebi DOT ac DOT uk
  EMBL Outstation --                     |
  The European Bioinformatics Institute  |
  Wellcome Trust Genome Campus           | tel: +44 (1223) 494 616
  Hinxton, Cambridge, CB10 1SD, UK       | fax: +44 (1223) 494 468
 -------------------------------------------------------------------


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019