[CVALE] What the?: Slackware

Terry terry at zinnianet.net
Sun Jun 24 11:39:58 PDT 2007


Hi Michael,

I'm running a 10.x version of Slackware.  Perhaps something below may help.

The global bash settings are in a FILE called /etc/profile.

Local scripts in your home directory include

.bashrc
.profile
.bash_login
.bash_profile

You can execute "bash --norc" to start a shell without running local scripts.
You can execute "bash --noprofile" to have it skip global profiles.

Run "bash --login" to have bash run the scripts in a login environment which executes scripts 
differently than a nonlogin environment.  The differences may tell you something.

Perhaps the speakup software has added them in an attempt to make the command line easier.  If you 
follow any speakup scripts, perhaps in /etc/rc.d, you may discover something.



The last very basic things I can think of are in the "is it plugged in?" category.

Run "alias" to list aliases.  Perhaps some of the "strange" aliases are just bash builtin commands 
(or executable programs) not found in other shells you normally run.  I had this issue when 
switching between shells.

You said that ~/.bashrc didn't work.
Are you really running bash?  Perhaps another shell such as TCSH or ZSH is running.

Bash behaves slightly differently when started from the "sh" command.  It also runs differently in a 
noninteractive environment.

A setting of $BASH_ENV may give you a hint.

Check which bash executes (/usr/bin/bash).  Did speakup substitute the bash program for another?
Execute "bash --version" to see if there's a hint there.


Good Luck.


Terry



Gaijin wrote:
>      Hello Slack users,
> 
>      Got a strange one.  I have a bunch of aliases, and I can't see 
> where they came from.  I was planning on doing something like:
> 
>      source ~/.aliases
> 
> in the .bashrc file.  I've pretty much gotten rid of everything in the 
> home dir...moved everything to a dir called "storage".  I logout and 
> then log back in, and my aliases are back...with no shell config files 
> present.  Weird.  Anyone know where the things are being set so I can 
> get rid of them and use my own?  .bashrc doesn't seem to work either. 
> Tried adding:
> 
>      echo 3 > /proc/speakup/rate
> 
> to slow things down, but I guess bash doesn't see it.  TIA,
> 
>          Michael
> 
> I must be too used to Debian.
> 
> _______________________________________________
> cvale mailing list
> cvale at lists.fire2wire.com
> http://lists.fire2wire.com/mailman/listinfo.cgi/cvale
> 
> 



More information about the cvale mailing list