On 1999/05/26, Paul Kinnucan wrote:
> At 11:59 AM 5/26/99 +0200, Dr. Volker Zell wrote:
> >Software: Xemacs-21.0/Cygwin - ftp://ftp.xemacs.org/pub/xemacs/xemacs-21.0/
> > jde-2.1.6b2 - http://sunsite.auc.dk/jde/
> >
> >
> >When selecting 'Overrid Method' from the jde menu and the bean-shell is not
> >yet started, I get the following error:
> >
> >
> > Starting the BeanShell. Please wait...
> > End of stream: "internal input stream"
> >
> >In effect the BeanShell is started. The second time I call 'Overrid Method'
> >it works.
>
> I'll look into this.
I ran into something similar on Linux. The kludge I used to work around it
is appended below. It might work for your situation as well.
Greetings,
Ruud de Rooij.
Maintainer of the JDE package for Debian GNU/Linux.
--
ruud de rooij | [EMAIL PROTECTED] | http://ruud.org
--- jde-2.1.5-2.1.6beta1.orig/beanshell.el
+++ jde-2.1.5-2.1.6beta1/beanshell.el
@@ -84,13 +83,18 @@
(get-process "bsh")
(progn
(bsh-internal)
- (accept-process-output (get-process "bsh"))
+ (let* ((bsh-process (get-process "bsh"))
+ (comint-filter (process-filter bsh-process)))
+ (progn
+ (set-process-filter bsh-process 'bsh-eval-filter)
+ (accept-process-output bsh-process 5 0)
+ (set-process-filter bsh-process comint-filter)))
(get-process "bsh"))))
(comint-filter (process-filter bsh-process)))
(setq bsh-tq-reply nil)