[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: redirect stdout to emacs scratch
From: |
harven |
Subject: |
Re: redirect stdout to emacs scratch |
Date: |
Thu, 18 Dec 2008 01:38:02 -0800 (PST) |
User-agent: |
G2/1.0 |
On Dec 8, 9:55 am, pagod <dvergn...@yahoo.com> 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, hoping
> someone can give me a hint!
>
> what i want to do is very simple: i want to be able to redirect the stdout
> 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 tried
> 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