Re: SQL*ReportWriter Terminal Definition

From: Michael Nolan <nolan_at_helios.unl.edu>
Date: 4 Mar 1994 22:49:15 GMT
Message-ID: <2l8dtc$66q_at_crcnis1.unl.edu>


Randy Bradley <bradley_at_marcvm.marc.usda.gov> writes:

>Does ReportWriter use an environmental variable for its terminal
>definition?
>ie: "sqlrep term=vt220" works ok, so I want vt220 to be the default.
>Right
>now, even though "TERM" and "ORACLE_TERM" are set equal to vt220,
>ReportWriter seems to think I'm a sun terminal. (based on all the "R" keys
>when I do a ^K)

Sounds like that's the default on your system. Look in the $ORACLE_HOME/sqlreport/admin/terminal directory for the srw_dflt file. This file was set to whatever the 'default' SRW terminal was declared when the database was installed. (On my systems, I have changed it to a symbolic link to the terminal model that most people are using, rather than a duplicate copy of that file.)

As far as I know, SRW doesn't have a environmental variable to override the terminal type, and while most of our production users use a VT100 emulator, the other developers use a VT220, so I added the following in our /usr/local/lib directory as an executable script:

$ORACLE_HOME/bin/sqlrep $* term=vt220

---
Michael Nolan, Sysop for the DBMS RoundTable on GEnie
nolan_at_notes.tssi.com, dbms_at_genie.geis.com
(posted from nolan_at_helios.unl.edu)
Received on Fri Mar 04 1994 - 23:49:15 CET

Original text of this message