fix _make_git_tar_dir.sh - don't 'append directory' to symlinks
[cmdllinux.git] / scripts / _key.sh
blobf003a3d6c4565271fe481a2912f1dc62a9dde54c
1 #kernel config
2 #|# CONFIG_MAGIC_SYSRQ is not set
3 #sysctl kernel.sysrq=1
4 #echo "1" > /proc/sys/kernel/sysrq
5 #/etc/sysctl.conf kernel.sysrq = 1
6 #kernel parameter sysrq_always_enabled=1
7 # Alt+SysRq+r Unraw Take control of keyboard back from X.
8 # Alt+SysRq+e Terminate Send SIGTERM to all processes, allowing them to
9 # terminate gracefully.
10 # Alt+SysRq+i Kill Send SIGKILL to all processes, forcing them to
11 # terminate immediately.
12 # Alt+SysRq+s Sync Flush data to disk.
13 # Alt+SysRq+u Unmount Unmount and remount all filesystems read-only.
14 # Alt+SysRq+b Reboot Reboot
16 #"ctrl-v" and then "key" - echo esc seq
17 #showkey -a
19 #bash
20 #bind -p
22 #in script
23 #set -o emacs
24 #or
25 #set -o vi
27 #F12
28 #bind '"\e[24~":"free\nsync\n"'
29 #Ctrl-e
30 #bind '"\C-e":"df\n"'
32 #other setting - keyboard map
33 #echo to terminal
34 #alt-gr - d
35 (dumpkeys; echo -ne 'altgr keycode 32 = F100\nstring F100 = "free\nsync\n"\n') | loadkeys