home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.emacs.help
- Path: sparky!uunet!mcsun!sunic!ugle.unit.no!hrue
- From: hrue@sima.sintef.no (hrue)
- Subject: Re: Using <ALT> as meta key
- In-Reply-To: slangley@constant.demon.co.uk's message of Sun, 6 Sep 1992 08:52:49 GMT
- Message-ID: <HRUE.92Sep6204600@nazgul.sima.sintef.no>
- Sender: news@ugle.unit.no (NetNews Administrator)
- Organization: SINTEF Industrial Mathematics, Trondheim, Norway
- References: <Bu5FC1.1A4@constant.demon.co.uk>
- Date: 6 Sep 92 20:46:00
- Lines: 24
-
-
- arrow trouble ?
-
- try something like this, not sure that it works but you can modify it
- as you want. this is evaluated if TERM is set to vt100.
-
- -hr
-
- (if (string= (getenv "TERM") "vt100")
- (progn
- (define-key esc-map "OA" 'previous-line)
- (define-key esc-map "OB" 'next-line)
- (define-key esc-map "OC" 'forward-char)
- (define-key esc-map "OD" 'backward-char)))
-
- --
- |^^^^^^| ___________________________________
- | | / \
- | | | Haavard Rue |
- | (o)(o) | The Norwegian Instiute of Technology |
- @ _) | Department of Mathemathical Sciences |
- | ,___| ,,| N-7034 Trondheim NTH, Norway |
- | / ..'' | fax:+47-7-593524, hrue@imf.unit.no |
- /____\ \____________________________________/
-