Re: umask in modules
Manage your shell environment variables and aliases
Brought to you by:
leomania,
xdelaruelle
From: Robert M. <eg...@ce...> - 2000-05-26 20:05:03
|
Istvan Marko wrote: > > Tor Asle Foss <Tor...@er...> writes: > > > Hi, can anyone tell me if it is possible to use the umask command in a startup > > module to get this new umask available for all the shells I start up. > > I don't think Modules supports this. Looking at the sources and the > documentation, Modules can handle the following resources: > > - Environment variables > - aliases (where supported) > - X resources > > Adding the following could be useful: > - umask > - X font paths > anything else? > > -- > Istvan Since there is only one umask for a shell I do not think it is that useful for modules to handle it. If module "a" needs a umask of 002 and module "b" needs a umask of 007 what is modules to do when both "a" and "b" are added. It depends on what order they are added. Not a good situation. What is the case where you need to set the umask? The X font path seems to be useful. There are a few things that make it a bit hard to implement. Checking to see if the directory is a valid font directory for one. Another thing what happens to running applications when the font path is changed? I guess one could look at the X server code to find out. -- Robert Minsk Centropolis Effects, LLC. eg...@ce... 10950 Washington Blvd., Studio B Culver City, Ca. 90232-4025 |