Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Photon-styled shell script
Ref. No. QNX.000009934
Category(ies) Utilities, Development
Issue Is there any sort of utility that would make it easy to have a shell script display and/or prompt for input via Photon?
Solution Absolutely, take a look at Slang (downloaded from www.cognet.ca). It gives access to all of the Photon widgets, runs using the #!/<shell> script designation, supports usage messages, gives access to system calls, IPC, ipc/outp, and shared memory. It will even read a PhAB widget file to produce any display, prompt or dialog.