home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / database / oracle / 1267 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  2.6 KB

  1. Path: sparky!uunet!olivea!decwrl!decwrl!oracle!unrepliable!bounce
  2. From: wkaufman@us.oracle.com (William Kaufman)
  3. Newsgroups: comp.databases.oracle
  4. Subject: Re: Terminal types, recognition of...
  5. Message-ID: <1992Aug12.022036.9693@oracle.us.oracle.com>
  6. Date: 12 Aug 92 02:20:36 GMT
  7. References: <1992Aug10.174956.13401@unixg.ubc.ca>
  8. Sender: usenet@oracle.us.oracle.com (Oracle News Poster)
  9. Organization: Oracle Corporation, Redwood Shores CA
  10. Lines: 42
  11. Nntp-Posting-Host: hqsun2.us.oracle.com
  12. X-Disclaimer: This message was written by an unauthenticated user
  13.               at Oracle Corporation.  The opinions expressed are those
  14.               of the user and not necessarily those of Oracle.
  15.  
  16. In article <1992Aug10.174956.13401@unixg.ubc.ca> julia@unixg.ubc.ca (Julia Chen) writes:
  17. ] Can anyone explain how Oracle interprets and treats terminal settings in a
  18. ] Unix environment? I work on a Sun IPC with xterm running on a remote Sun 4.
  19.  
  20.     (Note that the below only applies to SQL*Forms 3.0, SQL*Menu 5.0,
  21. and Oracle*Terminal 1.0, and is fairly UNIX-specific.)
  22.  
  23.    If you don't specify a "-c" on the command line, it takes your $TERM
  24. environment variable as your terminal, and oraterm.r as your resource
  25. file.  (This is on UNIX systems--check your platform docs for defaults
  26. on other platforms.)
  27.  
  28. ] With my envrionment variable $term set at xterm, none of the Oracle tools will
  29. ] recgonize the terminal.
  30.  
  31.     Well, it'll look for a terminal named "xterm" in your oraterm.r.  If
  32. it doesn't find it (and, in the default oraterm.r, it might not), the
  33. program will warn you and halt.
  34.  
  35. ] I either have to change $term to xtermsun:sun
  36.  
  37.     Don't do this!  Otherwise, other programs (like vi, for example) may
  38. get confused about what kind of terminal you're using, and fail, or get
  39. forced into line-mode.
  40.  
  41. ] or add
  42. ] '-c xtermsun:sun' at invocation in order to get Oracle to correctly recgonize
  43. ] that I'm on an xterm.
  44.  
  45.     That's one solution.  If *all* your machine's users are using
  46. xterms, though, you can simply rename your sun.r to oraterm.r (save the
  47. old one somewhere!), and rename the "xtermsun" terminal listed in there
  48. to "xterm" (and save the unmodified sun.r, too!).  Then, "xtermsun:sun"
  49. becomes "xterm:oraterm", which would be your default.
  50.  
  51.                                                 -- Bill K.
  52.  
  53. ===============================================================================
  54. William P.D. Kaufman         Voice: (415) 506-2447     500 Oracle Parkway
  55. wkaufman@us.oracle.com         Fax: (415) 506-7221     Box 659411
  56. Tools & Multimedia                                     Redwood Shores, CA 94065
  57.