QNX RTOS v4 Knowledge Base
  
QNX RTOS v4 Knowledge Base
  
    
      | 
          
            | Title | How to disable a console-switch? |  
            | Ref. No. | QNX.000009996 |  
            | Category(ies) | Input Devices, Configuration |  
            | Issue | I want to disable the Ctrl-Alt-1, 2,... keypresses that allow console switching. How do I do that?
 |  
            | Solution | Place in your sysinit the command line stty +noswitch" (or +nohotkey +noboot ...)
 before using "ph" to start Photon.
 This will disable the ability to switch consoles in text mode.
 
 For Photon you will have to place
 export PHWMOPTS="-S"
 before starting "ph" in startup.
 See more 'pwm' options under
 Help->Photon->Installation->Applications->pwm.
 
 |  |