Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]tlug: bash startup scripts
- To: tlug@example.com
- Subject: tlug: bash startup scripts
- From: "Stephen J. Turnbull" <turnbull@example.com>
- Date: Fri, 13 Nov 1998 12:43:58 +0900 (JST)
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <m3emr88ko4.fsf@example.com>
- References: <m3emr88ko4.fsf@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
I have long been dissatisfied with the shell startup scripts provided by the major distributions. Bash has a variety of them but basically you've got "/etc/profile" and "~/.bash_profile" for login shells (the latter normally sources "~/.bashrc" according to `info bash'), ".bashrc" for non-login interactive shells, and $BASH_ENV for non-interactive shells. POSIX shells (ie bash when invoked as "sh") use "/etc/profile" and "~/.profile" for login shells, $ENV for interactive shells, and nothing for non-interactive shells. Potentially this seems to be a very flexible setup. Why doesn't it work right? (That's rhetorical.) Specifically, I would like to distinguish between a single "login" xterm that functions sort of as a user console, getting messages and stuff, and "work" xterms that are not login shells. But things never work out quite right. I will start from scratch if necessary, but does anybody have a heavily customized shell startup setup[1] or a pointer to a distribution whose shell startup files are markedly better than the others to recommend? (The real question.) Footnotes: [1] I mean putting functionality in specific files for specific reasons you can explain, or moving it back and forth between the files until bash usually DTRT. I don't mean adding lots of aliases or changing the prompts, etc. C-shell and K-shell advocates need not reply. -- University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091 __________________________________________________________________________ __________________________________________________________________________ What are those two straight lines for? "Free software rules." ---------------------------------------------------------------- Next Nomikai: 20 November, 19:30 Tengu TokyoEkiMae 03-3275-3691 Next Technical Meeting: 12 December, 12:30 HSBC Securities Office ---------------------------------------------------------------- more info: http://tlug.linux.or.jp Sponsors: PHT, HSBC Securities
- Follow-Ups:
- Re: tlug: bash startup scripts
- From: Klaus Kudielka <kudielka@example.com>
- Re: tlug: bash startup scripts
- From: Rex Walters <rex@example.com>
- References:
- tlug: Spam mail
- From: Frank Bennett <bennett@example.com>
Home | Main Index | Thread Index
- Prev by Date: tlug: Porting xsokoban to win32
- Next by Date: Re: tlug: Porting xsokoban to win32
- Prev by thread: Re: tlug: ESS 1879 sound chip not recognized under TL kernel 2.0.35
- Next by thread: Re: tlug: bash startup scripts
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links