Graham Wilson wrote: > On Tue, Apr 11, 2006 at 12:54:49PM +0200, Nikolaus Schulz wrote: > > "calendar -a" uses the locale from the environment for its output, > > whatever that is. If root runs it, it's root's locale; if cron runs > > it, it's likely POSIX, or whatever is setup in the crontab. It does, > > however, completely ignore the locale of the user who owns the > > calendar file it's processing. > > This is the difficult part though. How should calendar figure out the > locale of the user it is sending mail to?
It could spawn a (login) shell, just like "su -" does. Would this be reasonable? As I mentioned earlier, the "su" code looks non-trivial, at least to me; but I haven't looked at it thoroughly. Nikolaus -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]