Re: Anybody know a way to redefine the keys in SQL*ReportWriter?

From: Tommy Wareing <p0070621_at_oxford-brookes.ac.uk>
Date: 30 Jun 1993 04:40:45 -0500
Message-ID: <C9FHFG.57r_at_uk.ac.brookes>


Sorry about this folks, my e-mail bounced.

Lifeng Wang (lifeng_at_is.rice.edu) wrote:
> Anybody know a way to redefine the keys in SQL*ReportWriter?
 Yes.
> Thanks in advance.

Oh, you want to know what it is? use the termdef program.  Usage: termdef [keyword=]value ...

 Valid Keywords:

   terminal   - Name of terminal
   outfile    - Location and name of file to place terminal definition
   infile     - Location and name of key definition file
   userid     - ORACLE username/password_at_node
   tdfile     - Location and name of terminal def. file (Default: termdef.dat)
 

So I use
  termdef terminal=tvi950 outfile=tvi950 infile=tvi.kdf userid=/ tdfile=televideo.tdf

Where tvi.kdf looks like:

; Televideo Key mappings for ReportWriter
;
;
; first line:			\E^K			: Escape Up Arrow
previous line:			^K			: Up Arrow
begin of line:			^^			: Home
previous word:			\E[D			: Shift <-
left:				^H			: <-
right:				^L			: ->

...

And televideo.tdf looks like:

# Televideo 965 terminal/keymapping file for Report Writer v. 1.1
# T. Wareing 28 Sep 1992
# ?, attributes off, clear page, write protect off, auto page off,
#  monitor off, ?, load PC chars, character mode
t0|tvi950|Televideo 965 driver:\
is=\EC\EG0\E\047\E(\Ew\EX\El\Ex4\r\200\EF2:\ co#80:li#24:\
bs:nd=^L:up=^K:do=^V:\
...

> -lifeng_at_is.rice.edu

  • -- _________________________ __________________________________________ / Tommy Wareing \ / In the beginning, there was The Bomb \ | p0070621_at_uk.ac.brookes X And The Bomb said "Let there be Light!" | \ 0865-483389 / \ - The Bomb, Dark Star / ~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Received on Wed Jun 30 1993 - 11:40:45 CEST

Original text of this message