Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 10-15-2004, 10:25 PM   #1
Registered: Oct 2004
Location: Portugal
Distribution: Debian, Slackware
Posts: 78

Rep: Reputation: 15
emacs problem in shell mode

When use the emacs in the shell mode, I get strange characteres in the prompt...
For example:

pedro@BuJecas:~/ruby$ ls
Abstract_Transaction.rb Login_Transaction.rb Transaction.rb main.rb*

someting like that....

any help?
Old 10-25-2004, 05:37 AM   #2
Senior Member
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 45
hi there,

IMHO shell is a poor option to emulate a shell in emacs.
you could try something like
 M-x ansi-term
or even
 M-x eshell
both will behave better with your colors definitions.
the "strange" things that you see is what emacs shell does with your color definitions from .bashrc or .tcshrc or ...
this is not so simple to solve.
i suggest a look at
if you want to solve your problem fast, the solution is change to "ansi-term". Everything will run smooth.



ps. i see now that is an old post. i just gave the answer to clean the 0 replies threads.

Last edited by slackie1000; 10-25-2004 at 05:38 AM.


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
Emacs: sgml mode lackluster Programming 4 04-23-2006 09:50 PM
Shell mode & ssh in emacs phuna Linux - Software 1 08-03-2005 05:37 PM
emacs shell-mode doesn't interpret prompt variable CoonerTheRed Linux - Software 1 05-09-2005 05:23 AM
emacs-21.2 php-mode.el howto ? cicisbeo Linux - Software 1 01-12-2004 09:26 PM
Disabling cc-mode Emacs amannuc Linux - Software 0 10-21-2003 01:52 AM

All times are GMT -5. The time now is 03:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration