RFR 8215099: jshell tool: /help representation of ctrl/meta characters inconsistent

Robert Field robert.field at oracle.com
Thu Dec 13 06:35:55 UTC 2018



On December 12, 2018 8:20:05 PM Jonathan Gibbons 
<jonathan.gibbons at oracle.com> wrote:
> Double period?
>
>
> 192 jshell.console.empty = \nEmpty entry. A single valid expression or 
> statement must proceed Shift+Tab m..
Oops. Thanks.

> It's not wrong, but I'm curious as to the reason for the convention of the 
> pattern of \n followed by some number of \t and then \,
> as compared to putting the \t at the beginning of the following line.

It is a pattern inherited/recommended long ago.
Idea is all the readable stuff is in front. Including ignored spacing.

Thanks,
Robert.

>
> -- Jon
>
> On 12/12/18 7:15 PM, Robert Field wrote:
>> Please review:
>>
>> Fix the /help in-tool documentation -- specifically:
>> Make the representations of keys (Shift, Ctrl, Tab, etc) self-consistent 
>> and consistent with the User's Guide.
>> Make descriptions less cryptic.
>> Update and correct information.
>> Make formatting consistent.
>>
>> Bug:
>>
>>    https://bugs.openjdk.java.net/browse/JDK-8215099
>>
>> Webrev:
>>
>>   http://cr.openjdk.java.net/~rfield/8215099v0.webrev/
>>
>> Thanks,
>> Robert



More information about the kulla-dev mailing list