1 #
   2 # Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 
  26 jshell.msg.welcome =\
  27 Welcome to JShell -- Version {0}\n\
  28 For an introduction type: /help intro
  29 jshell.err.opt.arg = Argument to {0} missing.
  30 jshell.err.opt.invalid = Invalid options: {0}.
  31 jshell.err.opt.one = Only one {0} option may be used.
  32 jshell.err.opt.startup.conflict = Conflicting options: both --startup and --no-startup were used.
  33 jshell.err.opt.feedback.one = Only one feedback option (--feedback, -q, -s, or -v) may be used.
  34 jshell.err.opt.unknown = Unknown option: {0}
  35 
  36 jshell.msg.terminated = State engine terminated.
  37 jshell.msg.terminated.restore = Restore definitions with: /reload -restore
  38 
  39 jshell.msg.use.one.of = Use one of: {0}
  40 jshell.msg.see.classes.etc = See /types, /methods, /vars, or /list
  41 jshell.err.arg = Invalid ''{0}'' argument: {1}
  42 jshell.msg.see = See {0} for help.
  43 
  44 jshell.err.file.not.accessible = File ''{1}'' for ''{0}'' is not accessible: {2}
  45 jshell.err.file.not.found = File ''{1}'' for ''{0}'' is not found.
  46 jshell.err.file.exception = File ''{1}'' for ''{0}'' threw exception: {2}
  47 jshell.err.file.filename = ''{0}'' requires a filename argument.
  48 



  49 jshell.err.startup.unexpected.exception = Unexpected exception reading startup: {0}
  50 jshell.err.unexpected.exception = Unexpected exception: {0}
  51 
  52 jshell.err.invalid.command = Invalid command: {0}
  53 jshell.err.command.ambiguous = Command: ''{0}'' is ambiguous: {1}
  54 jshell.msg.set.restore = Setting new options and restoring state.
  55 jshell.msg.set.editor.set = Editor set to: {0}
  56 jshell.msg.set.editor.retain = Editor setting retained: {0}
  57 jshell.err.no.builtin.editor = Built-in editor not available.
  58 jshell.err.cant.launch.editor = Cannot launch built-in editor -- unexpected exception: {0}
  59 jshell.msg.try.set.editor = See ''/help /set editor'' to use external editor.
  60 jshell.msg.press.return.to.leave.edit.mode = Press return to leave edit mode.
  61 jshell.err.wait.applies.to.external.editor = -wait applies to external editors
  62 jshell.label.editpad = JShell Edit Pad
  63 
  64 jshell.err.setting.to.retain.must.be.specified = The setting to retain must be specified -- {0}
  65 jshell.msg.set.show.mode.settings = \nTo show mode settings use ''/set prompt'', ''/set truncation'', ...\n\
  66 or use ''/set mode'' followed by the feedback mode name.
  67 jshell.err.continuation.prompt.required = Continuation prompt required -- {0}
  68 
  69 jshell.msg.try.command.without.args = Try ''{0}'' without arguments.
  70 jshell.msg.no.active = There are no active definitions.
  71 
  72 jshell.msg.resetting = Resetting...
  73 jshell.msg.resetting.state = Resetting state.
  74 
  75 jshell.err.reload.no.previous = No previous history to restore
  76 jshell.err.reload.restarting.previous.state = Restarting and restoring from previous state.
  77 jshell.err.reload.restarting.state = Restarting and restoring state.
  78 
  79 jshell.err.restart.failed = Restart failed: {0}\n\n\
  80 Reverting to previous settings and restarting...
  81 
  82 jshell.msg.vars.not.active = (not-active)
  83 
  84 jshell.err.out.of.range = Out of range
  85 
  86 jshell.msg.error = Error:
  87 jshell.msg.warning = Warning:
  88 
  89 jshell.err.sub.arg = The ''{0}'' command requires a sub-command. See: ''/help {0}''
  90 jshell.err.sub.ambiguous = Ambiguous sub-command argument to ''{0}'': {1}
  91 
  92 jshell.err.classpath.arg = The /classpath command requires a path argument.
  93 jshell.msg.classpath = Path ''{0}'' added to classpath
  94 
  95 jshell.err.help.arg = No commands or subjects start with the provided argument: {0}
  96 jshell.msg.help.begin =\
  97 Type a Java language expression, statement, or declaration.\n\
  98 Or type one of the following commands:\n
  99 jshell.msg.help.subject =\n\
 100 For more information type ''/help'' followed by the name of a\n\
 101 command or a subject.\n\
 102 For example ''/help /list'' or ''/help intro''.\n\
 103 \n\
 104 Subjects:\n\
 105 \n
 106 
 107 jshell.err.no.snippet.with.id = No snippet with ID: {0}
 108 jshell.err.end.snippet.range.less.than.start = End of snippet range less than start: {0} - {1}
 109 jshell.err.range.requires.id = Snippet ranges require snippet IDs: {0}
 110 
 111 jshell.err.exit.not.expression = The argument to /exit must be a valid integer expression, it is not an expression: {0}
 112 jshell.err.exit.bad.type = The argument to /exit must be a valid integer expression. The type is {1} : {0}
 113 jshell.err.exit.bad.value = The argument to /exit has bad value is {1} : {0}
 114 
 115 jshell.err.drop.arg =\
 116 In the /drop argument, please specify an import, variable, method, or class to drop.\n\
 117 Specify by ID or name. Use /list to see IDs. Use /reset to reset all state.
 118 jshell.err.failed = Failed.
 119 jshell.msg.native.method = Native Method
 120 jshell.msg.unknown.source = Unknown Source
 121 jshell.msg.goodbye = Goodbye
 122 jshell.msg.goodbye.value = Goodbye ({0})
 123 
 124 jshell.msg.help.for.help = Type /help for help.
 125 
 126 jshell.err.mode.name = Expected a feedback mode name: {0}
 127 jshell.err.missing.mode = Missing the feedback mode -- {0}
 128 jshell.err.field.name = Expected a field name: {0} -- {1}
 129 jshell.err.mode.unknown = No feedback mode named: {0} -- {1}
 130 
 131 jshell.err.feedback.does.not.match.mode = Does not match any current feedback mode: {0} -- {1}
 132 jshell.err.feedback.ambiguous.mode = Matches more then one current feedback mode: {0} -- {1}
 133 jshell.err.feedback.must.be.quoted = Format ''{0}'' must be quoted -- {1}
 134 jshell.err.feedback.not.a.valid.selector = Not a valid selector ''{0}'' in ''{1}'' -- {2}
 135 jshell.err.feedback.multiple.sections = Selector kind in multiple sections of selector list ''{0}'' in ''{1}'' -- {2}
 136 jshell.err.feedback.different.selector.kinds = Different selector kinds in same sections of selector list ''{0}'' in ''{1}'' -- {2}
 137 
 138 jshell.msg.feedback.new.mode = Created new feedback mode: {0}
 139 jshell.msg.feedback.mode = Feedback mode: {0}
 140 jshell.msg.feedback.mode.following = Available feedback modes:
 141 jshell.msg.feedback.retained.mode.following = Retained feedback modes:
 142 jshell.err.mode.creation = To create a new mode either the -command or the -quiet option must be used -- {0}
 143 jshell.err.mode.exists = Mode to be created already exists: {0} -- {1}
 144 
 145 jshell.err.truncation.expected.length = Expected truncation length -- {0}
 146 jshell.err.truncation.length.not.integer = Truncation length must be an integer: {0} -- {1}
 147 
 148 jshell.err.not.valid.with.predefined.mode = Not valid with a predefined mode: {0} -- {1}
 149 jshell.err.retained.feedback.mode.must.be.retained.or.predefined = \
 150 ''/set feedback -retain <mode>'' requires that <mode> is predefined or has been retained with ''/set mode -retain'' -- {0}
 151 
 152 jshell.err.unknown.option = Unknown option: {0} -- {1}
 153 jshell.err.default.option.or.program = Specify -default option, -delete option, or program -- {0}
 154 jshell.err.option.or.filename = Specify no more than one of -default, -none, or a startup file name -- {0}
 155 jshell.err.unexpected.at.end = Unexpected arguments at end of command: {0} -- {1}
 156 jshell.err.conflicting.options = Conflicting options -- {0}
 157 jshell.err.cannot.delete.current.mode = The current feedback mode ''{0}'' cannot be deleted, use ''/set feedback'' first -- {1}
 158 jshell.err.cannot.delete.retained.mode = The retained feedback mode ''{0}'' cannot be deleted, use ''/set feedback -retain'' first -- {1}
 159 jshell.err.may.not.specify.options.and.snippets = Options and snippets must not both be used: {0}
 160 jshell.err.no.such.snippets = No such snippet: {0}
 161 jshell.err.the.snippet.cannot.be.used.with.this.command = This command does not accept the snippet ''{0}'' : {1}
 162 jshell.err.retained.mode.failure = Failure in retained modes (modes cleared) -- {0} {1}
 163 
 164 jshell.err.corrupted.stored.startup = Corrupted stored startup, using default -- {0}
 165 
 166 jshell.err.exception.thrown = Exception {0}
 167 jshell.err.exception.thrown.message = Exception {0}: {1}
 168 jshell.err.exception.cause = Caused by: {0}
 169 jshell.err.exception.cause.message = Caused by: {0}: {1}
 170 
 171 jshell.console.see.synopsis = <press tab again to see synopsis>
 172 jshell.console.see.full.documentation = <press tab again to see full documentation>
 173 jshell.console.see.documentation = <press tab again to see documentation>
 174 jshell.console.see.next.page = <press tab again to see next page>
 175 jshell.console.see.next.javadoc = <press tab to see next documentation>
 176 jshell.console.see.next.command.doc = <press tab to see next command>
 177 jshell.console.no.such.command = No such command
 178 jshell.console.completion.current.signatures = Signatures:
 179 jshell.console.completion.all.completions.number = <press tab again to see all possible completions; total possible completions: {0}>
 180 jshell.console.completion.all.completions = <press tab again to see all possible completions>
 181 jshell.console.no.javadoc = <no documentation found>
 182 jshell.console.do.nothing = Do nothing
 183 jshell.console.choice = Choice: \
 184 
 185 jshell.console.create.variable = Create variable
 186 jshell.console.create.method = Create method
 187 jshell.console.resolvable = \nThe identifier is resolvable in this context.
 188 jshell.console.no.candidate = \nNo candidate fully qualified names found to import.
 189 jshell.console.incomplete = \nResults may be incomplete; try again later for complete results.
 190 jshell.console.erroneous = \nIncomplete or erroneous. A single valid expression or statement must proceed Shift-<tab> m.
 191 jshell.console.exprstmt = \nA single valid expression or statement must proceed Shift-<tab> m.
 192 jshell.console.empty = \nEmpty entry. A single valid expression or statement must proceed Shift-<tab> m..
 193 
 194 jshell.fix.wrong.shortcut =\
 195 Unexpected character after Shift-Tab.\n\
 196 Use "i" for auto-import, "v" for variable creation, or "m" for method creation.\n\
 197 For more information see:\n\
 198    /help shortcuts
 199 
 200 help.usage = \
 201 Usage:   jshell <option>... <load-file>...\n\
 202 where possible options include:\n\
 203 \    --class-path <path>   Specify where to find user class files\n\
 204 \    --module-path <path>  Specify where to find application modules\n\
 205 \    --add-modules <module>(,<module>)*\n\
 206 \                          Specify modules to resolve, or all modules on the\n\
 207 \                            module path if <module> is ALL-MODULE-PATHs\n\
 208 \    --startup <file>      One run replacement for the startup definitions\n\
 209 \    --no-startup          Do not run the startup definitions\n\
 210 \    --feedback <mode>     Specify the initial feedback mode. The mode may be\n\
 211 \                            predefined (silent, concise, normal, or verbose) or\n\
 212 \                            previously user-defined\n\
 213 \    -q                    Quiet feedback.  Same as: --feedback concise\n\
 214 \    -s                    Really quiet feedback.  Same as: --feedback silent\n\
 215 \    -v                    Verbose feedback.  Same as: --feedback verbose\n\
 216 \    -J<flag>              Pass <flag> directly to the runtime system.\n\
 217 \                            Use one -J for each runtime flag or flag argument\n\
 218 \    -R<flag>              Pass <flag> to the remote runtime system.\n\
 219 \                            Use one -R for each remote flag or flag argument\n\
 220 \    -C<flag>              Pass <flag> to the compiler.\n\
 221 \                            Use one -C for each compiler flag or flag argument\n\
 222 \    --version             Print version information and exit\n\
 223 \    --show-version        Print version information and continue\n\
 224 \    --help, -?, -h        Print this synopsis of standard options and exit\n\
 225 \    --help-extra, -X      Print help on non-standard options and exit\n\
 226 \n\
 227 A file argument may be a file name, or one of the predefined file names: DEFAULT,\n\
 228 PRINTING, or JAVASE.\n\
 229 A load-file may also be "-" to indicate standard input, without interactive I/O.\n\
 230 \n\
 231 For more information on the evaluation context options (--class-path,\n\
 232 --module-path, and --add-modules) see:\n\t\
 233      /help context\n\
 234 \n\
 235 A path lists the directories and archives to search. For Windows, use a\n\
 236 semicolon (;) to separate items in the path. On other platforms, use a\n\
 237 colon (:) to separate items.\n\
 238 
 239 help.usage.x = \
 240 \    --add-exports <module>/<package>   Specify a package to be considered as\n\
 241 \                                         exported from its defining module \n\
 242 \    --execution <spec>                 Specify an alternate execution engine.\n\
 243 \                                         Where <spec> is an ExecutionControl spec.\n\
 244 \                                         See the documentation of the package\n\
 245 \                                         jdk.jshell.spi for the syntax of the spec\n\
 246 \    \n\
 247 \These options are non-standard and subject to change without notice.\n
 248 
 249 help.list.summary = list the source you have typed
 250 help.list.args = [<name or id>|-all|-start]
 251 help.list =\
 252 Show the snippets, prefaced with their snippet IDs.\n\
 253 \n\
 254 /list\n\t\
 255     List the currently active snippets of code that you typed or read with /open\n\n\
 256 /list -start\n\t\
 257     List the evaluated startup snippets\n\n\
 258 /list -all\n\t\
 259     List all snippets including failed, overwritten, dropped, and startup\n\n\
 260 /list <name>\n\t\
 261     List snippets with the specified name (preference for active snippets)\n\n\
 262 /list <id>\n\t\
 263     List the snippet with the specified snippet ID.\n\t\
 264     One or more IDs or ID ranges may used, see '/help id'
 265 
 266 help.edit.summary = edit a source entry
 267 help.edit.args = <name or id>
 268 help.edit =\
 269 Edit a snippet or snippets of source in an external editor.\n\
 270 The editor to use is set with /set editor. If no editor is set, then the\n\
 271 following environment variables are checked in order: JSHELLEDITOR, VISUAL,\n\
 272 and EDITOR. If no editor has been set and none of the editor environment\n\
 273 variables is set, a simple editor will be launched.\n\
 274 \n\
 275 /edit <name>\n\t\
 276     Edit the snippet or snippets with the specified name (preference for active snippets)\n\n\
 277 /edit <id>\n\t\
 278     Edit the snippet with the specified snippet ID.\n\t\
 279     One or more IDs or ID ranges may used, see '/help id'\n\n\
 280 /edit -start\n\t\
 281     Edit the startup snippets. Any changes are in this session, and do not\n\t\
 282     affect the startup setting\n\n\
 283 /edit -all\n\t\
 284     Edit all snippets including failed, overwritten, dropped, and startup\n\n\
 285 /edit\n\t\
 286     Edit the currently active snippets of code that you typed or read with /open
 287 
 288 help.drop.summary = delete a source entry
 289 help.drop.args = <name or id>
 290 help.drop =\
 291 Drop a snippet -- making it inactive.\n\
 292 \n\
 293 /drop <name>\n\t\
 294     Drop the snippet with the specified name\n\n\
 295 /drop <id>\n\t\
 296     Drop the snippet with the specified snippet ID.\n\t\
 297     One or more IDs or ID ranges may used, see '/help id'
 298 
 299 help.save.summary = Save snippet source to a file
 300 help.save.args = [-all|-history|-start] <file>
 301 help.save =\
 302 Save the specified snippets and/or commands to the specified file.\n\
 303 \n\
 304 /save <file>\n\t\
 305     Save the source of current active snippets to the file.\n\n\
 306 /save -all <file>\n\t\
 307     Save the source of all snippets to the file.\n\t\
 308     Includes source of overwritten, failed, and startup code\n\n\
 309 /save -history <file>\n\t\
 310     Save the sequential history of all commands and snippets entered since the\n\t\
 311     jshell tool was launched.\n\n\
 312 /save -start <file>\n\t\
 313     Save the current startup definitions to the file\n\n\
 314 /save <id> <file>\n\t\
 315     Save the snippet with the specified snippet ID.\n\t\
 316     One or more IDs or ID ranges may used, see '/help id'
 317 
 318 help.open.summary = open a file as source input
 319 help.open.args = <file>
 320 help.open =\
 321 Open a file and read its contents as snippets and commands.\n\
 322 \n\
 323 /open <file>\n\t\
 324     Read the specified file as the jshell tool input.\n\
 325 \n\
 326 The <file> may be an operating system file name, or one of the predefined\n\
 327 file names: DEFAULT, PRINTING, or JAVASE.\n\
 328 These are respectively: the default import snippets (as used by -default),\n\
 329 definitions of print(), println(), and printf() method snippets, or\n\
 330 imports of all Java SE packages.\n
 331 
 332 help.vars.summary = list the declared variables and their values
 333 help.vars.args = [<name or id>|-all|-start]
 334 help.vars =\
 335 List the type, name, and value of variables that were entered.\n\
 336 \n\
 337 /vars\n\t\
 338     List the type, name, and value of the current active variables\n\n\
 339 /vars <name>\n\t\
 340     List variables with the specified name (preference for active variables)\n\n\
 341 /vars <id>\n\t\
 342     List the variable with the specified snippet ID.\n\t\
 343     One or more IDs or ID ranges may used, see '/help id'\n\n\
 344 /vars -start\n\t\
 345     List the variables in the evaluated startup snippets\n\n\
 346 /vars -all\n\t\
 347     List all variables including failed, overwritten, dropped, and startup
 348 
 349 help.methods.summary = list the declared methods and their signatures
 350 help.methods.args = [<name or id>|-all|-start]
 351 help.methods =\
 352 List the name, parameter types, and return type of methods that were entered.\n\
 353 \n\
 354 /methods\n\t\
 355     List the name, parameter types, and return type of the current active methods\n\n\
 356 /methods <name>\n\t\
 357     List methods with the specified name (preference for active methods)\n\n\
 358 /methods <id>\n\t\
 359     List the method with the specified snippet ID.\n\t\
 360     One or more IDs or ID ranges may used, see '/help id'\n\n\
 361 /methods -start\n\t\
 362     List the methods in the evaluated startup snippets\n\n\
 363 /methods -all\n\t\
 364     List all snippets including failed, overwritten, dropped, and startup
 365 
 366 help.types.summary = list the type declarations
 367 help.types.args =[<name or id>|-all|-start]
 368 help.types =\
 369 List classes and interfaces that were entered.\n\
 370 \n\
 371 /types\n\t\
 372     List the current active type declarations\n\n\
 373 /types <name>\n\t\
 374     List type declarations with the specified name (preference for active snippets)\n\n\
 375 /types <id>\n\t\
 376     List the type declaration with the specified snippet ID.\n\t\
 377     One or more IDs or ID ranges may used, see '/help id'\n\n\
 378 /types -start\n\t\
 379     List the type declarations in the evaluated startup snippets\n\n\
 380 /types -all\n\t\
 381     List all type declarations including failed, overwritten, dropped, and startup
 382 
 383 help.imports.summary = list the imported items
 384 help.imports.args =
 385 help.imports =\
 386 List the current active imports.  This will include imports from\n\
 387 startup snippets.
 388 
 389 help.exit.summary = exit the jshell tool
 390 help.exit.args =[<integer-expression-snippet>]
 391 help.exit =\
 392 Leave the jshell tool.  No work is saved.\n\
 393 Save any work before using this command\n\
 394 \n\
 395 /exit\n\t\
 396     Leave the jshell tool.  The exit status is zero\n\n\
 397 /exit <integer-expression-snippet>\n\t\
 398     Evaluate the snippet.  If the snippet fails or is not an integer expression,\n\t\
 399     display the error.  Otherwise leave the jshell tool with the\n\t\
 400     value of the expression as the exit status
 401 
 402 help.reset.summary = reset the jshell tool
 403 help.reset.args = \
 404 [-class-path <path>] [-module-path <path>] [-add-modules <modules>]...
 405 help.reset =\
 406 Reset the jshell tool code and execution state:\n\t\
 407    * All entered code is lost\n\t\
 408    * The execution state is restarted\n\t\
 409    * Startup code is re-executed\n\
 410 Save any work before using this command.\n\
 411 The /reset command accepts evaluation context options, see:\n\n\t\
 412      /help context\n\
 413 
 414 
 415 help.reload.summary = reset and replay relevant history -- current or previous (-restore)
 416 help.reload.args = \
 417 [-restore] [-quiet] [-class-path <path>] [-module-path <path>]...
 418 help.reload =\
 419 Reset the jshell tool code and execution state then replay each valid snippet\n\
 420 and any /drop commands in the order they were entered.\n\
 421 \n\
 422 /reload\n\t\
 423      Reset and replay the valid history since the jshell tool was entered, or\n\t\
 424      a /reset or /reload command was executed -- whichever is most\n\t\
 425      recent\n\n\
 426 /reload -restore\n\t\
 427      Reset and replay the valid history between the previous and most\n\t\
 428      recent time that the jshell tool was entered, or a /reset, /reload, or /env\n\t\
 429      command was executed. This can thus be used to restore a previous\n\t\
 430      jshell tool session\n\n\
 431 /reload [-restore] -quiet\n\t\
 432      With the '-quiet' argument the replay is not shown, however any errors\n\t\
 433      will be displayed\n\
 434 \n\
 435 Each of the above accepts evaluation context options, see:\n\n\t\
 436      /help context\n\
 437 \n\
 438 For example:\n\n\t\
 439      /reload -add-modules com.greetings -restore
 440 
 441 help.env.summary = view or change the evaluation context
 442 help.env.args = \
 443 [-class-path <path>] [-module-path <path>] [-add-modules <modules>] ...
 444 help.env =\
 445 View or change the evaluation context.  The evaluation context is the class path,\n\
 446 module path, etc.\n\n\
 447 /env\n\t\
 448      Show the evaluation context displayed as context options\n\n\
 449 /env [-class-path <path>] [-module-path <path>] [-add-modules <modules>] ...\n\t\
 450      With at least one option set, sets the evaluation context.  If snippets\n\t\
 451      have been defined, the execution state is reset with the new\n\t\
 452      evaluation context and the snippets will be replayed -- the replay is not\n\t\
 453      shown, however any errors will be displayed.  This is equivalent to:\n\n\t\t\
 454              /reload -quiet ...\n\
 455 \n\
 456 For details of evaluation context options, see:\n\n\t\
 457      /help context\n\n\
 458 For example:\n\n\t\
 459      /env -add-modules com.greetings
 460 
 461 help.history.summary = history of what you have typed
 462 help.history.args = [-all]
 463 help.history =\
 464 Display the history of snippet and command input.\n\
 465 \n\
 466 /history\n\t\
 467     List the history of snippet and command input since this jshell tool was launched\n\n\
 468 /history -all\n\t\
 469     List all the history of snippet and command input from this and previous sessions
 470 
 471 help.debug.summary = toggle debugging of the jshell tool
 472 help.debug.args = [0][r][g][f][c][d][e]
 473 help.debug =\
 474 Display debugging information for the jshell tool implementation.\n\
 475 0: Debugging off\n\
 476 r: Tool level debugging on\n\
 477 g: General debugging on\n\
 478 f: File manager debugging on\n\
 479 c: Completion analysis debugging on\n\
 480 d: Dependency debugging on\n\
 481 e: Event debugging on
 482 
 483 help.help.summary = get information about using the jshell tool
 484 help.help.args = [<command>|<subject>]
 485 help.help =\
 486 Display information about using the jshell tool.\n\
 487 /help\n\t\
 488      List the jshell tool commands and help subjects\n\n\
 489 /help <command>\n\t\
 490      Display information about the specified command. The slash must be included.\n\t\
 491      Only the first few letters of the command are needed -- if more than one\n\t\
 492      each will be displayed.  Example:  /help /li\n\n\
 493 /help <subject>\n\t\
 494      Display information about the specified help subject. Example: /help intro
 495 
 496 help.set.summary = set configuration information
 497 help.set.args = editor|start|feedback|mode|prompt|truncation|format ...
 498 help.set =\
 499 Set the jshell tool configuration information, including:\n\
 500 the external editor to use, the startup definitions to use, a new feedback mode,\n\
 501 the command prompt, the feedback mode to use, or the format of output.\n\
 502 \n\
 503 /set editor [-wait] <command> <optional-arg>...\n\t\
 504      Specify the command to launch for the /edit command.\n\t\
 505      The <command> is an operating system dependent string\n\n\
 506 /set start <file>\n\t\
 507      The contents of the specified <file> become the default startup snippets and commands\n\n\
 508 /set feedback <mode>\n\t\
 509      Set the feedback mode describing displayed feedback for entered snippets and commands\n\n\
 510 /set mode <mode> [<old-mode>] -command|-quiet|-delete\n\t\
 511      Create or update a user-defined feedback mode, optionally copying from an existing mode\n\n\
 512 /set prompt <mode> "<prompt>" "<continuation-prompt>"\n\t\
 513      Set the displayed prompts for a given feedback mode\n\n\
 514 /set truncation <mode> <length> <selector>...\n\t\
 515      Set the maximum length of a displayed value\n\n\
 516 /set format <mode> <field> "<format>" <selector>...\n\t\
 517      Configure a feedback mode by setting the format of a field when the selector matches\n\n\
 518 /set\n\t\
 519      Show editor, start, and feedback settings as /set commands.\n\t\
 520      To show the settings of any of the above, omit the set value\n\n\
 521 To get more information about one of these forms, use /help with the form specified.\n\
 522 For example:   /help /set format
 523 
 524 help.quest.summary = get information about using the jshell tool
 525 help.quest.args = [<command>|<subject>]
 526 help.quest =\
 527 Display information about using the jshell tool (abbreviation for /help).\n\
 528 /?\n\t\
 529      Display list of commands and help subjects\n\
 530 /? <command>\n\t\
 531      Display information about the specified command. The slash must be included.\n\t\
 532      Only the first few letters of the command are needed -- if more than one\n\t\
 533      match, each will be displayed.  Example:  /? /li\n\
 534 /? <subject>\n\t\
 535      Display information about the specified help subject. Example: /? intro
 536 
 537 help.bang.summary = rerun last snippet -- see /help rerun
 538 help.bang.args =
 539 help.bang =\
 540 Reevaluate the most recently entered snippet.
 541 
 542 help.slashID.summary = rerun snippets by ID or ID range -- see /help rerun
 543 help.slashID.args =
 544 help.slashID =\
 545 /<id> <id> <id>\n\
 546 \n\
 547 /<id>-<id>\n\
 548 \n\
 549 Reevaluate the snippets specified by the ID or ID range.\n\
 550 An ID range is represented as a two IDs separated by a hyphen, e.g.:  3-17\n\
 551 Startup and error snippets maybe used, e.g.:  s3-s9    or   e1-e4\n\
 552 Any number of IDs or ID ranges may be used, e.g.:  /3-7 s4 14-16 e2\n\
 553 See '/help id'.
 554 
 555 help.previous.summary = rerun n-th previous snippet -- see /help rerun
 556 help.previous.args =
 557 help.previous =\
 558 Reevaluate the n-th most recently entered snippet.
 559 
 560 help.intro.summary = an introduction to the jshell tool
 561 help.intro =\
 562 The jshell tool allows you to execute Java code, getting immediate results.\n\
 563 You can enter a Java definition (variable, method, class, etc), like:  int x = 8\n\
 564 or a Java expression, like:  x + x\n\
 565 or a Java statement or import.\n\
 566 These little chunks of Java code are called 'snippets'.\n\
 567 \n\
 568 There are also the jshell tool commands that allow you to understand and\n\
 569 control what you are doing, like:  /list\n\
 570 \n\
 571 For a list of commands: /help
 572 
 573 help.shortcuts.summary = a description of keystrokes for snippet and command completion,\n\
 574 information access, and automatic code generation
 575 help.shortcuts =\
 576 Supported shortcuts include:\n\
 577 \n\
 578 <tab>\n\t\t\
 579         After entering the first few letters of a Java identifier,\n\t\t\
 580         a jshell tool command, or, in some cases, a jshell tool command argument,\n\t\t\
 581         press the <tab> key to complete the input.\n\t\t\
 582         If there is more than one completion, then possible completions will be shown.\n\t\t\
 583         Will show documentation if available and appropriate.\n\n\
 584 Shift-<tab> v\n\t\t\
 585         After a complete expression, hold down <shift> while pressing <tab>,\n\t\t\
 586         then release and press "v", the expression will be converted to\n\t\t\
 587         a variable declaration whose type is based on the type of the expression.\n\n\
 588 Shift-<tab> m\n\t\t\
 589         After a complete expression or statement, hold down <shift> while pressing <tab>,\n\t\t\
 590         then release and press "m", the expression or statement will be converted to\n\t\t\
 591         a method declaration. If an expression, the return type is based on the type\n\t\t\
 592         of the expression.\n\n\
 593 Shift-<tab> i\n\t\t\
 594         After an unresolvable identifier, hold down <shift> while pressing <tab>,\n\t\t\
 595         then release and press "i", and the jshell tool will propose possible imports\n\t\t\
 596         which will resolve the identifier based on the content of the specified classpath.
 597 
 598 help.context.summary = a description of the evaluation context options for /env /reload and /reset
 599 help.context =\
 600 These options configure the evaluation context.  They can be specified on the\n\
 601 command-line when the jshell tool is started or as command options when the jshell tool is\n\
 602 restarted with the commands /env, /reload, or /reset.\n\
 603 \n\
 604 They are:\n\t\
 605     --class-path <path>\n\t\t\
 606                   The <path> is a list of directories, JAR archives,\n\t\t\
 607                   and ZIP archives to search for class files.\n\t\t\
 608                   For Windows, use a semicolon (;) to separate items in the\n\t\t\
 609                   path. On other platforms, use a  colon (:) to separate items.\n\t\
 610     --module-path <path>...\n\t\t\
 611                   The <path> is a list of directories, JAR archives,\n\t\t\
 612                   and ZIP archives to search for modules.\n\t\t\
 613                   For Windows, use a semicolon (;) to separate items in the\n\t\t\
 614                   path. On other platforms, use a  colon (:) to separate items.\n\t\
 615     --add-modules <modulename>[,<modulename>...]\n\t\t\
 616                   root modules to resolve in addition to the initial module.\n\t\t\
 617                   <modulename> can also be ALL-DEFAULT, ALL-SYSTEM,\n\t\t\
 618                   ALL-MODULE-PATH.\n\t\
 619     --add-exports <module>/<package>=<target-module>(,<target-module>)*\n\t\t\
 620                   updates <module> to export <package> to <target-module>,\n\t\t\
 621                   regardless of module declaration.\n\t\t\
 622                   <target-module> can be ALL-UNNAMED to export to all\n\t\t\
 623                   unnamed modules. In jshell, if the <target-module> is not\n\t\t\
 624                   specified (no =) then ALL-UNNAMED is used.\n\
 625 \n\
 626 Evaluation context options entered on the command line or provided with a\n\
 627 previous /reset, /env, or /reload command are maintained unless an option is\n\
 628 entered that overwrites the setting.\n\
 629 \n\
 630 On the command-line these options must have two dashes, e.g.: --module-path\n\
 631 On the jshell tool commands they can have one or two dashes, e.g.: -module-path
 632 
 633 help.id.summary = a description of snippet IDs and how use them
 634 help.id =\
 635 Every snippet of code you enter has its own unique snippet ID.  Even if you\n\
 636 enter the same snippet again, it will have a new ID.  For normal snippets the ID\n\
 637 is an increasing number.  Snippets which fail with an error have a snippet ID\n\
 638 which begins with 'e'.  Snippets in the startup have an ID which begins with 's'.\n\
 639 \n\
 640 A snippet ID is one way to refer to a snippet in a command.  For example, this\n\
 641 command drops the snippet with ID '14':\n\
 642 \n\t\
 643         /drop 14\n\
 644 \n\
 645 To see the ID of a snippet or snippets use the '/list' command.  To see the ID\n\
 646 of all snippets. including failed, startup, and overwritten snippets, use the\n\
 647 '/list -all' command.\n\
 648 \n\
 649 You can also refer to a range of IDs by separating the beginning ID and ending\n\
 650 ID with a hypen.  For example, '1-4' is the same as '1 2 3 4'.  All commands\n\
 651 which refer to snippets will take a list of IDs, ID ranges, and snippet names\n\
 652 as arguments.  These commands are: /list, /edit, /drop, /save, /vars, /methods,\n\
 653 /types, and /<id>.  Some examples:\n\
 654 \n\t\
 655         /edit 7-23\n\
 656 \n\t\
 657         /save s1-s4 3-8 foo 12 myfile\n\
 658 \n\t\
 659         /9-12 33\n\
 660 \n\
 661 See '/help /edit', '/help /save', and '/help rerun' respectively.
 662 
 663 help.rerun.summary = a description of ways to re-evaluate previously entered snippets
 664 help.rerun =\
 665 There are four ways to re-evaluate previously entered snippets.\n\
 666 The last snippet can be re-evaluated using: /!\n\
 667 The n-th previous snippet can be re-evaluated by slash-minus and the digits of n, e.g.:  /-4\n\
 668 For example:\n\
 669 \n\
 670     \tjshell> 2 + 2\n\
 671     \t$1 ==> 4\n\
 672 \n\
 673     \tjshell> /!\n\
 674     \t2 + 2\n\
 675     \t$2 ==> 4\n\
 676 \n\
 677     \tjshell> int z\n\
 678     \tz ==> 0\n\
 679 \n\
 680     \tjshell> /-1\n\
 681     \tint z;\n\
 682     \tz ==> 0\n\
 683 \n\
 684     \tjshell> /-4\n\
 685     \t2 + 2\n\
 686     \t$5 ==> 4\n\
 687 \n\
 688 The snippets to re-evaluate may be specified by snippet ID or ID range.\n\
 689 An ID range is represented as a two IDs separated by a hyphen, e.g.:  3-17\n\
 690 Startup and error snippets maybe used, e.g.:  s3-s9    or   e1-e4\n\
 691 Any number of IDs or ID ranges may be used, e.g.:  /3-7 s4 14-16 e2\n\
 692 See also '/help id'.\n\
 693 \n\
 694 Finally, you can search backwards through history by entering ctrl-R followed by the string to search for.
 695 
 696 help.set._retain = \
 697 The '-retain' option saves a setting so that it is used in future sessions.\n\
 698 The -retain option can be used on the following forms of /set:\n\n\t\
 699 /set editor -retain\n\t\
 700 /set start -retain\n\t\
 701 /set feedback -retain\n\t\
 702 /set mode -retain\n\n\
 703 See these commands for more detail -- for example /help /set editor
 704 
 705 help.set.format.summary = \
 706 Set the format for reporting a snippet event
 707 
 708 help.set.format = \
 709 Set the format for reporting a snippet event:\n\
 710 \n\t\
 711 /set format <mode> <field> "<format>" <selector>...\n\
 712 \n\
 713 Show the format settings:\n\
 714 \n\t\
 715 /set format [<mode> [<field>]]\n\
 716 \n\
 717 Where <mode> is the name of a previously defined feedback mode -- see '/help /set mode'.\n\
 718 Where <field> is the name of context-specific format to define.\n\
 719 Where <format> is a quoted string which will be the value of the field if one of\n\
 720 the selectors matches (or there are no selectors). When the format is used,\n\
 721 field names enclosed in braces are replaced with the value of the field at that\n\
 722 time. These fields may have been previously defined with this command or may be\n\
 723 one of these predefined fields specific to the context:\n\t\
 724 {name}       == The name, e.g.: the variable name, ...\n\t\
 725 {type}       == The type name. The type of a variable or expression, the\n\t\t\t\
 726                  parameter types of a method\n\t\
 727 {value}      == The result value of an expression or variable initialization\n\t\
 728 {unresolved} == The list of unresolved references\n\t\
 729 {errors}     == The list of recoverable errors (during the processing of the\n\t\t\t\
 730                 "display" field only)\n\t\
 731 {err}        == An unformatted error line (during the processing of the\n\t\t\t\
 732                 "errorline" field only)\n\
 733 The following fields are accessed by the tool to determine the displayed feedback:\n\t\
 734 {display}    == The displayed message for a snippet event\n\t\
 735 {errorline}  == The format of one error line within the "errors" field\n\t\
 736 {pre}        == The feedback prefix (begins command feedback)\n\t\
 737 {post}       == The feedback postfix (ends command feedback)\n\t\
 738 {errorpre}   == The error prefix (begins error feedback)\n\t\
 739 {errorpost}  == The error postfix (ends error feedback)\n\
 740 These fields have default settings (which may be overwritten).\n\
 741 Where <selector> is the context in which the format is applied.\n\
 742 The structure of selector is a hyphen separated list of selector kind lists.\n\
 743 A selector kind list is a comma separated list of values of one selector kind.\n\
 744 A selector matches if each selector kind list matches; A selector kind list\n\
 745 matches if one of the values matches.\n\n\
 746 The case selector kind describes the kind of snippet.  The values are:\n\t\
 747    import     -- import declaration\n\t\
 748    class      -- class declaration\n\t\
 749    interface  -- interface declaration\n\t\
 750    enum       -- enum declaration\n\t\
 751    annotation -- annotation interface declaration\n\t\
 752    method     -- method declaration -- note: {type}==parameter-types\n\t\
 753    vardecl    -- variable declaration without init\n\t\
 754    varinit    -- variable declaration with init\n\t\
 755    expression -- expression -- note: {name}==scratch-variable-name\n\t\
 756    varvalue   -- variable value expression\n\t\
 757    assignment -- assign variable\n\t\
 758    statement  -- statement\n\
 759 The action selector kind describes what happened to the snippet.  The values are:\n\t\
 760    added     -- snippet has been added\n\t\
 761    modified  -- an existing snippet has been modified\n\t\
 762    replaced  -- an existing snippet has been replaced with a new snippet\n\t\
 763    overwrote -- an existing snippet has been overwritten\n\t\
 764    dropped   -- snippet has been dropped\n\t\
 765    used      -- snippet was used when it cannot be\n\
 766 The when-did-it-occur selector kind describes if this is a direct or indirect action.  The values are:\n\t\
 767    primary -- the entered snippet\n\t\
 768    update  -- an update to a dependent snippet\n\
 769 The resolution-state selector kind describes the state of resolution/definition of the snippet.  The values are:\n\t\
 770    ok         -- resolved correctly\n\t\
 771    defined    -- defined despite recoverably unresolved references\n\t\
 772    notdefined -- not defined because of recoverably unresolved references\n\
 773 The unresolved-count selector kind describes the number of unresolved references.  The values are:\n\t\
 774    unresolved0 -- no names are unresolved\n\t\
 775    unresolved1 -- one name is unresolved\n\t\
 776    unresolved2 -- two or more names are unresolved\n\
 777 The errors-count selector kind describes the number of errors.  The values are:\n\t\
 778    error0 -- no errors\n\t\
 779    error1 -- one error\n\t\
 780    error2 -- two or more errors\n\n\
 781 Examples:\n\t\
 782 /set format mymode action 'Created' added-primary\n\t\
 783 /set format mymode action 'Update replaced' replaced-update\n\t\
 784 /set format mymode display '{pre}{action} class {name}{post}' class-ok\n\t\
 785 /set format mymode display '{pre}{action} variable {name}, reset to null{post}' replaced-vardecl,varinit-ok-update\n\n\
 786 Note that subsequent selectors for a field may overwrite some or all of previous used selectors -- last one wins\n\
 787 \n\
 788 The form without <format> shows the current format settings.\n\
 789 When the <mode> is specified only the format settings for that mode are shown.\n\
 790 When both the <mode> and <field> are specified only the format settings for that\n\
 791 mode and field are shown.  Example:\n\t\
 792 /set format mymode\n\
 793 shows the format settings for the mode mymode\n
 794 
 795 help.set.truncation.summary = \
 796 Set the max length of a displayed value
 797 
 798 help.set.truncation = \
 799 Set the max length of a displayed value:\n\
 800 \n\t\
 801 /set truncation <mode> <length> <selector>...\n\
 802 \n\
 803 Show the current truncation settings:\n\
 804 \n\t\
 805 /set truncation [<mode>]\n\
 806 \n\
 807 Where <mode> is the name of a previously defined feedback mode -- see '/help /set mode'.\n\
 808 Where <length> is an unsigned integer representing a maximum length.\n\
 809 Where <selector> is only needed if you wish to fine-tune value truncation length\n\
 810 by context, <selector> is the context in which the truncation is applied.\n\
 811 The structure of selector is a hyphen separated list of selector kind lists.\n\
 812 A selector kind list is a comma separated list of values of one selector kind.\n\
 813 A selector matches if each selector kind list matches; A selector kind list\n\
 814 matches if one of the values matches.\n\n\
 815 Below are the relevant selector kinds for truncation.\n\n\
 816 The case selector kind describes the kind of snippet.  The values are:\n\t\
 817    vardecl    -- variable declaration without init\n\t\
 818    varinit    -- variable declaration with init\n\t\
 819    expression -- expression -- note: {name}==scratch-variable-name\n\t\
 820    varvalue   -- variable value expression\n\t\
 821    assignment -- assign variable\n\
 822 The action selector kind describes what happened to the snippet.  The values are:\n\t\
 823    added     -- snippet has been added\n\t\
 824    modified  -- an existing snippet has been modified\n\t\
 825    replaced  -- an existing snippet has been replaced with a new snippet\n\
 826 Examples:\n\t\
 827 /set trunc mymode 80\n\t\
 828 /set truncation mymode 45 expression\n\t\
 829 /set truncation mymode 0 vardecl-modified,replaced\n\n\
 830 Note that subsequent selectors for a field may overwrite some or all of previous used selectors -- last one wins\n\
 831 \n\
 832 The form without <length> shows the truncation settings.\n\
 833 When the <mode> is specified only the truncation settings for that mode are shown.\n\
 834 Example:\n\t\
 835 /set truncation mymode\n\
 836 shows the truncation settings for the mode mymode\n
 837 
 838 help.set.feedback.summary = \
 839 Set the feedback mode describing displayed feedback for entered snippets and commands
 840 
 841 help.set.feedback = \
 842 Set the feedback mode describing displayed feedback for entered snippets and commands:\n\
 843 \n\t\
 844 /set feedback [-retain] <mode>\n\
 845 \n\
 846 Retain the current feedback mode for future sessions:\n\
 847 \n\t\
 848 /set feedback -retain\n\
 849 \n\
 850 Show the feedback mode and list available modes:\n\
 851 \n\t\
 852 /set feedback\n\
 853 \n\
 854 Where <mode> is the name of a previously defined feedback mode.\n\
 855 You may use just enough letters to make it unique.\n\
 856 User-defined modes can be added, see '/help /set mode'\n\
 857 \n\
 858 When the -retain option is used, the setting will be used in this and future\n\
 859 runs of the jshell tool.\n\
 860 \n\
 861 The form without <mode> or -retain displays the current feedback mode and available modes.\n
 862 
 863 help.set.mode.summary = \
 864 Create a user-defined feedback mode, optionally copying from an existing mode
 865 
 866 help.set.mode = \
 867 Create a user-defined feedback mode, optionally copying from an existing mode:\n\
 868 \n\t\
 869 /set mode <new-mode> [<old-mode>] (-command|-quiet)\n\
 870 \n\
 871 Retain a user-defined feedback mode for future sessions:\n\
 872 \n\t\
 873 /set mode -retain <mode>\n\
 874 \n\
 875 Delete a user-defined feedback mode:\n\
 876 \n\t\
 877 /set mode -delete [-retain] <mode>\n\
 878 \n\
 879 Show feedback mode settings:\n\
 880 \n\t\
 881 /set mode [<mode>]\n\
 882 \n\
 883 Where <new-mode> is the name of a mode you wish to create.\n\
 884 Where <old-mode> is the name of a existing feedback mode.\n\
 885 Where <mode> is the name of a existing feedback mode.\n\
 886 \n\
 887 If <old-mode> is present, its settings are copied to the new mode.\n\
 888 \n\
 889 The feedback that a mode provides for entered snippets is determined by the\n\
 890 '/set format' settings. However, for entered commands, feedback is either on or off,\n\
 891 as determined by the option used when creating the mode; Either the option '-command'\n\
 892 or the option '-quiet' must be specified. If '-command' is used, informative and\n\
 893 verifying command feedback is displayed when in the new mode.  If '-quiet' is used,\n\
 894 commands give only essential feedback (e.g., errors).\n\
 895 \n\
 896 Once the new mode is created, use '/set format', '/set prompt' and '/set truncation'\n\
 897 to configure it.  Use '/set feedback' to use the new mode.\n\
 898 \n\
 899 When the '-retain' option is used (without the '-delete' option), the mode (including\n\
 900 its current prompt, format, and truncation settings) will be stored for use in\n\
 901 future runs of the jshell tool.  If retain is not used, the mode is only defined in\n\
 902 the current session. After updating the mode's settings, retain the mode again to\n\
 903 preserve the updates across sessions.\n\
 904 \n\
 905 When only the '-delete' option is used, the mode is deleted from the current session.\n\
 906 When both '-retain' and '-delete' are used, the mode is deleted from the current and\n\
 907 future sessions.\n\
 908 \n\
 909 When the form without options is used, the mode settings are displayed.\n\
 910 When the <mode> is specified, only the mode settings for that mode are shown.\n\
 911 Note: the settings for the mode include the settings for prompt, format, and\n\
 912 truncation.\n\
 913 Example:\n\t\
 914 /set mode mymode\n\
 915 \n\
 916 shows the mode, prompt, format, and truncation settings for the mode mymode
 917 
 918 help.set.prompt.summary = \
 919 Set the prompts
 920 
 921 help.set.prompt = \
 922 Set the prompts.  Both the normal prompt and the continuation-prompt must be set:\n\
 923 \n\t\
 924 /set prompt <mode> \"<prompt>\" \"<continuation-prompt>\"\n\
 925 \n\
 926 Show the normal prompt and the continuation-prompts:\n\
 927 \n\t\
 928 /set prompt [<mode>]\n\
 929 \n\
 930 Where <mode> is the name of a previously defined feedback mode.\n\
 931 Where <prompt> and <continuation-prompt> are quoted strings to be printed as input prompts.\n\
 932 Both may optionally contain '%%s' which will be substituted with the next snippet ID --\n\
 933 note that what is entered may not be assigned that ID, for example it may be an error or command.\n\
 934 The continuation-prompt is used on the second and subsequent lines of a multi-line snippet.\n\
 935 \n\
 936 The form without <prompt> shows the currently set prompts.\n\
 937 When the <mode> is specified only the prompts for that mode are shown.\n\
 938 Example:\n\t\
 939 /set prompt mymode\n\
 940 shows the prompts set for the mode mymode\n
 941 
 942 help.set.editor.summary =\
 943 Specify the command to launch for the /edit command
 944 
 945 help.set.editor =\
 946 Specify the command to launch for the /edit command:\n\
 947 \n\t\
 948 /set editor [-retain] [-wait] <command>\n\
 949 \n\t\
 950 /set editor [-retain] -default\n\
 951 \n\t\
 952 /set editor [-retain] -delete\n\
 953 \n\
 954 Retain the current editor setting for future sessions:\n\
 955 \n\t\
 956 /set editor -retain\n\
 957 \n\
 958 Show the command to launch for the /edit command:\n\
 959 \n\t\
 960 /set editor\n\
 961 \n\
 962 The <command> is an operating system dependent string.\n\
 963 The <command> may include space-separated arguments (such as flags)\n\n\
 964 If the -default option is specified, the built-in default editor will be used.\n\n\
 965 If the -delete option is specified, previous settings are ignored -- the editor\n\
 966 settings are initialized as when starting the jshell tool.  Specifically, if there\n\
 967 is a retained setting it is used (unless both -retain and -delete are specified --\n\
 968 which deletes the retained setting), if one of these environment variables is set\n\
 969 it will be used: JSHELLEDITOR, VISUAL, or EDITOR (in that order).  Otherwise the\n\
 970 built-in default editor will be used.\n\n\
 971 If <command> is specified, it will be used as the external editor. The <command>\n\
 972 consists of the program and zero or more program arguments.  When <command>\n\
 973 is used, the temporary file to edit will be appended as the last argument.\n\
 974 Normally, edit mode will last until the external editor exits. Some external editors\n\
 975 will exit immediately (for example, if the edit window exists) either external editor\n\
 976 flags should be used to prevent immediate exit, or the -wait option should be used to\n\
 977 prompt the user to indicate when edit mode should end.\n\n\
 978 Note: while in edit mode no command inputs are seen.  After leaving edit mode changes\n\
 979 to the edited snippets are not seen.\n\
 980 \n\
 981 When the -retain option is used, the setting will be used in this and future\n\
 982 runs of the jshell tool.\n\
 983 \n\
 984 The form without <command> or options shows the editor setting.\n
 985 
 986 help.set.start.summary =\
 987 Set the startup configuration
 988 
 989 help.set.start =\
 990 Set the startup configuration -- a sequence of snippets and commands read at startup:\n\
 991 \n\t\
 992 /set start [-retain] <file>...\n\
 993 \n\t\
 994 /set start [-retain] -default\n\
 995 \n\t\
 996 /set start [-retain] -none\n\
 997 \n\
 998 Retain the startup configuration for future sessions:\n\
 999 \n\t\
