delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/11/03/06:33:53

From: mchase AT ix DOT netcom DOT com (Michael A. Chase)
Subject: Re: bug in bash with sergey's latest patches?
3 Nov 1997 06:33:53 -0800 :
Message-ID: <01bce6ee$1389e3a0$f5528989.cygnus.gnu-win32@prog017744070-3.boeing.com>
Mime-Version: 1.0
To: "Nicholas Mitchell" <mitchell AT cs DOT ucsd DOT edu>, <gnu-win32 AT cygnus DOT com>

It looks like your are getting a CR at the end of the output from
hostname.  To check my guess, try:

   echo "      '$HOST' "
   echo "      '$DISPLAY' "

If I'm right, you'll see something like

   '     'dulcea
  :0.0   'dulcea

I don't see the effect with Sergey's 971029 cygwin.dll.

Mac :})
-----Original Message-----
From: Nicholas Mitchell <mitchell AT cs DOT ucsd DOT edu>
To: gnu-win32 AT cygnus DOT com <gnu-win32 AT cygnus DOT com>
Date: Monday, October 13, 1997 18:40
Subject: bug in bash with sergey's latest patches?


>
>bash, with the Sergey's latest patches, seems to have a bug. From the
>command line, this works:
>
>     % export HOST=`hostname`
>     % printenv HOST
>           DULCEA                 # this is fine, notice all caps
>     % export DISPLAY=$HOST:0.0
>     % printenv DISPLAY
>           DULCEA:0.0
>
>but if I stick these two lines in my .bashrc
>         export HOST=`hostname`
>         export DISPLAY=$HOST:0.0
>
>I get this:
>     % printenv HOST
>           dulcea                 # fine, but notice lower case, now
>     % printenv DISPLAY
>           :0.0ea                 # oops!


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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