This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: stty and echo woes

[1] which bash
bash is /bin/bash
[2] which sh
sh is /bin/sh

I unset the SHELL envionment variable from my default env settings so it now
when a bash shell starts it has

[3] echo $SHELL

However the problem still remains

Peter Buckley writes:
>I am using cygwin 1.3.3-2 and when I type "which echo" from a bash 
>shell, it tells me "/usr/bin/echo". That is the echo in c:\cygwin\bin.

Exactly !

I guess I should have been more direct and asked about the results of 
% which bash
% which sh

I found this line in Mark's cygcheck output 'worrisome'
SHELL = `c:/mksnt/sh.exe'



-----Original Message-----
From: Mark Wood-Patrick 
Sent: Friday, December 28, 2001 1:07 PM
To: ''
Cc: Mark Wood-Patrick (
Subject: RE: stty and echo woes

Norman writes:

>> Yikes, that is quite the $PATH
>> You might want to think about simplifing it a bit when working in a 
>> Cygwin shell

>> what is the result of issuing
>> % which echo

>> Cheers

>> Norman

I have rationalized my path some and 'which echo' returns "echo is a shell
builtin" since I am running with bash.

Problems still remain


-----Original Message-----
From: Mark Wood-Patrick 
Sent: Friday, December 28, 2001 10:25 AM
To: ''
Cc: Mark Wood-Patrick (
Subject: stty and echo woes

I removed the extraneous version of the cygwin1.dll from my path and
rebooted my Pc. The problem still remains. An updated cygcheck output is

On Wed, Dec 26, 2001 at 11:48:37AM -0800, Mark Wood-Patrick wrote:
>I have $CYGWIN=tty
>I have cygwin version package 1.3.6-6
>Cygcheck info enclosed.

Take a close look at your cygcheck output.  You have two different versions
of the DLL in your path.  Remove the older one.


-----Original Message-----
From: egor duda [] 
Sent: Wednesday, December 26, 2001 7:48 AM
To: Mark Wood-Patrick
Cc:; Mark Wood-Patrick (
Subject: Re: stty and echo woes


Wednesday, 26 December, 2001 Mark Wood-Patrick

MWP> I am having problems with echo being disabled after running certain 
MWP> commands (e.g. man, less, tset). I am runing Cygwin DLL 1.1.8 on 
MWP> windows 2k. My TERM variable ois set to cygwin.

how about CYGWIN environment variable? Does it set to 'tty'?

MWP> Does anyone have any idea what's going on here or how I fix it

first, you may consider trying to upgrade to the latest version of
cygwin1.dll. I don't remember any tty issues being fixed lately, but 1.1.8
is a waaay back. second, please include cygcheck output to your report so
that people can see what your environment is.

Egor.   ICQ 5165414 FidoNet 2:5020/496.19

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]