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

Re: UNIXMODE Environment ?



Juergen Lock writes :

>how about a `long __default_unixmodebits__' with some sort of bitmap
>for the various unixmode flags, somewhat like the stdio __default_mode__
>we already have?  add both to the symbol list for xstrip -k, then the
>^M die-hards could still patch their preferred settings into their
>local executables...  and leave us init, sendmail, uucp, scripts, etc.
>users alone with their cp/m problems.

I think this is the best proposal anybody has come up with.

We still need a flexible hashbang mechanism that doesn't rely on the
Mintlibs, though. Extending the kernel is not acceptable because of the 
filename mangling that is needed (I think Frank Bartels reminded us of that).

My proposal : specify the name of a little program in mint.cnf, using the 
standard filename conventions, that is called whenever a #! is found at
the beginning of an executable. It is up to this program to find the correct
interpreter, and to start it with the executable as argument.

Any comments ?

>
> speak up now, or i'll start hacking...
>

Please do !

Joris