i wrote:
|Hello Ypnose!
|P.S.: Sorry for the inconvenience anyway! Of course i can create
|a patch that you could use to disable this explicit setting for
|SHELL/LISTER/PAGER! Wait, i'll attach it, too.
Forget that nonsense, the attached would be it, then.
--steffen
diff --git a/main.c b/main.c
index 26270f4..9212d77 100644
--- a/main.c
+++ b/main.c
@@ -317,9 +317,12 @@ _startup(void)
* TODO variables so that users see the internal fallback settings
* TODO (something like "defval=X,notempty=1") */
{
- ok_vset(SHELL, XSHELL);
- ok_vset(LISTER, XLISTER);
- ok_vset(PAGER, XPAGER);
+ if (env_vlook("SHELL", TRU1) == NULL)
+ ok_vset(SHELL, XSHELL);
+ if (env_vlook("LISTER", TRU1) == NULL)
+ ok_vset(LISTER, XLISTER);
+ if (env_vlook("PAGER", TRU1) == NULL)
+ ok_vset(PAGER, XPAGER);
ok_vset(sendmail, SENDMAIL);
ok_vset(sendmail_progname, SENDMAIL_PROGNAME);
}
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
S-nail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/s-nail-users