Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-23-2006, 06:23 PM   #1
Registered: Aug 2005
Distribution: Ubuntu 7.10, Slackware 12
Posts: 270

Rep: Reputation: 30
.bitchxrc and .bash_profile problem

Hi all, i thought for some reason my .bitchxrc wasnt working so i put a few important variables in .bash_profile instead, like "export IRCNICK=tkz". But now i need the functionality of .bitchxrc, its definately working because when i comment out the variables in .bash_profile it loads the cyp script for me ("i put ^load ~/cyp/cyp.bx in there"). The problem is i cant seem to set any variables in bitchxrc using either "set" or "export" and if i uncomment the variables in .bash_profile, .bitchxrc doesnt work anymore, how can i set variables in .bitchxrc or get around my problem? Anyone know what im doing wrong?

Any help greatly appreciated.
Old 05-23-2006, 09:38 PM   #2
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Should work for these and other commands:

ircuser name
set realname name

IRCNICK doesn't work from the rc file so keep it in your .bash_profile

You can make binds like:

bind ^X parse_command window next
bind ^Z parse_command window kill

and aliases too

Google for bitchxrc and you should find some info
Old 05-23-2006, 09:41 PM   #3
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
What is the the command interpreter in the .bitchxrc file? Is it the same as the shell you are using? I think new processes of a different shell inherit the parent shells variables, but I don't think it works the other way around (exporting something to sh and you are running bash for instance). There might be a way to export to the specific shell, but I don't know what it is. Try changing the command interpreter in the .bitchxrc file to the one you are using and see if that helps.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
BitchX and .bitchxrc dave`2005 Linux - Software 5 06-19-2008 11:34 PM
.bash_profile UmneyDurak Linux - General 1 10-18-2005 12:44 AM
.bash_profile nguye103 Linux - Software 3 10-22-2004 02:48 PM
need .bash_profile example true_atlantis Slackware 2 02-07-2004 07:27 PM
.bash_profile problem allelopath Linux - Software 8 03-26-2003 11:24 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration