unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* the Rolls Royce of pagers
@ 2003-04-14 21:08 Dan Jacobson
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Jacobson @ 2003-04-14 21:08 UTC (permalink / raw)


Gentlemen, we were discussing how the mighty emacs can't do things
when more(1) can.  I have found some more.

$ echo A|emacs -nw
$ echo A|emacs -nw /dev/stdin
$ echo A|emacs -nw -
all give emacs: standard input is not a tty
$ echo A|emacs
$ echo A|emacs /dev/stdin
don't do much
$ echo A|emacs -
Option `-' is ambiguous

Yes, emacs was not perhaps designed to do these, but instead of
hemming and hawing, it could perhaps do something more acrobatic, just
in case one's supervisor is watching.

Maybe emacs should turn on View mode and become a expensive pager for
that buffer.

OK, maybe catering to these would mess up some general cases, so never
mind, over and out.
-- 
http://jidanni.org/ Taiwan(04)25854780

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: the Rolls Royce of pagers
       [not found] <mailman.4611.1050362735.21513.bug-gnu-emacs@gnu.org>
@ 2003-04-15  0:25 ` Thomas A. Horsley
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas A. Horsley @ 2003-04-15  0:25 UTC (permalink / raw)


>all give emacs: standard input is not a tty

But you can easily pipe into a shell script which sends stdin to
a temp file then invokes gnuclient to tell emacs to edit that file.

I bet if you got really enthusiastic, you could even buffer up
stdin chunks and send them to emacs as they arrive to be appended
to the temp buffer...
--
>>==>> The *Best* political site <URL:http://www.vote-smart.org/> >>==+
      email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL      |
<URL:http://home.att.net/~Tom.Horsley> Free Software and Politics <<==+

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-15  0:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-14 21:08 the Rolls Royce of pagers Dan Jacobson
     [not found] <mailman.4611.1050362735.21513.bug-gnu-emacs@gnu.org>
2003-04-15  0:25 ` Thomas A. Horsley

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