🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189647

trapping a return sent by a function key.

#189647
From: Sven Thjostarsson
Date: Fri, 21 Dec 1990 20:16
14 lines
1057 bytes
I am trying to customize emacs for non-power users to do things when they
press function-keys on their terminals.  The problem I have is that each
function-key sends a sequence followed by a return, i.e.:

ESC-b RET

How can I catch that return and keep it from going into the text when I
define the function called for each function-key?

I have tried several quick and dirty methods, but none are too satisfying,
so any help you can give me would be appreciated.  Thanks in advance,

Sven
Technical Details
Message-ID: <5730@uafhp.uark.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!maverick.ksu.ksu.edu!uafhp!award

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,1a4c7c5487c7c770,start
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1990-12-22 04:57:46 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!maverick.ksu.ksu.edu!uafhp!award
From: award@uafhp.uark.edu (Sven Thjostarsson)
Newsgroups: gnu.emacs.help
Subject: trapping a return sent by a function key.
Keywords: return function-key
Message-ID: <5730@uafhp.uark.edu>
Date: 21 Dec 90 20:16:38 GMT
Organization: College of Engineering, University of Arkansas, Fayetteville
Lines: 14