Gnus development mailing list
 help / color / mirror / Atom feed
* [x-face] doesn't display in 5.2.25 with emacs-19.31
@ 1996-06-25 18:30 Danny Siu
  1996-06-25 18:38 ` Lars Magne Ingebrigtsen
  1996-06-25 20:35 ` Christopher Davis
  0 siblings, 2 replies; 3+ messages in thread
From: Danny Siu @ 1996-06-25 18:30 UTC (permalink / raw)



It works in 5.2.19.

I found out that in 5.2.25, shell-file-name and shell-command-switch are used
instead of "sh" and "-c".  In my case, shell-file-name is set to "/bin/csh"
an shell-command-switch is "-c" and I got error from xv like "file /tmp/xxx
contains no data".   I tried setting shell-command-switch to "-f -c" to
ignore my .cshrc file but it still doesn't give. 

If I change shell-file-name to "sh", then x-face works again.

gnus-article-x-face-command is set to "{ echo '/* Width=48, Height=48 */';
uncompface; } | icontopbm | xv -quit -" by gnus-ems.el.

In gnus.el:

5.2.19:
------
(defun gnus-article-display-x-face (&optional force)
  ...
  ...
  ...
		 (start-process
		  "gnus-x-face" nil "sh" "-c" gnus-article-x-face-command))
  ...


5.2.25:
------
(defun gnus-article-display-x-face (&optional force)
  ...
  ...
  ...
		 (start-process
		  "gnus-x-face" nil shell-file-name shell-command-switch
		  gnus-article-x-face-command))
  ...

Any hints?

-- 
                                                                ^..^
 '/..\"                                                        ( oo )  )~
m( oo )m                                                         ,,  ,,
/=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\
|  Danny Dick-Fung Siu                http://www-leland.stanford.edu/~dsiu |
|  Reference System Group             http://www.csua.berkeley.edu/~dsiu   |
|  Adobe Systems Incorporated       E-Mail:<dsiu@alumni.eecs.berkeley.edu> |
|       "What do you expect from a         <dsiu@leland.stanford.edu>      |
|          Cal. Berkeley grad.?"           <dsiu@adobe.com>                |
\=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=/


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

* Re: [x-face] doesn't display in 5.2.25 with emacs-19.31
  1996-06-25 18:30 [x-face] doesn't display in 5.2.25 with emacs-19.31 Danny Siu
@ 1996-06-25 18:38 ` Lars Magne Ingebrigtsen
  1996-06-25 20:35 ` Christopher Davis
  1 sibling, 0 replies; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 1996-06-25 18:38 UTC (permalink / raw)


Danny Siu <dsiu@mv.us.adobe.com> writes:

> I found out that in 5.2.25, shell-file-name and shell-command-switch are used
> instead of "sh" and "-c".  In my case, shell-file-name is set to "/bin/csh"
> an shell-command-switch is "-c" and I got error from xv like "file /tmp/xxx
> contains no data".   I tried setting shell-command-switch to "-f -c" to
> ignore my .cshrc file but it still doesn't give. 

[...]

> Any hints?

Set `shell-file-name' to "bash"?  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@ifi.uio.no * Lars Ingebrigtsen


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

* Re: [x-face] doesn't display in 5.2.25 with emacs-19.31
  1996-06-25 18:30 [x-face] doesn't display in 5.2.25 with emacs-19.31 Danny Siu
  1996-06-25 18:38 ` Lars Magne Ingebrigtsen
@ 1996-06-25 20:35 ` Christopher Davis
  1 sibling, 0 replies; 3+ messages in thread
From: Christopher Davis @ 1996-06-25 20:35 UTC (permalink / raw)


DS> == Danny Siu <dsiu@mv.us.adobe.com>

 DS> I found out that in 5.2.25, shell-file-name and shell-command-switch
 DS> are used instead of "sh" and "-c".  In my case, shell-file-name is
 DS> set to "/bin/csh" an shell-command-switch is "-c" and I got error
 DS> from xv like "file /tmp/xxx contains no data".  I tried setting
 DS> shell-command-switch to "-f -c" to ignore my .cshrc file but it still
 DS> doesn't give.

 DS> If I change shell-file-name to "sh", then x-face works again.

(1) try shell-command-switch as "-fc" rather than "-f -c"; it probably
    gets passed as one argument.

(2) make sure your .cshrc produces NO output when run non-interactively on
    a non-tty.  'rsh localhost cat /dev/null' is often a good test.

(3) Upgrade to XEmacs and compile with built-in x-face support :)
-- 
Christopher Davis <ckd@kei.com> <URL: http://www.kei.com/homepages/ckd/ >
"I conclude that the CDA is unconstitutional and that the First Amendment
 denies Congress the power to regulate protected speech on the Internet."
                               -- Judge Stewart Dalzell in _ACLU v. Reno_


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

end of thread, other threads:[~1996-06-25 20:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-06-25 18:30 [x-face] doesn't display in 5.2.25 with emacs-19.31 Danny Siu
1996-06-25 18:38 ` Lars Magne Ingebrigtsen
1996-06-25 20:35 ` Christopher Davis

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 NNTP newsgroup(s).