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

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

Re: echo -e H \\nq|ed /dev/null


From: Paul Jarc
Subject: Re: echo -e H \\nq|ed /dev/null
Date: Sun, 06 Jan 2002 15:09:20 -0500
User-agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/20.7 (i386-redhat-linux-gnu)

Dan Jacobson <address@hidden> wrote:
> $ echo -e H \\nq|ed /dev/null
> 0
> ?

Try "echo -e H \\nq | cat -vte" so you can see what you're really
sending to ed.

> Odd, all I sent it was
> $ echo -e H \\nq
> H 
> q

The problem is shown here, and my Gnus displays it for me, because I
have this in my .emacs:
(global-font-lock-mode 1)
(defface prj:tws-face  '((t (:background "yellow"))) "")
(font-lock-add-keywords 'message-mode
                        '(("\\([ \t]+\\)$" 1 prj:tws-face prepend)))

(Doing the same for gnus-article-mode doesn't seem to work, though. :(
)

> And when I do it by hand I get no backtalk:
> $ ed /dev/null
> 0
> H
> q

You're sending different input here.


paul



reply via email to

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