[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ielm uses the cat program
From: |
Juanma Barranquero |
Subject: |
Re: ielm uses the cat program |
Date: |
Thu, 30 Jan 2003 13:52:29 +0100 |
On 30 Jan 2003 13:19:07 +0100, Alex Schroeder <a.schroeder@bsiag.com> wrote:
> ielm.el contains the following:
>
> ;; A dummy process to keep comint happy. It will never get any input
> (if (comint-check-proc (current-buffer)) nil
> (start-process "ielm" (current-buffer) "cat")
>
> When I just installed Emacs 21 on a friend's windows machine without
> any unix-like tools on it, M-x ielm would not work because he did not
> have cat installed. Can we replace the cat program with anything
> else?
On the trunk it's already fixed:
;; A dummy process to keep comint happy. It will never get any input
(unless (comint-check-proc (current-buffer))
;; Was cat, but on non-Unix platforms that might not exist, so
;; use hexl instead, which is part of the Emacs distribution.
(condition-case nil
(start-process "ielm" (current-buffer) "hexl")
(file-error (start-process "ielm" (current-buffer) "cat")))
(process-kill-without-query (ielm-process))
(goto-char (point-max))
I'd suggest doing the same for EMACS_21_1_RC.
/L/e/k/t/u
- ielm uses the cat program, Alex Schroeder, 2003/01/30
- Re: ielm uses the cat program,
Juanma Barranquero <=
- Message not available