Usenet comp.sys.vms (1990-2004)
 help / color / mirror / Atom feed
From: Kevin Oberman <oberman@es.net>
Subject: Re: EMACS init files for EDT function keypad
Date: 1998/12/04	[thread overview]
Message-ID: <sresoevpv93.fsf@ptavv.es.net> (raw)
In-Reply-To: 36665F76.BA85E6B9@csi.com

John Cushnie <cushnie@csi.com> writes:

> Hi,
> 
> A couple of year back I remember seeing someone using EMACS on OpenVMS
> with a key mapping done by an init file that allowed the standard EDT
> style keystrokes to be used for editing, eg PF4 and Gold-PF4 to remove
> and then replace the line.
> 
> Does anyone know where I can get such an init file so that EMACS on
> Digital UNIX will allow me to use the same, or do I have to roll my own
> ?

I suggest that you use tpu-edt. It is well supported and does an
excellent job of emulating EDT keypad operations.
;; load tpu-edt emulator
(require 'tpu-edt)
(tpu-edt)
; tpu-set setup
(load "vt-control" t)
(setq require-final-newline t)
(define-key GOLD-SS3-map "P" 'universal-argument) ;Gold-PF1
(define-key SS3-map "w" 'tpu-paragraph)           ;KP7
(cond
 ('device_on_window-system-p
  (global-set-key [kp-7] 'tpu-paragraph)
  (define-key GOLD-map [kp-f1] 'universal-argument)))
(tpu-version)

The first time you run it, it will ask you to type the various keys
used so that it can correctly map them. This is saved and should not
require re-entry. It also includes several tpu capabilities like
rectangular cut and paste (tpu-toggle-rectangle) which are not
supported by EDT.

tpu-edt is a part of the standard Emacs and XEmacs distributions. (I
maintain the XEmacs version but Rod Riepel of Stanford wrote it and
does most of the work on maintaining it.)
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest Orlando Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net				Phone: +1 510 486-8634



      parent reply	other threads:[~1998-12-04  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-03  5:00 EMACS init files for EDT function keypad John Cushnie
1998-12-03  5:00 ` John Cushnie
1998-12-04  5:00 ` Kevin Oberman [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox