unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Pascal Bourguignon <spam@mouse-potato.com>
Subject: Re: Issues running shell/tshell
Date: Fri, 30 Sep 2005 15:58:46 +0200	[thread overview]
Message-ID: <877jcyy7vt.fsf@thalassa.informatimago.com> (raw)
In-Reply-To: 1128088062.401560.202370@g44g2000cwa.googlegroups.com

aizenman@gmail.com writes:

> Hi all,
>
> I'd like to run a shell in emacs because I hear that it's so damn cool
> :-) But both shell options (shell and tshell) have their issues that
> make them unuseable.  Does anyone know the solutions?
>
> -shell-
> I'd like to be able to use up and down arrow to get history.  Is there
> perhaps a line I can put in my .emacs to give me that option?
>
> -tshell-
> Formatting is terrible:
> ~/foo/ > ls
> aasdfasdf		  basdfasdf*		 casdfasdfasdf*
> 											       asdfasdfasdf		  fgsdfgsdfg			 xcvzxcveafgds
> 							       qweryietyur		  vbmnfjkfk
>
> Any thoughts on how to make it recognize the screen width?

I don't know tshell, but perhaps:
   stty columns 80 
could help.
What does:
   stty -a
print?

> -general-
> Is there a way to get proper syntax coloring?

(add-hook 'shell-mode-hook
          (lambda ()
            (set-variable 'tab-width 8)
            (setf comint-process-echoes t)
            (when (fboundp 'ansi-color-for-comint-mode-on)
              (ansi-color-for-comint-mode-on))))

-- 
"You question the worthiness of my code? I should kill you where you
stand!"

  reply	other threads:[~2005-09-30 13:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-30 13:47 Issues running shell/tshell aizenman
2005-09-30 13:58 ` Pascal Bourguignon [this message]
2005-09-30 14:27   ` aizenman
2005-09-30 14:30 ` EScott
2005-09-30 15:57 ` Kevin Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877jcyy7vt.fsf@thalassa.informatimago.com \
    --to=spam@mouse-potato.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).