rev 48074 : 8189102: All tools should support -?, -h and --help
Reviewed-by: kvn, jjg, weijun, alanb, rfield, ksrini

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