all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

* 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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.