12.07.2015 Views

Geant4 User's Guide for Application Developers - Geant4 - CERN

Geant4 User's Guide for Application Developers - Geant4 - CERN

Geant4 User's Guide for Application Developers - Geant4 - CERN

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Getting Started with <strong>Geant4</strong>- Running a Simple Examplehelp commandshow command help.exitterminate the session.G4UItcsh supports user-friendly key bindings a-la-tcsh. G4UItcsh runs on Solaris and Linux. The following keybindingsare supported;^A^Bmove cursor to the topbackward cursor ([LEFT] cursor)^C (except Windows terminal)abort a run (soft abort) during event processing. A program will be terminated while accepting a user command.^D^E^F^K^N^Pdelete/exit/show matched listmove cursor to the end<strong>for</strong>ward cursor ([RIGHT] cursor)clear after the cursornext command ([DOWN] cursor)previous command ([UP] cursor)TABcommand completionDELbackspaceBSbackspaceThe example below shows how to set a user's prompt.G4UItcsh* tcsh = new G4UItcsh();tcsh-> SetPrompt("%s>");The following strings are supported as substitutions in a prompt string.%s%/current application statuscurrent working directory20

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!