hallib: new: sim_lib, basic_sim

sim_lib.tcl: haltcl library procs
basic_sim.tcl: basic sim configuration using sim_lib

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
moveoff: update sim demo configs to use hallib

note: declining usage for configs used for development (moveoff_demo*)

also:
removeshort.hal: use mux as sample-hold on motor-pos-fb

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
linuxcnc.in,haltcl.in pass args to haltcl file

linuxcnc.in: a haltcl file can make use of args

haltcl.in: set argv [lindex $argv 1 end] was always wrong,
           lrange was intent

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
moveoff.comp: warning pin, gave_msg improve

  improve gave_msg handling
  add warning pin
    for hal pin notice of:
    apply-offsets deasserted while offsets-applied
    occurs if program stopped or resumed while offsets active

hookup_moveoff.tcl
  typo

moveoff.halshow
  show resume pins too

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
moveoff: cleanup messages, boolean tests

moveoff_gui
  improve error msgs for verify_context() checks
  adjust font on cancel messages
  simplify boolean tests
  shorten titletxt to fit smaller size widget

Signed-off-by: Dewey Garrett <dgarrett@panix.com>