home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / database / oracle / 1269 < prev    next >
Encoding:
Text File  |  1992-08-12  |  1.6 KB  |  39 lines

  1. Newsgroups: comp.databases.oracle
  2. Path: sparky!uunet!van-bc!ubc-cs!unixg.ubc.ca!ucs.ubc.ca!lindholm
  3. From: lindholm@ucs.ubc.ca (George Lindholm)
  4. Subject: Re: Terminal types, recognition of...
  5. Message-ID: <1992Aug12.202455.16598@unixg.ubc.ca>
  6. Sender: news@unixg.ubc.ca (Usenet News Maintenance)
  7. Nntp-Posting-Host: greve.ucs.ubc.ca
  8. Organization: University Computing Services, UBC, Canada
  9. References:  <1992Aug10.174956.13401@unixg.ubc.ca>
  10. Date: Wed, 12 Aug 1992 20:24:55 GMT
  11. Lines: 26
  12.  
  13. In article <1992Aug10.174956.13401@unixg.ubc.ca>, julia@unixg.ubc.ca (Julia Chen) writes:
  14. > Hello,
  15. > Can anyone explain how Oracle interprets and treats terminal settings in a
  16. > Unix environment? I work on a Sun IPC with xterm running on a remote Sun 4.
  17. > With my envrionment variable $term set at xterm, none of the Oracle tools will
  18. > recgonize the terminal. I either have to change $term to xtermsun:sun or add
  19. > '-c xtermsun:sun' at invocation in order to get Oracle to correctly recgonize
  20. > that I'm on an xterm. Why is this so? Is there various flavours of xterm's?
  21.  
  22. (It would be really nice if all the oracle tools would use the same terminal
  23. support, but that's another question).
  24.  
  25. What I do in my .bashrc file is to define an alias for (say) runform30 that
  26. takes care of the -c option:
  27.  
  28. if [ "$TERM" = "xterm" ]; then
  29.    alias runform30='runform30 -c xtermsun:sun'
  30. fi
  31.  
  32.    George
  33. -- 
  34. George Lindholm                                  phone:    (604) 822-4375
  35. University Computing Services, UBC               fax:      (604) 822-5116
  36. 6356 Agricultural Road, Vancouver, B.C., Canada  internet: lindholm@ucs.ubc.ca
  37. V6T 1Z2                                          bitnet:   USERGNL@UBCMTSG
  38.