-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>/MEMPHYS_vis/<version>/bin/MEMPHYS_vis -terminal
   (macOS> <install_path>/MEMPHYS_vis/<version>/MEMPHYS_vis.app/Contents/MacOS/MEMPHYS_vis -terminal)
   (  DOS> <install_path>\MEMPHYS_vis\<version>\bin\MEMPHYS_vis.exe -terminal)
    $ 

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

    PS1='MEMPHYS_vis> '

and after restarting you should have:

    MEMPHYS_vis> 

history

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

    MEMPHYS_vis$ history
 ....
 469 scene_set_clear_color ROOT/kMagenta+3
 470 scene_clear_dynamic
 471 g4_pv_ls
 472 exit
 473 history
    MEMPHYS_vis$ !470
    MEMPHYS_vis$ !471
    MEMPHYS_vis$ !!

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:

    MEMPHYS_vis_insh$ help echo
    MEMPHYS_vis_insh$ help g4_pv_ls

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