Official MINIX sources - Automatically replicated from gerrit.minix3.org
Go to file
Ben Gras 26844e05e7 From: Giovanni <gfalzoni@inwind.it>
To: Ben Gras <beng@few.vu.nl>
Date: Wed, 02 Nov 2005 19:05:13 +0100
Subject: Re: [Minix-devel-l] Symbolic link

Using an alias for cd to set the prompt to display the current path
breaks the cd command.  I use in .ashrc:
PS3=$PS1
hostname=$(expr `cat /etc/hostname.file` : '\([^.]*\)')
cd() {          ## shows current directory as prompt
   command cd "$@"
   PS1="$PS3$USER@$hostname:`pwd` > "
}

If you change the macro in shell.h to:
#define SYMLINKS  0
the correct behaviour is restored.  Could you verify?
I think that the ash package needs the patch.
2005-11-03 15:25:18 +00:00
boot No backquotes. 2005-09-07 18:24:38 +00:00
commands From: Giovanni <gfalzoni@inwind.it> 2005-11-03 15:25:18 +00:00
drivers Less restrictive I/O port check. 2005-11-03 13:42:56 +00:00
etc Added periodic checks from RS to drivers. 2005-10-21 14:34:13 +00:00
include Fix 2005-11-01 13:15:44 +00:00
kernel Removed debug printfs. 2005-10-24 13:48:50 +00:00
lib library fixes for symlink, readlink and lstat 2005-11-01 13:13:31 +00:00
man New rescue functionality. 2005-10-21 13:28:26 +00:00
servers Giovanni's symlink patches. 2005-11-01 13:19:40 +00:00
test Fixed problem in subtest 1; Part of test is now in #if DEAD_CODE ... #endif, 2005-10-05 11:28:12 +00:00
tools *** empty log message *** 2005-10-31 12:21:52 +00:00
LICENSE Initial revision 2005-04-21 14:53:53 +00:00
Makefile call libraries with $(GMAKE) 2005-10-21 18:31:45 +00:00