lundi 29 décembre 2014

Blocking Ctrl-C / Ctrl-Z in an input command


Vote count:

0




In Matlab or GNU Octave, this command input("") allows to break the input process by pressing Ctrl-C or Ctrl-Z. Is there a way to block this, so that only a valid input is accepted?


Note: Ctrl-Z even exits the Octave shell in a Linux terminal, so I understand that the control must be established at a different layer.



asked 51 secs ago







Blocking Ctrl-C / Ctrl-Z in an input command

Aucun commentaire:

Enregistrer un commentaire