On Tuesday, July 13, 1999 12:00 PM, Blaz Antonic [SMTP:[EMAIL PROTECTED]] wrote:
: > protocol is set with environment variables (they don't work yet with ELKS, I have
: > a patch coming) or a recompile of mwin/src/drivers/mou_ser.c.
: 
: Of course they do. My mouse is attached to second serial port
: (/dev/ttys1) so default code wouldn't work (nothing happened when i
: moved mouse, of course). When i did "export MOUSE_PORT=/dev/ttys1"
: (without quotes) in ash prompt it worked fine afterwards.
:  
:                                       bye, Ab
: 

        No - environment variables *don't* work.  Try setting two or three environment
variables.  You will find that the first one or so works, and the rest replace the 
first
one.  The bug is in putenv(), and if you look at the code you'll see how incredibly
messed up it is.

        The problem is that people have never tried to set more than one environment
variable from a shell.  Any shell that uses putenv will fail.  This includes sash.  Ash
doesn't have the problem, since it uses another method.

Greg


Reply via email to