[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cd

On Mon, Aug 02, 1999 at 09:12:16PM -0500, Ashutosh S. Rajekar wrote:
> sh-2.02# pwd
> //lib
> ---------
> Huh ?

Interesting :) Do you have the glibc sources? You could try to debug this.

> Also my opinion is that cat'ing of directories should not be permitted, or
> atleast dircolors or color ls should be provided, it is a pain trying to
> cat directories and cd' to text files.

I had the same opinion, but Thomas convinced me otherwise. Remember that in
the Hurd, there is no real difference between a file and a directory. A
translator could for example provide a file content (a tar file), but on the
other side look like a directory (cd myfoo.tar.gz; ls). Of course, you may
argue that for conventional directories it should not be permitted, but now
I can ask "Why?" and you don't have a good answer.

cd to text files should NOT work. If it does, which versions of the Hurd and
glibc do you have?

Color'ed ls requires a colored terminal. The Hurd terminal does not support
ANSI colors. But if you telnet in from a Linux machine, and try "ls
--color=auto", you will notice that the software does support colored output
if the terminal does.


`Rhubarb is no Egyptian god.' Debian http://www.debian.org   finger brinkmd@ 
Marcus Brinkmann              GNU    http://www.gnu.org     master.debian.org
Marcus.Brinkmann@ruhr-uni-bochum.de                        for public  PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/       PGP Key ID 36E7CD09

Reply to: