[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SEUL: Stopping dreams




Not true, .bash_profile is read on any login shell, even telnet or rlogin.
You need to test the terminal to see if it is tty[0-9]. Terminal type is not
enough.  If you are telnetting in from another linux box at the console, your
terminal type will be linux.


On 17-Feb-98 Cyberdyn wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> 
> On 17-Feb-98 George Bonser wrote:
> - -> I would probably stick it in .bash_login which is only invoked on a
> login
> - -> shell. This prevents you from being troubled by the message when you
> spawn
> - -> an
> - -> xterm. Also, bash will execute what it finds in .bash_logout when you
> log
> - -> out
> - -> to shut the x server down.
> 
> .bash_profile is only used when you login from a tty.  .bashrc is read when
> using a pty (telnet and xterm).
> 
> - ---
> E-Mail: Cyberdyn@seul.org       Date: 17-Feb-98        Time: 01:59:46
> Carswell's Corollary:
>         Whenever man comes up with a better mousetrap,
>         nature invariably comes up with a better mouse.
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: 2.6.3a
> Charset: noconv
> 
> iQCVAwUBNOk1ZErwMsuKKoVhAQHPTwQAoLmvV7blGSOWUvb9TarM23UAIyKkbJmE
> 5waNXsUjZ+JDo7G9+t+g4jOkUgXZO5+139waXllL+L/Kz9+P+Ku8WS+djHHDAnar
> BDrf2NsXXHK53kFq32QS5IC/LlZ5V3cs1o7UDjb+9qcTG+U9tlqMYJFGuEb6hDfy
> 2fzmI8YPPyA=
> =9w+o
> -----END PGP SIGNATURE-----
> 

George Bonser 
If NT is the answer, you didn't understand the question. (NOTE: Stolen sig)
http://www.debian.org
Debian/GNU Linux ... the maintainable operating system.