iadded note about the low precedence of shell to config.def.h - st - Simple Terminal Err gopher.r-36.net 70 i Err gopher.r-36.net 70 1Log /scm/st//log.gph gopher.r-36.net 70 1Files /scm/st//files.gph gopher.r-36.net 70 1Refs /scm/st//refs.gph gopher.r-36.net 70 1README /scm/st//file/README.gph gopher.r-36.net 70 1LICENSE /scm/st//file/LICENSE.gph gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1commit 1d348e98e3745ef98bf9fa36119ead6294c6c80b /scm/st//commit/1d348e98e3745ef98bf9fa36119ead6294c6c80b.gph gopher.r-36.net 70 1parent 62756fdb4945a80f4a53e6d354d5d93f51035517 /scm/st//commit/62756fdb4945a80f4a53e6d354d5d93f51035517.gph gopher.r-36.net 70 hAuthor: Mytchel Hammond URL:mailto:mytchel@openmailbox.org gopher.r-36.net 70 iDate: Fri, 24 Jul 2015 17:58:18 +1200 Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iadded note about the low precedence of shell to config.def.h Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iDiffstat: Err gopher.r-36.net 70 i config.def.h | 9 +++++++++ Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i1 file changed, 9 insertions(+), 0 deletions(-) Err gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1diff --git a/config.def.h b/config.def.h /scm/st//file/config.def.h.gph gopher.r-36.net 70 i@@ -7,6 +7,15 @@ Err gopher.r-36.net 70 i */ Err gopher.r-36.net 70 i static char font[] = "Liberation Mono:pixelsize=12:antialias=false:autohint=false"; Err gopher.r-36.net 70 i static int borderpx = 2; Err gopher.r-36.net 70 i+ Err gopher.r-36.net 70 i+/* Err gopher.r-36.net 70 i+ * What program is execed by st depends of these precedence rules: Err gopher.r-36.net 70 i+ * 1: program passed with -e Err gopher.r-36.net 70 i+ * 2: utmp option Err gopher.r-36.net 70 i+ * 3: SHELL environment variable Err gopher.r-36.net 70 i+ * 4: value of shell in /etc/passwd Err gopher.r-36.net 70 i+ * 5: value of shell in config.h Err gopher.r-36.net 70 i+ */ Err gopher.r-36.net 70 i static char shell[] = "/bin/sh"; Err gopher.r-36.net 70 i static char *utmp = NULL; Err gopher.r-36.net 70 i static char stty_args[] = "stty raw -echo -iexten echonl"; Err gopher.r-36.net 70 .