2008/8/1 Anselm R Garbe <garbeam_AT_gmail.com>:
> Well yes and no. Allowing setting readin in config.h, means that one
> could set it to False by default, without closing stdin. But one could
> enable it furtheron defining some Key handler function. That's why I
> think declaring it in config.h is a good idea in general.
Actually stdin isn't closed during the main event loop, so that echo |
dwm should work, since readin can be accessed from some key handler
defined in config.h anyways. So yes, I agree, it's not necessary to
move the declaration, though you would get EOF in the case of echo |
dwm whereas you would get dwm-VERSION in the case that readin is set
to False in config.h. Sort of I prefer to move the declaration to
config.h
Kind regards,
--Anselm
Received on Fri Aug 01 2008 - 12:50:32 UTC
This archive was generated by hypermail 2.2.0 : Fri Aug 01 2008 - 13:00:04 UTC