home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / terminal / 1121 < prev    next >
Encoding:
Text File  |  1992-09-10  |  1.1 KB  |  32 lines

  1. Newsgroups: comp.terminals
  2. Path: sparky!uunet!world!rr
  3. From: rr@world.std.com (Robert I Ransbottom)
  4. Subject: Re: Compiling and Testing Questions
  5. Message-ID: <BuE0Fo.8nt@world.std.com>
  6. Keywords: Terminfo, Compile, Test
  7. Organization: The World Public Access UNIX, Brookline, MA
  8. References: <jirwin.716073541@beagle> <9SEP199219172447@envmsa.eas.asu.edu>
  9. Date: Fri, 11 Sep 1992 00:09:22 GMT
  10. Lines: 20
  11.  
  12. In article <9SEP199219172447@envmsa.eas.asu.edu> ptran@asuvax.eas.asu.edu writes:
  13. >     If I recall correctly, UNIX System V uses the terminfo database.  The
  14. >command "tput" should do what you want.  Try the manual pages for "tput"
  15. >(i.e., "man tput").  In short, after you've compiled the entries, type the
  16. >following:
  17. >
  18. >     % tput init     # To send the initializations for $TERM.
  19. >     % tput longname     # To display the "long name" of the terminal.
  20.  
  21. This is correct.  The usually approach is to define variables in
  22. the shell and export them. eg.
  23.     INIT = `tput init`
  24.     CLEAR = `tput clear`
  25.     export CLEAR INIT
  26.  
  27.  
  28. -- 
  29. rr@world.std.com  Robert Ransbottom
  30.  
  31. "Maintaining correct attributions is extremely important." -- anonymous
  32.