Hendrik Brueckner 368c1e3249 hvc_console: Escape magic sysrq key
The ctrl-o (^O) is a common control key used by several applications,
such as vim, but hvc_console uses ^O as the magic-sysrq key.  This
commit allows users to send ^O to applications by pressing ^O twice
in succession.

To implement this, this commit introduces a check if ^O is pressed
again if the sysrq_pressed variable is already set.  In this case,
clear sysrq_pressed state and flip the ^O character to the tty.  (The
old behavior has always set "sysrq_pressed" if ^O has been entered,
and it has not flipped the ^O character to the tty.)

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-12-21 14:21:15 +11:00
..
2008-12-16 05:40:34 -05:00
2008-11-29 20:42:28 -08:00
2008-12-21 14:21:15 +11:00
2008-11-30 10:03:36 -08:00
2008-12-01 19:55:25 -08:00
2008-11-07 08:25:43 -08:00
2008-11-01 09:50:12 -07:00
2008-10-21 07:48:33 -04:00
2008-12-09 08:28:36 -08:00
2008-12-11 21:28:11 -08:00
2008-10-16 11:21:30 -07:00
2008-12-21 14:21:14 +11:00
2008-10-27 19:15:41 +01:00
2008-12-16 14:38:58 +11:00
2008-11-04 08:18:19 -08:00
2008-12-16 14:38:58 +11:00
2008-11-10 13:50:17 -08:00
2008-11-01 09:49:46 -07:00
2008-11-17 19:11:26 +01:00
2008-10-28 21:47:17 +00:00