The user interface software, including XNIRSPEC, and all the IDL GUI's source code, is stored in /kroot/kss/nirspec/ui:
8:59am waimea:~> cdui 8:59am waimea:ui> pwd /kroot/kss/nirspec/ui 8:59am waimea:ui> ls csh/ html/ montemp/ scamgui/ xnirspec/ drp/ idllib/ qlook/ watch_imrot/ eavesd/ imrot/ qlook_old/ xdisplay/ efsgui/ makelog/ run_ui/ ximrot/The image quick look displays are started, for example, by calling a script in directory run_ui called run_rql:
9:04am waimea:run_ui> cat run_rql #!/bin/csh -f # # Stand alone script to launch Quicklook IDL program. # # James Larkin 1/30/98 # modified for host 'nirspec' by George Brims 2/26/98 # Completely changed for batch execution instead of # RPC communication. 3/1/98. # modify -s nirspec killspec=0 modify -s nirspec killscam=0 cd /kroot/kss/nirspec/ui/qlook source /kroot/kss/nirspec/ui/idllib/idl51_setup xrdb -merge /nirspec/home1/nirspec/.Xdefaults cmdtool -I "idl rscamstartup ; exit" -iconic & cmdtool -I "idl rspecstartup ; exit" -iconic &Cmdtools are started on the user's screen, that run separate copies of IDL in batch mode, using the appropriate batch script. In the case of the SCAM display, the script is rscamstartup.pro in directory qlook:
9:08am waimea:qlook> cat rscamstartup.pro device, true_color=24, decomposed=0 .r kidl.pro .r ns_open_fits.pro ns_quicklook, server='nirspec', type='scam', go_kw='go2', go_file='lastfile2', $ test_kw='test2', test_file='/tmp/TEMPFITS2', disp_kw='display2', $ disp_file='dispname2', title='SCAM Display', dir_kw='outdir2', kill_kw='killscam', xs=256, ys=256, ct=1