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