ram-ashwin@YALE.ARPA.UUCP (10/02/87)
How do I get #!/com/sh scripts to read an Aegis shell startup file automatically, without having to source ~/user_data/sh.sh or ~/user_data/sh/startup explicitly in each shell script? Similarly, how do I pass other arguments to /com/sh (such as -eon or -script)? I tried putting flags after #!/com/sh in the first line, but as far as I could tell they didn't get read at all. Since /com/sh doesn't read a startup file by default, you end up not getting the right csr's etc. in many cases (e.g., if you cp'd a process to run that script, or if the shell script is run from a Unix shell which hasn't itself been created underneath a /com/sh with the right csr. This is a related problem; I have to do something gross like "/com/sh -start ~/user_data/sh.sh -c /bin/start_csh" to start Unix shells to get around this.) -- Ashwin Ram -- ARPA: Ram-Ashwin@cs.yale.edu UUCP: {decvax,linus,seismo}!yale!Ram-Ashwin BITNET: Ram@yalecs