1# bindings - default key bindings for calc line editing functions 2# 3# Copyright (C) 1999 David I. Bell 4# 5# Calc is open software; you can redistribute it and/or modify it under 6# the terms of the version 2.1 of the GNU Lesser General Public License 7# as published by the Free Software Foundation. 8# 9# Calc is distributed in the hope that it will be useful, but WITHOUT 10# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 11# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General 12# Public License for more details. 13# 14# A copy of version 2.1 of the GNU Lesser General Public License is 15# distributed with calc under the filename COPYING-LGPL. You should have 16# received a copy with calc; if not, write to Free Software Foundation, Inc. 17# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18# 19# Under source code control: 1993/05/02 20:09:19 20# File existed as early as: 1993 21# 22# Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/ 23 24# NOTE: This facility is ignored if calc was compiled with GNU-readline. 25# In that case, the standard readline mechanisms (see readline(3)) 26# are used in place of those found below. 27 28 29map base-map 30default insert-char 31^@ set-mark 32^A start-of-line 33^B backward-char 34^D delete-char 35^E end-of-line 36^F forward-char 37^H backward-kill-char 38^J new-line 39^K kill-line 40^L refresh-line 41^M new-line 42^N forward-history 43^O save-line 44^P backward-history 45^R reverse-search 46^T swap-chars 47^U flush-input 48^V quote-char 49^W kill-region 50^Y yank 51^? backward-kill-char 52^[ ignore-char esc-map 53 54map esc-map 55default ignore-char base-map 56G start-of-line 57H backward-history 58P forward-history 59K backward-char 60M forward-char 61O end-of-line 62S delete-char 63g goto-line 64s backward-word 65t forward-word 66d forward-kill-word 67u uppercase-word 68l lowercase-word 69h list-history 70^[ flush-input 71[ arrow-key 72