minix/commands/ash
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
..
bltin Bugfix by Joren 2005-10-18 11:00:03 +00:00
funcs Initial revision 2005-04-21 14:53:53 +00:00
sys Initial revision 2005-04-21 14:53:53 +00:00
test Initial revision 2005-04-21 14:53:53 +00:00
build ast@'s build files for easypack. 2005-09-19 13:15:15 +00:00
builtins.table Initial revision 2005-04-21 14:53:53 +00:00
cd.c Initial revision 2005-04-21 14:53:53 +00:00
dirent.c Initial revision 2005-04-21 14:53:53 +00:00
error.c Initial revision 2005-04-21 14:53:53 +00:00
error.h Initial revision 2005-04-21 14:53:53 +00:00
eval.c Initial revision 2005-04-21 14:53:53 +00:00
eval.h Initial revision 2005-04-21 14:53:53 +00:00
exec.c Initial revision 2005-04-21 14:53:53 +00:00
exec.h Initial revision 2005-04-21 14:53:53 +00:00
expand.c Hack for buffer overflow, should be fixed properly. 2005-06-08 11:05:27 +00:00
expand.h Initial revision 2005-04-21 14:53:53 +00:00
init.h Initial revision 2005-04-21 14:53:53 +00:00
input.c Initial revision 2005-04-21 14:53:53 +00:00
input.h Initial revision 2005-04-21 14:53:53 +00:00
jobs.c changed ash to use pid_t 2005-06-30 12:58:26 +00:00
jobs.h changed ash to use pid_t 2005-06-30 12:58:26 +00:00
machdep.h Initial revision 2005-04-21 14:53:53 +00:00
mail.c Initial revision 2005-04-21 14:53:53 +00:00
mail.h Initial revision 2005-04-21 14:53:53 +00:00
main.c Initial revision 2005-04-21 14:53:53 +00:00
main.h Initial revision 2005-04-21 14:53:53 +00:00
Makefile Use exec cc instead of cc (ast) 2005-09-07 08:43:25 +00:00
memalloc.c Initial revision 2005-04-21 14:53:53 +00:00
memalloc.h Initial revision 2005-04-21 14:53:53 +00:00
miscbltin.c Initial revision 2005-04-21 14:53:53 +00:00
mkbuiltins Initial revision 2005-04-21 14:53:53 +00:00
mkinit.c Initial revision 2005-04-21 14:53:53 +00:00
mknodes.c Initial revision 2005-04-21 14:53:53 +00:00
mksignames.c Initial revision 2005-04-21 14:53:53 +00:00
mksyntax.c Initial revision 2005-04-21 14:53:53 +00:00
mktokens Initial revision 2005-04-21 14:53:53 +00:00
mystring.c Initial revision 2005-04-21 14:53:53 +00:00
mystring.h Initial revision 2005-04-21 14:53:53 +00:00
nodes.c.pat Initial revision 2005-04-21 14:53:53 +00:00
nodetypes Initial revision 2005-04-21 14:53:53 +00:00
options.c Initial revision 2005-04-21 14:53:53 +00:00
options.h Initial revision 2005-04-21 14:53:53 +00:00
output.c Initial revision 2005-04-21 14:53:53 +00:00
output.h Initial revision 2005-04-21 14:53:53 +00:00
parser.c Initial revision 2005-04-21 14:53:53 +00:00
parser.h Initial revision 2005-04-21 14:53:53 +00:00
redir.c Initial revision 2005-04-21 14:53:53 +00:00
redir.h Initial revision 2005-04-21 14:53:53 +00:00
shell.h From: Giovanni <gfalzoni@inwind.it> 2005-11-03 15:25:18 +00:00
show.c Initial revision 2005-04-21 14:53:53 +00:00
TOUR Initial revision 2005-04-21 14:53:53 +00:00
trap.c Initial revision 2005-04-21 14:53:53 +00:00
trap.h Initial revision 2005-04-21 14:53:53 +00:00
var.c Initial revision 2005-04-21 14:53:53 +00:00
var.h Initial revision 2005-04-21 14:53:53 +00:00