X11 sample rewritten; now it works again
[k8lst.git] / modules / termkey.st
blob46fb0acc29cfcdaeda65a6be7ed80577cd636fcb
2  coded by Ketmar // Vampire Avalon (psyc://ketmar.no-ip.org/~Ketmar)
3  Understanding is not required. Only obedience.
5  This program is free software. It comes without any warranty, to
6  the extent permitted by applicable law. You can redistribute it
7  and/or modify it under the terms of the Do What The Fuck You Want
8  To Public License, Version 2, as published by Sam Hocevar. See
9  http://sam.zoy.org/wtfpl/COPYING for more details.
12 Package [
13   TermIO
18 System extend [
19   ^isKeyHit [
20     <#SystemIsKeyHit>.
21     self primitiveFailed
22   ]
24   ^termCanonical [
25     <#SystemTermMode 0>.
26     self primitiveFailed
27   ]
29   ^termCanonical: aFlag [
30     <#SystemTermMode 0 aFlag>.
31     self primitiveFailed
32   ]
34   ^termEcho [
35     <#SystemTermMode 1>.
36     self primitiveFailed
37   ]
39   ^termEcho: aFlag [
40     <#SystemTermMode 1 aFlag>.
41     self primitiveFailed
42   ]
44   ^termRaw [
45     <#SystemTermMode 2>.
46     self primitiveFailed
47   ]
49   ^termRaw: aFlag [
50     <#SystemTermMode 2 aFlag>.
51     self primitiveFailed
52   ]