public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Lynx - Unable to Shell
@ 2005-01-25 14:48 Steven Read
  2005-01-25 14:50 ` Steven Read
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Steven Read @ 2005-01-25 14:48 UTC (permalink / raw)
  To: corinna-cygwin; +Cc: cygwin

Corinna,

Thanks very much for nailing this one. I had checked the environment
before posting my original message:

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

sread@topaz ~
$ /bin/bash

sread@topaz ~

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? On the Sun box
I use the environment variables from .profile (which does not exist in
Cygwin) are properly exported. Really I did read the FAQ. By the way
could I persuade you to release the API in PDF format?)

Steven Read - 812/237-3362 - s-read@indstate.edu
Indiana State University

>>> corinna-cygwin@cygwin.com 01/25/2005 4:46 AM >>>
On Jan 24 22:58, Steven Read wrote:
> When I attempt to shell out from Lynx the message "Spawning your
default
> shell.  Use 'exit' to return to Lynx." flashes briefly but nothing
else
> seems to happen. Upon exiting Lynx after browsing the message
"Spawning
> your default shell.  Use 'exit' to return to Lynx." is visible
between
> the lynx command line and the most recent prompt line.
> 
> The uname command returns:
> 
> CYGWIN_NT-5.0 anon 1.5.12(0.116/4/2) 2004-11-10 08:34 i686 unknown
> unknown Cygwin
> 
> The version information for lynx is:
> 
> Lynx Version 2.8.4rel.1 (17 Jul 2001)
> libwww-FM 2.14, SSL-MM 1.4.1, OpenSSL 0.9.7b
> Built on cygwin Aug 11 2003 22:59:49

Works for me.

Could you please check if $SHELL is defined, points to an existing
shell
*and*, that's important, is also in the environment?  Bash for
instance
defines $SHELL, but doesn't export it by default.  Calling `export
SHELL'
should help.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin
to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.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/ 


--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Lynx - Unable to Shell
  2005-01-25 14:48 Lynx - Unable to Shell Steven Read
@ 2005-01-25 14:50 ` Steven Read
  2005-01-25 15:21 ` Igor Pechtchanski
  2005-01-25 15:30 ` Corinna Vinschen
  2 siblings, 0 replies; 7+ messages in thread
From: Steven Read @ 2005-01-25 14:50 UTC (permalink / raw)
  To: corinna-cygwin; +Cc: cygwin

Corinna,

Thanks very much for nailing this one. I had checked the environment
before posting my original message:

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

sread@topaz ~
$ /bin/bash

sread@topaz ~

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? On the Sun box
I use the environment variables from .profile (which does not exist in
Cygwin) are properly exported. Really I did read the FAQ. By the way
could I persuade you to release the API in PDF format?)

Steven Read - 812/237-3362 - s-read@indstate.edu
Indiana State University

>>> corinna-cygwin@cygwin.com 01/25/2005 4:46 AM >>>
On Jan 24 22:58, Steven Read wrote:
> When I attempt to shell out from Lynx the message "Spawning your
default
> shell.  Use 'exit' to return to Lynx." flashes briefly but nothing
else
> seems to happen. Upon exiting Lynx after browsing the message
"Spawning
> your default shell.  Use 'exit' to return to Lynx." is visible
between
> the lynx command line and the most recent prompt line.
> 
> The uname command returns:
> 
> CYGWIN_NT-5.0 anon 1.5.12(0.116/4/2) 2004-11-10 08:34 i686 unknown
> unknown Cygwin
> 
> The version information for lynx is:
> 
> Lynx Version 2.8.4rel.1 (17 Jul 2001)
> libwww-FM 2.14, SSL-MM 1.4.1, OpenSSL 0.9.7b
> Built on cygwin Aug 11 2003 22:59:49

Works for me.

Could you please check if $SHELL is defined, points to an existing
shell
*and*, that's important, is also in the environment?  Bash for
instance
defines $SHELL, but doesn't export it by default.  Calling `export
SHELL'
should help.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin
to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.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/ 


--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Lynx - Unable to Shell
  2005-01-25 14:48 Lynx - Unable to Shell Steven Read
  2005-01-25 14:50 ` Steven Read
@ 2005-01-25 15:21 ` Igor Pechtchanski
  2005-01-25 15:30 ` Corinna Vinschen
  2 siblings, 0 replies; 7+ messages in thread
From: Igor Pechtchanski @ 2005-01-25 15:21 UTC (permalink / raw)
  To: Steven Read; +Cc: cygwin

On Tue, 25 Jan 2005, Steven Read wrote:

> Corinna,
>
> Thanks very much for nailing this one. I had checked the environment
> before posting my original message:
>
> sread@topaz ~
> $ set|grep SHELL
> SHELL=/bin/bash
> SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
> sread@topaz ~
> $ /bin/bash
>
> sread@topaz ~
>
> 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? On the Sun box

PAGER="less -p allexport" man bash

Don't know if this will work for automatically set stuff, like $SHELL,
though.

> I use the environment variables from .profile (which does not exist in
> Cygwin) are properly exported. Really I did read the FAQ. By the way
> could I persuade you to release the API in PDF format?)

The Cygwin API is in DocBook format.  There seem to be multiple ways of
getting from DocBook to PDF, just Google for "DocBook PDF".

> >>> corinna-cygwin@XXXXXX.XXX 01/25/2005 4:46 AM >>>

Oh, and <http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  Thanks.
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Lynx - Unable to Shell
  2005-01-25 14:48 Lynx - Unable to Shell Steven Read
  2005-01-25 14:50 ` Steven Read
  2005-01-25 15:21 ` Igor Pechtchanski
@ 2005-01-25 15:30 ` Corinna Vinschen
  2005-01-27  0:25   ` Joshua Daniel Franklin
  2 siblings, 1 reply; 7+ messages in thread
From: Corinna Vinschen @ 2005-01-25 15:30 UTC (permalink / raw)
  To: cygwin

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@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@cygwin.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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Lynx - Unable to Shell
  2005-01-25 15:30 ` Corinna Vinschen
