bash-2.05b-19
Tomasz Pala
gotar w polanet.pl
Pią, 27 Maj 2005, 16:43:06 CEST
On Fri, May 27, 2005 at 14:14:00 +0200, Andrzej Krzysztofowicz wrote:
> /etc/bashrc:stty erase `put kbs`
>
> Pojawila sie ona w -19.
> Nie wiem, po co ona nieinteraktywnej powloce.
Po nic. Nieinteraktywna nie woła bashrc.
> Poza tym nigdzie nie ma
> sprawdzania, czy stdin jest terminalem...
A kiedy nieinteraktywna może nie mieć? Ja mam tylko jedną wątpliwość:
Bash attempts to determine when it is being run by the remote shell daemon, usu-
ally rshd. If bash determines it is being run by rshd, it reads and executes com-
mands from ~/.bashrc, if that file exists and is readable. It will not do this if
> Gdzie indziej jest chyba /bin/sh jako powloka usera builder.
A tak poza tym to bash NIGDY nie woła /etc/bashrc, a jedynie ~/.bashrc,
który U NAS chyba woła /etc/bashrc (ja nie używam basha).
--
GoTaR <priv0.onet.pl->gotar> http://vfmg.sourceforge.net/
http://tccs.sourceforge.net/
Więcej informacji o liście dyskusyjnej pld-devel-pl