dumb terminal support for jshell

Jan Lahoda jan.lahoda at oracle.com
Thu Mar 9 14:33:54 UTC 2017


Hi Logan,

Sure - if you have something, please send it. May first need to go to 10 
and then be backported to a 9 update, though.

Jan

On 8.3.2017 21:15, Logan O'Sullivan Bruns wrote:
> Thanks Jan. Would it be possible for me to work with you on a patch?
>
>    - logan
>
>
>
> Sent from my T-Mobile 4G LTE Device
>
>
> -------- Original message --------
> From: Jan Lahoda <jan.lahoda at oracle.com>
> Date: 3/8/17 9:53 AM (GMT-08:00)
> To: Logan O'Sullivan Bruns <logan at gedanken.org>, kulla-dev at openjdk.java.net
> Subject: Re: dumb terminal support for jshell
>
> Hi Logan,
>
> I've filled:
> https://bugs.openjdk.java.net/browse/JDK-8176391
>
> Jan
>
> On 8.3.2017 16:45, Logan O'Sullivan Bruns wrote:
>  > Hi,
>  >
>  > I just signed the OCA and had a couple of questions on how to best get
>  > started. Most immediately there is a bug I was hoping to help fix.
>  > Partly because it impacts folks like myself use Emacs heavily.
>  >
>  > I've noticed that jshell in jdk9 doesn't currently work
>  > well within the shell mode of Emacs. A very minor change to
>  > the terminal handling fixes this and I have a patch for the change.
>  >
>  > My trivial patch changes ConsoleIOContext to look at the TERM
>  > environment variable and, if set to "dumb", to use the TestTerminal
>  > instead of one of the platform specific terminals that won't work in an
>  > Emacs buffer or comparable dumb terminal. I was tempted to make the
>  > patch a little better by renaming the TestTerminal to DumbTerminal
>  > since it would then be used for both the test case and the case where a
>  > dumb terminal is requested explicitly via the TERM environment
>  > variable.
>  >
>  > I understand that it is probably too late to get it into jdk9 but I'm
>  > wondering if there is someone I could work with to get this change into
>  > jdk10 in either form proposed above and the perhaps into jdk9
>  > eventually. I know the group of Emacs lovers in the world is dwindling
>  > but I'm sure more than just myself would appreciate this being fixed.
>  >
>  > For other projects I might find a bug or enhancement
>  > possibility. Fix and test it. File a bug mentioning that I also have a
>  > suggested fix. Then create a pull request referencing the bug.
>  >
>  > In this case, I've signed the OCA but I don't see a way to create a
>  > bug? There doesn't seem to be a way to create an account on the bug
>  > database? Where would be the best place to start?
>  >
>  > Thanks,
>  >    logan
>  >


More information about the kulla-dev mailing list