@ 2005-01-27  0:25   ` Joshua Daniel Franklin
  0 siblings, 0 replies; 7+ messages in thread
From: Joshua Daniel Franklin @ 2005-01-27  0:25 UTC (permalink / raw)
  To: cygwin

> On Jan 25 09:08, Steven Read wrote:
> >  Really I did read the FAQ. By the way
> > could I persuade you to release the API in PDF format?)

You can easily create your own PDF from the DocBook XML files
(available in CVS or the cygwin-doc src package) on linux with a
command like:

xmlto pdf  cygwin-api.sgml

I have not created PDFs since it is not possible to do so on Cygwin right now
(no passivetex package). 

I may merge the API Reference into the User's Guide as an appendix
soon, in which case it would be updated with the User's Guide.

--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Lynx - Unable to Shell
  2005-01-25  6:21 Steven Read
@ 2005-01-25 10:42 ` Corinna Vinschen
  0 siblings, 0 replies; 7+ messages in thread
From: Corinna Vinschen @ 2005-01-25 10:42 UTC (permalink / raw)
  To: cygwin

On Jan 24 22:58, Steven Read wrote:
> When I attempt to shell out from Lynx the message "Spawning your default
> shell.  Use 'exit' to return to Lynx." flashes briefly but nothing else
> seems to happen. Upon exiting Lynx after browsing the message "Spawning
> your default shell.  Use 'exit' to return to Lynx." is visible between
> the lynx command line and the most recent prompt line.
> 
> The uname command returns:
> 
> CYGWIN_NT-5.0 anon 1.5.12(0.116/4/2) 2004-11-10 08:34 i686 unknown
> unknown Cygwin
> 
> The version information for lynx is:
> 
> Lynx Version 2.8.4rel.1 (17 Jul 2001)
> libwww-FM 2.14, SSL-MM 1.4.1, OpenSSL 0.9.7b
> Built on cygwin Aug 11 2003 22:59:49

Works for me.

Could you please check if $SHELL is defined, points to an existing shell
*and*, that's important, is also in the environment?  Bash for instance
defines $SHELL, but doesn't export it by default.  Calling `export SHELL'
should help.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Lynx - Unable to Shell
@ 2005-01-25  6:21 Steven Read
  2005-01-25 10:42 ` Corinna Vinschen
  0 siblings, 1 reply; 7+ messages in thread
From: Steven Read @ 2005-01-25  6:21 UTC (permalink / raw)
  To: cygwin

When I attempt to shell out from Lynx the message "Spawning your default
shell.  Use 'exit' to return to Lynx." flashes briefly but nothing else
seems to happen. Upon exiting Lynx after browsing the message "Spawning
your default shell.  Use 'exit' to return to Lynx." is visible between
the lynx command line and the most recent prompt line.

The uname command returns:

CYGWIN_NT-5.0 anon 1.5.12(0.116/4/2) 2004-11-10 08:34 i686 unknown
unknown Cygwin

The version information for lynx is:

Lynx Version 2.8.4rel.1 (17 Jul 2001)
libwww-FM 2.14, SSL-MM 1.4.1, OpenSSL 0.9.7b
Built on cygwin Aug 11 2003 22:59:49

Copyrights held by the University of Kansas, CERN, and other
contributors.
Distributed under the GNU General Public License.
See http://lynx.browser.org/ and the online help for more information.

See http://www.moxienet.com/lynx/ for information about SSL for Lynx.
See http://www.openssl.org/ for information about OpenSSL.

I realize I can open another window but curious why the shell command
is not working.

Steven Read - 812/237-3362 - s-read@indstate.edu
Indiana State University

--
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-01-26 22:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-25 14:48 Lynx - Unable to Shell Steven Read
2005-01-25 14:50 ` Steven Read
2005-01-25 15:21 ` Igor Pechtchanski
2005-01-25 15:30 ` Corinna Vinschen
2005-01-27  0:25   ` Joshua Daniel Franklin
  -- strict thread matches above, loose matches on Subject: below --
2005-01-25  6:21 Steven Read
2005-01-25 10:42 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).