From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: harven Newsgroups: gmane.emacs.help Subject: Re: redirect stdout to emacs scratch Date: Thu, 18 Dec 2008 01:38:02 -0800 (PST) Organization: http://groups.google.com Message-ID: <21dc94fe-e5e1-408c-8de7-14b33ac3626e@w1g2000prm.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1229593591 32406 80.91.229.12 (18 Dec 2008 09:46:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Dec 2008 09:46:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 18 10:47:36 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LDFTj-0006TF-6O for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Dec 2008 10:47:35 +0100 Original-Received: from localhost ([127.0.0.1]:49422 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDFSW-0006wf-Vi for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Dec 2008 04:46:21 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2!postnews.google.com!w1g2000prm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: 82.240.200.149 Original-X-Trace: posting.google.com 1229593083 12186 127.0.0.1 (18 Dec 2008 09:38:03 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 18 Dec 2008 09:38:03 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: w1g2000prm.googlegroups.com; posting-host=82.240.200.149; posting-account=hanW0AoAAADuR-PIr5jGeb298Y3jGR7p User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:165455 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60782 Archived-At: On Dec 8, 9:55=A0am, pagod wrote: > hi everyone! > > this is probably a very easy question (there has to be a way!), but i > haven't been able to find the answer, so i'm turning to this forum, hopin= g > someone can give me a hint! > > what i want to do is very simple: i want to be able to redirect the stdou= t > of any program on the command line into emacs' scratch buffer -- the way = it > works with less or joe or whatever. i want to do it with emacs because i'= m > used to using it and i need syntax coloring, but when i try it i get the > message "standard input is not a tty". then what is it? the way i've trie= d > it is quite the usual way: > > pagod> echo "hello, world" | emacs > emacs: standard input is not a tty the following may help http://www.shellarchive.co.uk/content/emacs_tips.html#sec15