Thomas,
For me, the Beanshell only works with XEmacs/NT if:

1/ Like you, I set jde-run-java-vm-w set to "java" rather than "javaw".
2/ I use JDK 1.2 rather than 1.1.x

Using JDK 1.1.x, the Beanshell prompt appears, but it doesn't respond to
keyboard input until I hit C-d. At which point all the previous stuff I type
is processed, but unfortunately this also kills the bsh process, so no joy
there


This behaviour is consistent for me on 3 different machines (all running
NT4) and on both the 21.1.x and 21.2.x XEmacs series'.

Anyone have any ideas?
Mike

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Thomas Nichols
> Sent: 10 August 1999 13:58
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Cc: Paul Kinnucan; [EMAIL PROTECTED]
> Subject: Re: bsh and browse-jdk-doc with XEmacs/NT 21.1.3
>
>
> - The browse-jdk-doc problem is with browse-url : I have hacked
> browse-url.el so that it neither appends "-remote openURL(" nor prepends
> ")" when invoking netscape, and jde-help-class works beautifully,
> as do the
> JDK and JDE doc menu items.
> From
> http://www.xemacs.org/list-archives/xemacs-nt/9809/msg00258.html
> I see that this problem has been outstanding for a while.
>
> - jde-wiz-override-method also works, to my complete bemusement, as does
> implement-interface. I don't know what I changed, but it's absolutely
> wonderful, I have a powerful working environment. Thanks to all who've
> contributed!
>
> For the record, I've had to change:
> - browse-url.el -- netscape on Windows doesn't like -remote
>
> - PACKAGEPATH -- I've built with package path as x:\xemacs..., to
> avoid the
> "spaces in filenames" problems with JDE.
>
> - jde-run-java-vm-w set to "java"
>
> - bsh still isn't quite right -- I have to press <enter> twice to
> get it to
> execute a command, but this is no big deal for me.
>
> (I've also applied the mousewheel patch from Mike Woolley.)
>
>
> Regards,
> Thomas.
>
>
>
>
> At 00:33 10/08/99 +0100, Thomas Nichols wrote:
> >Hello,
> >
> >Xemacs 21.1.3 (NT native) seems to be working ok with JDE 2.1.6b4, except
> >for the BeanShell and doc-browser. I have built XEmacs for
> X:\XEmacs, where
> >X: is a SUBST alias for "C:\Program Files" - spaces in pathnames
> don't work
> >with JDE/BeanShell at all.
> >
> >With  jde-run-java-vm-w set to "java", console-mode apps run ok with
> >C-c C-v C-r (though not GUI ones).
> >
> >However, BeanShell is still awry: M-X bsh <enter> gives
> >----
> >BeanShell 0.96 beta - by Pat Niemeyer ([EMAIL PROTECTED])
> >bsh % System.out.println ("hello");
> >hello^M
> >bsh %
> >----
> >i.e. it's functional, but appends "^M" to every output line, which gives
> >problems processing subsequent lines.
> >
> >Using jde-wiz-override-method _nearly_ works -- it correctly finds the
> >super class, and works out whether there's a method by the specified name
> >to override. However, I get
> >Wrong type argument: sequencep, 0
> >on executing the wizard even with point correctly positioned.
> >
> >JDE, bsh and jde-wiz-override-method all work fine under
> GNUEmacs (NTEmacs)
> > 20.3.1 (and very wonderful they are too!), but overall I find XEmacs a
> >good deal easier to use (I'm sure this is mostly personal taste).
> >
> >---- Browse JDK doc ----
> >
> >jde-browse-jdk-doc works fine in NTEmacs - jde-jdk-doc-url is
> >"file:///F|/jdk1.2/docs/index.html"
> >
> >Under XEmacs, this is looked up as
> >'-remote openURL(file:///F|/jdk1.2/docs/index.html)'
> >(that's what's displayed in the Netscape URL box) which attempts
> a dial-up
> >to "keywords.netscape.com". Manually dropping just the URL into Netscape
> >brings up the index page as expected.
> >
> >Are either of these likely candidates for fixing?
> >
> >Would I be better with a 21.2.x build instead?
> >
> >---- Debugging tips? ----
> >
> >Please can someone advise me how I can debug some of this myself? I can't
> >see how to set breakpoints or to single-step through (e.g.) jde-wiz.el or
> >jde-browse-jdk-doc - where do I look for documentation? Setting
> >debug-on-entry causes the code to be loaded when I start executing the
> >function, but I can't step through.
> >
> >Thanks for your attention,
> >
> >Regards,
> >
> >Thomas.
> >
> >
> >NB: When run from the command line and redirected, java MyTest --
> >System.out.println ("hello") -- outputs
> >hello\x0d\x0a: this is shown correctly as
> >hello
> ><new line>
> >from within XEmacs.
> >
> >
> >=======================================
> >Thomas Nichols <[EMAIL PROTECTED]>
> >Tel: +44 (0)1628 580600
> >Fax: +44 (0)1628 580610
> >InfoGain Limited, 1 Bell St, Maidenhead, Berkshire, SL6 1BU, UK
> >URL: www.infogain.com
> >=======================================
> >Discloomer: Neither this e-mail nor any attachment places any legal or
> >contractual obligations on InfoGain Limited. Any reproduction,
> >disclosure or dissemination beyond the intended addressees is strictly
> >prohibited save for the legitimate business purposes of InforGain Limited
> >and its clients or partners.
> >=======================================
> >
> >
> >
> >
> =======================================
> Thomas Nichols <[EMAIL PROTECTED]>
> Tel: +44 (0)1628 580600
> Fax: +44 (0)1628 580610
> InfoGain Limited, 1 Bell St, Maidenhead, Berkshire, SL6 1BU, UK
> URL: www.infogain.com
> =======================================
> Discloomer: Neither this e-mail nor any attachment places any legal or
> contractual obligations on InfoGain Limited. Any reproduction,
> disclosure or dissemination beyond the intended addressees is strictly
> prohibited save for the legitimate business purposes of InforGain Limited
> and its clients or partners.
> =======================================
>

Reply via email to