-terminal

For the desktop versions (macOS, Linux, Windows/DOS, Windows/CYGWIN, Windows/WSL), you can start the program with the "-terminal" argument and then have an insh prompt:

    Linux> <install_path>/EsbRootView/<version>/bin/EsbRootView -terminal
   (macOS> <install_path>/EsbRootView/<version>/EsbRootView.app/Contents/MacOS/EsbRootView -terminal)
   (  DOS> <install_path>\EsbRootView\<version>\bin\EsbRootView.exe -terminal)
    EsbRootView_insh$ 

You can already change the prompt by proceeding as for a Bourne shell by defining the PS1 variable in your .insh:

    PS1='EsbRootView> '

and after restarting you should have:

    EsbRootView> 

history

The terminal prompt handles an history file. The logic is the same as for a bash prompt:

    EsbRootView$ history
 ....
 469 scene_set_clear_color ROOT/kMagenta+3
 470 scene_clear_dynamic
 471 FgdHit_vis -modeling=cube -color='ROOT/kMagenta+3'
 472 exit
 473 history
    EsbRootView$ !470
    EsbRootView$ !471
    EsbRootView$ !!

completion

By typing twice the tab key, you activate the completion and have the list of available commands.

On good part of commands, you have a help text that you can read by using the help command:

    EsbRootView_insh$ help echo
    EsbRootView_insh$ help event_model

See the "help text of commands" section for a raw dump of the commands help texts.