swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs and ls


From: Marcus G. Daniels
Subject: Re: Emacs and ls
Date: 20 Apr 2000 17:19:03 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "PJ" == Paul Johnson <address@hidden> writes:

PJ> In the Emacs groups, I hear there is no solution for this. Is it
PJ> true?

It doesn't look like the Windows situation has been addressed in
term.el itself.  For example, Emacs runs /bin/sh which won't
necessarily exist in terms of raw DOS pathnames.  I see there is a
cygwin32-mount.el Lisp package at
http://www.gnu.org/software/emacs/windows/ntemacs.html that aims to
inform Emacs on Windows about Cygwin mounts (that Swarm creates and
uses), but I haven't tried it.

PJ> On Unix, I can avoid the following problems by using ansi-term
PJ> instead of shell inside Emacs.  In Windows, there is no comparable
PJ> solution.

There may be a way to get ansi-term to work on Windows (I haven't
looked around gnu.emacs.help/comp.emacs), but just hacking it to
hardcode the shell isn't enough, apparently.  The character echoing
mode isn't right, and stty won't run at least as started by
start-process.  I'm sure this is doable, with some work...

PJ> Furthermore, I don't understand why the default Swarm setup does
PJ> not cause this problem in the shell too because it has color=auto.

The DOS box has ANSI terminal emulation.

A workaround is just to disable the color mode for ls by adding
"unalias ls" to ~/.bash_custom.

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]