LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-16-2003, 06:20 AM   #1
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
Emacs bashing


I'm having a couple of problems with bash (I think). I run LFS with KDE 3.1.4, and I use KDM to boot. If I select "Console login" from kdm, then it goes into bash fine, but if I login and open a Konsole, it doesn't source from /etc/profile like it should. If I use the KDE menu to run programs which I have installed in /opt then they will not run (presumably because the PATH is defined in /etc/profile), nor will they run from the console until I type "source /etc/profile"


The other problem I am having is that when I use emacs to go into a shell (M-x shell) I get:

readline: warning: rl_prep_terminal: cannot get terminal settings

before the normal shell prompt, and it doesn't seem to output from commands (eg "less output" appears to do nothing, as does running a program which works otherwise). Are these two separate Emacs problems, and do they have anything to do with the bash problem I mentioned earlier? I suspect not since I get these problems in emacs when it's run in X or just from the command line.

Any help would be most appreciated.
Guy
 
  


Reply



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
Please STOP bashing! Seppel General 24 03-14-2005 01:14 PM
Keyboard bashing!!! spedsta Linux - General 4 09-06-2004 10:55 PM
Bashing on your door again!! jay2901 Programming 3 08-07-2004 10:25 AM
A little Microsoft bashing jimdaworm General 13 04-21-2004 04:06 PM
Linux Bashing lava General 2 03-26-2003 11:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:14 PM.

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