🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98842

reporting a bug as directed by gnuemacs

#98842
From: Richard Roy
Date: Mon, 18 Feb 1991 23:11
64 lines
3016 bytes
I am running GNU Emacs 18.57 compiled Jan 29 1991 on our DECStation 5400 running 

ULTRIX V4.0 (Rev. 174) System #1: Wed Aug  8 15:52:27 PDT 1990
UWS V4.0 (Rev. 164)

The following bug was noted 

#<EMACS BUG: INVALID DATATYPE (#o37777777603) Save your buffers
immediately and please report this bug>:

This bug is reported each time I attempt to use the describe-key
function to describe the function currently executed when I press the
"PF3" key on my DEC vt200-like keyboard.  The function is supposed to
be bound to save-buffer.  The vt200.el file that gets loaded contains:

(defvar SS3-map nil
  "SS3-map maps the SS3 function keys on the VT200 keyboard.
The SS3 keys are the numeric keypad keys in keypad application mode
\(DECKPAM).  SS3 is DEC's name for the sequence <ESC>O which is
the common prefix of what these keys transmit.")

(if (not SS3-map)
    (progn

     (setq SS3-map (make-keymap))  ;; <ESC>O commands
     (setup-terminal-keymap SS3-map
	    '(("A" . ?u)	   ; up arrow
	      ("B" . ?d)	   ; down-arrow
	      ("C" . ?r)	   ; right-arrow
	      ("D" . ?l)	   ; left-arrow
	      ("M" . ?e)	   ; Enter
	      ("P" . isearch-forward)	   ; PF1 - isearch-forward
	      ("Q" . isearch-backward)     ; PF2 - isearch-backward
	      ("R" . "\C-x\C-s")	   ; PF3 - save-buffer
	      ("S" . suspend-emacs)	   ; PF4 - suspend-emacs
      ("l" . ?,)	   ; ,
	      ("m" . ?-)	   ; -
	      ("n" . ?.)	   ; .
	      ("p" . ?0)	   ; 0
	      ("q" . ?1)	   ; 1
	      ("r" . ?2)	   ; 2
	      ("s" . ?3)	   ; 3
	      ("t" . ?4)	   ; 4
	      ("u" . ?5)	   ; 5
	      ("v" . ?6)	   ; 6
	      ("w" . ?7)	   ; 7
	      ("x" . ?8)	   ; 8
	      ("y" . ?9)))	   ; 9

     (define-key global-map "\eO" SS3-map)))

(defun vt200-enable-arrows ()
  "Redefine Emacs so that VT200 arrow keys and function keys work.
This is not done automatically because it inescapably causes the
standard Emacs command ESC [ to stop working normally."
  (interactive)
  (define-key global-map "\e[" CSI-map))
(vt200-enable-arrows)

...

among other things.  Interestingly enough, reload this vt200.el file
does not reset the PF3 key to perform the save  function.  This I don't
understand!  If you need or want any more info, contact me at your convenience.
Technical Details
Message-ID: <9102182311.AA02588@sprite.stanford.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,b4af48d2855c3649,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-02-18 15:11:45 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage
From: dick@SPRITE.STANFORD.EDU (Richard Roy)
Newsgroups: gnu.emacs.bug
Subject: reporting a bug as directed by gnuemacs
Message-ID: <9102182311.AA02588@sprite.stanford.edu>
Date: 18 Feb 91 23:11:45 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: dick@isl.stanford.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 64
Approved: bug-gnu-emacs@prep.ai.mit.edu