🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #36715

Re: vt100 PF keys in an xterm (THANKS! now stop replying!)

#36715
From: Rob Cuthbertson
Date: Mon, 12 Feb 1990 22:26
22 lines
1342 bytes
Many thanks to those (MANY) people who replied, I have been given the fix 
using the VT100 widget, which consists of adding the following to .Xdefaults:

+----------------------------
# make the keypad R1-R4 work like vt100 PF1-PF4

xterm*VT100.Translations: #override <Key>R1: string("^[OP") \n \
	<Key>R2: string("^[OQ") \n \
	<Key>R3: string("^[OR") \n \
	<Key>R4: string("^[OS") \n 
+----------------------------

Of course, the ^[ should be a real escape, not ^ followed by [

I am posting this for two reasons, first in two days (weekend, no less) I
got about a dozen requests for summaries, and second I am being inundated 
with replies, most of which are similar to this technique.

Many thanks!
--Rob Cuthbertson, US WEST Advanced Technologies
robc@uswat.uswest.COM
Technical Details
Message-ID: <5818@uswat.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sunybcs!boulder!uswat!robc
References: <5791@uswat.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sunybcs!boulder!uswat!robc
From: robc@uswat.uswest.com (Rob Cuthbertson)
Newsgroups: comp.windows.x
Subject: Re: vt100 PF keys in an xterm (THANKS! now stop  replying!)
Summary: problem solved, and I'm getting a dozen letters/day
Message-ID: <5818@uswat.UUCP>
Date: 12 Feb 90 22:26:42 GMT
References: <5791@uswat.UUCP>
Sender: news@uswat.UUCP
Distribution: usa
Organization: US WEST Advanced Technologies, CO, USA
Lines: 22