🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #188862

Re: Key bindings

#188862
From: Silver
Date: Mon, 27 May 1991 22:48
22 lines
1477 bytes
lord_zar@ucrmath.ucr.edu (wayne wallace) writes:
> Okay, I do know how to set (global-set-key " " 'funcname) with control and
> meta characters, but how does one set it up to redefine keyboard characters
> without controls or metas?

I don't understand.  If the keysequence you are binding doesn't have controls
and metacharacters, bfd.

> You see, for some odd reason on our (SunOS4.1) system, no matter the term
> type, the ascii character 'W' has somehow been set to delete-char. I can
> unset it, but have not found a way to reset it to print a normal W. Any
> clues?

(global-set-key "w" 'self-insert-command)
(global-set-key "W" 'self-insert-command)

Or, if one really had style issues in mind, one might write

(define-key global-map "w" (function self-insert-command))
(define-key global-map "W" (function self-insert-command))

Regards, [Ag]
Technical Details
Message-ID: <May.27.18.48.17.1991.29350@paul.rutgers.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!rutgers!aramis.rutgers.edu!paul.rutgers.edu!gaynor
References: <9105251947.AA22301@ucrmath.ucr.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,30cfa27b0d3c4a3e
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-05-28 08:14:45 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!rutgers!aramis.rutgers.edu!paul.rutgers.edu!gaynor
From: gaynor@paul.rutgers.edu (Silver)
Newsgroups: gnu.emacs.help
Subject: Re: Key bindings
Message-ID: <May.27.18.48.17.1991.29350@paul.rutgers.edu>
Date: 27 May 91 22:48:18 GMT
References: <9105251947.AA22301@ucrmath.ucr.edu>
Organization: Rutgers Univ., New Brunswick, N.J.
Lines: 22