Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!clyde.concordia.ca!s3!gamin From: gamin@ireq-robot.hydro.qc.ca (Martin Boyer) Newsgroups: comp.unix.shell Subject: tcsh binding of function keys Message-ID: <3765@s3.ireq.hydro.qc.ca> Date: 6 Nov 90 20:55:48 GMT Sender: root@s3.ireq.hydro.qc.ca Organization: Laboratoire de robotique, Institut de recherche d'Hydro-Quebec Lines: 33 I just got the latest (5.19) version of tcsh and I have problems binding SUN function keys. In the following example, I want to bind R7 to beginning-of-line: % bind function-key-prefix M-[ % bind beginning-of-line X-214z bad key specification -- unknown name "" The man page says: If given two arguments bind binds the function (first argu- ment) to the given key (second argument). The key may be: the direct character or a caret- combination, which is converted to control-; M- for an escaped character; or X- for a function key. For the last of these, the function key prefix must be bound to the func- tion "extended-key-prefix" and the string specified to the bind command must not include this prefix. Notice how it says "M-" and "X-". I understand this to mean that the M- prefix can be followed only by a single letter but that the X- prefix can be followed by a string. I believe the documentation is wrong but, anyhow, is there a workaround? I know about .ttyswrc mapping, but I can't use that on a raw console. -- Martin Boyer mboyer@ireq-robot.hydro.qc.ca Institut de recherche d'Hydro-Quebec mboyer@ireq-robot.uucp Varennes, QC, Canada J3X 1S1 +1 514 652-8136