1000 /set start -retain\n\
1001 \n\
1002 Show the startup setting:\n\
1003 \n\t\
1004 /set start\n\
1005 \n\
1006 The contents of the specified <file> become the startup snippets and commands used\n\
1007 when the /reset, /reload, or /env commands are used in this session.\n\
1008 If instead the -default option is specified, the predefined startup import\n\
1009 snippets will be used.\n\
1010 If the -none option is used, the startup will be empty -- no startup snippets\n\
1011 or commands will be used.\n\
1012 This command is good for testing the startup settings.  To retain them for future\n\
1013 runs of the jshell tool use the command:\n\t\
1014 /set start -retain\n\
1015 \n\
1016 When the -retain option is used, the setting will be used in this and future\n\
1017 runs of the jshell tool.\n\
1018 \n\
1019 The form without <file> or options shows the startup setting.\n\
1020 Note: if the startup was last set from a file, this is shown with the\n\
1021 'set start' command followed by the contents of the file.\n\
1022 \n\
1023 The <file> may be an operating system file name, or one of the predefined\n\
1024 startup file names: DEFAULT, PRINTING, or JAVASE.\n\
1025 These are respectively: the default import snippets (as used by -default),\n\
1026 definitions of print(), println(), and printf() method snippets, or\n\
1027 imports of all Java SE packages.\n\
1028 More than one <file> may be specified, for example:\n\
1029 \n\t\
1030 /set start -retain DEFAULT PRINTING
1031 
1032 startup.feedback = \
1033 /set mode verbose -command    \n\
1034 \n\
1035 /set prompt verbose '\\njshell> '   '   ...> '    \n\
1036 \n\
1037 /set format verbose pre '|  '    \n\
1038 /set format verbose post '%n'    \n\
1039 /set format verbose errorpre '|  '    \n\
1040 /set format verbose errorpost '%n'    \n\
1041 \n\
1042 /set format verbose errorline '{post}{pre}    {err}'    \n\
1043 \n\
1044 /set format verbose action 'created' added-primary    \n\
1045 /set format verbose action 'modified' modified-primary    \n\
1046 /set format verbose action 'replaced' replaced-primary    \n\
1047 /set format verbose action 'overwrote' overwrote-primary    \n\
1048 /set format verbose action 'dropped' dropped-primary    \n\
1049 /set format verbose action '  update created' added-update    \n\
1050 /set format verbose action '  update modified' modified-update    \n\
1051 /set format verbose action '  update replaced' replaced-update    \n\
1052 /set format verbose action '  update overwrote' overwrote-update    \n\
1053 /set format verbose action '  update dropped' dropped-update    \n\
1054 \n\
1055 /set format verbose until ', however, it cannot be instantiated or its methods invoked until'   defined-class-primary    \n\
1056 /set format verbose until ', however, its methods cannot be invoked until'                      defined-interface-primary    \n\
1057 /set format verbose until ', however, it cannot be used until'                                  defined-enum,annotation-primary    \n\
1058 /set format verbose until ', however, it cannot be invoked until'                               defined-method-primary    \n\
1059 /set format verbose until ', however, it cannot be referenced until'                            notdefined-primary    \n\
1060 /set format verbose until ' which cannot be instantiated or its methods invoked until'          defined-class-update    \n\
1061 /set format verbose until ' whose methods cannot be invoked until'                              defined-interface-update    \n\
1062 /set format verbose until ' which cannot be invoked until'                                      defined-method-update    \n\
1063 /set format verbose until ' which cannot be referenced until'                                   notdefined-update    \n\
1064 \n\
1065 /set format verbose unrerr '{unresolved} is declared'                                           unresolved1-error0    \n\
1066 /set format verbose unrerr '{unresolved} are declared'                                          unresolved2-error0    \n\
1067 /set format verbose unrerr ' this error is corrected: {errors}'                                 unresolved0-error1    \n\
1068 /set format verbose unrerr '{unresolved} is declared and this error is corrected: {errors}'     unresolved1-error1    \n\
1069 /set format verbose unrerr '{unresolved} are declared and this error is corrected: {errors}'    unresolved2-error1    \n\
1070 /set format verbose unrerr ' these errors are corrected: {errors}'                              unresolved0-error2    \n\
1071 /set format verbose unrerr '{unresolved} is declared and these errors are corrected: {errors}'  unresolved1-error2    \n\
1072 /set format verbose unrerr '{unresolved} are declared and these errors are corrected: {errors}' unresolved2-error2    \n\
1073 \n\
1074 /set format verbose resolve '{until}{unrerr}'                                                   defined,notdefined-added,modified,replaced,used    \n\
1075 \n\
1076 /set format verbose typeKind 'class'                  class    \n\
1077 /set format verbose typeKind 'interface'              interface    \n\
1078 /set format verbose typeKind 'enum'                   enum    \n\
1079 /set format verbose typeKind 'annotation interface'   annotation    \n\
1080 \n\
1081 /set format verbose result '{name} ==> {value}{post}'                                        added,modified,replaced-ok-primary    \n\
1082 \n\
1083 /set format verbose display '{result}{pre}created scratch variable {name} : {type}{post}'    expression-added,modified,replaced-primary    \n\
1084 /set format verbose display '{result}{pre}value of {name} : {type}{post}'                    varvalue-added,modified,replaced-primary    \n\
1085 /set format verbose display '{result}{pre}assigned to {name} : {type}{post}'                 assignment-primary    \n\
1086 /set format verbose display '{result}{pre}{action} variable {name} : {type}{resolve}{post}'  varinit,vardecl    \n\
1087 /set format verbose display '{pre}{action} variable {name}{resolve}{post}'                   vardecl,varinit-notdefined    \n\
1088 /set format verbose display '{pre}{action} variable {name}{post}'                            dropped-vardecl,varinit,expression    \n\
1089 /set format verbose display '{pre}{action} variable {name}, reset to null{post}'             replaced-vardecl,varinit-ok-update    \n\
1090 \n\
1091 /set format verbose display '{pre}{action} {typeKind} {name}{resolve}{post}'                 class,interface,enum,annotation    \n\
1092 /set format verbose display '{pre}{action} method {name}({type}){resolve}{post}'             method    \n\
1093 \n\
1094 /set format verbose display '{pre}attempted to use {typeKind} {name}{resolve}{post}'         used-class,interface,enum,annotation    \n\
1095 /set format verbose display '{pre}attempted to call method {name}({type}){resolve}{post}'    used-method    \n\
1096 \n\
1097 /set truncation verbose 80\n\
1098 /set truncation verbose 1000                                                                  varvalue,expression\n\
1099 \n\
1100 /set mode normal -command verbose    \n\
1101 /set format normal display ''                                                               added,modified,replaced,overwrote,dropped-update    \n\
1102 /set format normal display '{pre}{action} variable {name}, reset to null{post}'             replaced-vardecl,varinit-ok-update    \n\
1103 /set format normal display '{result}'                                                       added,modified,replaced-expression,varvalue,assignment,varinit,vardecl-ok-primary    \n\
1104 /set mode concise -quiet normal    \n\
1105 \n\
1106 /set prompt concise 'jshell> '   '   ...> '    \n\
1107 \n\
1108 /set format concise display ''                                                              class,interface,enum,annotation,method,assignment,varinit,vardecl-ok    \n\
1109 \n\
1110 /set feedback normal    \n\
1111 \n\
1112 /set mode silent -quiet    \n\
1113 /set prompt silent '-> ' '>> '    \n\
1114 /set truncation silent 80\n\
1115 /set truncation silent 1000                                                                  varvalue,expression\n\
1116 /set format silent pre '|  '    \n\
1117 /set format silent post '%n'    \n\
1118 /set format silent errorpre '|  '    \n\
1119 /set format silent errorpost '%n'    \n\
1120 /set format silent display ''    \n
--- EOF ---