delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/25/09:51:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 25 Jan 2005 15:50:14 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Lynx - Unable to Shell
Message-ID: <20050125145014.GG17455@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <s1f60cb1 DOT 005 AT isugw DOT indstate DOT edu>
Mime-Version: 1.0
In-Reply-To: <s1f60cb1.005@isugw.indstate.edu>
User-Agent: Mutt/1.4.2i

On Jan 25 09:08, Steven Read wrote:
> Corinna,
> 
> Thanks very much for nailing this one. I had checked the environment
> before posting my original message:

No, apparently you didn't...

> sread AT topaz ~
> $ set|grep SHELL
> SHELL=/bin/bash
> SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor

... because `set' only prints the internal variables of ash/bash, not
the variables exported into the environment.  If you want to print
the environment, call `env'.

> What got me was that I had not done an export on any of the environment
> variables. Pordon my ignorance but what did I miss here?

This has been discussed already two(?) years ago when bash version 2.05
saw the light.  It's mentioned also in /usr/share/doc/bash-2.05b/CHANGES,
line 576:

w.  Bash no longer auto-exports HOME, PATH, SHELL, or TERM, even though it
    gives them default values if they don't appear in the initial environment.

Bash expects SHELL to be set by the invoking login mechanism.  Add
`export SHELL' to your own .profile and you're all set.

>  Really I did read the FAQ. By the way
> could I persuade you to release the API in PDF format?)

HTML is working fine.  I don't see the advantage of PDF over HTML.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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