unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Barry Margolin <barry.margolin@level3.com>
Subject: Re: emacs -nw hangs on redirect
Date: Tue, 04 Nov 2003 16:18:00 GMT	[thread overview]
Message-ID: <YiQpb.353$lK3.330@news.level3.com> (raw)
In-Reply-To: mailman.3114.1067953597.21628.bug-gnu-emacs@gnu.org

In article <mailman.3114.1067953597.21628.bug-gnu-emacs@gnu.org>,
Victor Lesk <victorlesk@hotmail.com> 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, barry.margolin@level3.com
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	other threads:[~2003-11-04 16:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3114.1067953597.21628.bug-gnu-emacs@gnu.org>
2003-11-04 16:18 ` Barry Margolin [this message]
2003-11-04 13:43 emacs -nw hangs on redirect Victor Lesk
2003-11-05  1:06 ` Richard Stallman
     [not found] ` <mailman.3179.1067994861.21628.bug-gnu-emacs@gnu.org>
2003-11-05  1:44   ` David Kastrup
2003-11-07  1:01     ` Richard Stallman

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='YiQpb.353$lK3.330@news.level3.com' \
    --to=barry.margolin@level3.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 public inbox

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

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).