bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: emacs -nw hangs on redirect


From: Barry Margolin
Subject: Re: emacs -nw hangs on redirect
Date: Tue, 04 Nov 2003 16:18:00 GMT

In article <address@hidden>,
Victor Lesk <address@hidden> wrote:
>Hi emacs,
>
>I'm running emacs 21.2.1 on a linux ix86.
>
>in bash, the command
>emacs -nw > out.txt
>hangs.
>
>(the command emacs  > out.txt works fine).
>
>Can you explain why/suggest a workaround?

What are you trying to accomplish?  Emacs expects its stdin and stdout to
be a video terminal or emulator that it can perform cursor control on.  It
doesn't make much sense to redirect its output to a file.

If you want to capture the output of Emacs, run it inside a "script"
session.

-- 
Barry Margolin, address@hidden
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.




reply via email to

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