home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sgi / 12963 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  2.0 KB

  1. Path: sparky!uunet!wupost!monsanto.com!bb1t.monsanto.com!kjaren
  2. From: kjaren@bb1t.monsanto.com
  3. Newsgroups: comp.sys.sgi
  4. Subject: scrsave capturing wrong screen
  5. Message-ID: <1992Aug26.140128.4423@bb1t.monsanto.com>
  6. Date: 26 Aug 92 14:01:28 CST
  7. Organization: Monsanto Company, St. Louis, MO
  8. Lines: 30
  9.  
  10.  
  11.       With the X-Window system, it is possible to log onto the graphics
  12. terminal on a local workstation, rlogin to a remote workstation, set
  13. the display back to the local workstation (setenv DISPLAY local:), run
  14. an X-Windows program, and have the window for the program display on
  15. the graphics terminal on the local workstation.  I've done this with
  16. many programs on the SGI workstation system at my site, and it works
  17. fine.  However, I've been experiencing difficulties when trying to 
  18. capture the screen using the /usr/sbin/scrsave command.  When I use
  19. scrsave when logged onto the remote node, it captures the image on
  20. the graphics terminal on the remote node.  This is expected.  To work
  21. around this, I wrote a shell script to run on the remote node.  This
  22. script parses the name of the local node from the DISPLAY variable,
  23. and then uses the /usr/bsd/rsh command to capture the screen on the
  24. local node:
  25.  
  26. /usr/bsd/rsh local "/usr/sbin/scrsave /usr/tmp/test1.rgb"
  27.  
  28. The file test1.rgb is then created in the /usr/tmp directory on the
  29. local node.  However, when I log out of the remote node, and ipaste 
  30. /usr/tmp/test1.rgb on the local node, it shows that scrsave has cap-
  31. tured the screen from the remote node.  If scrsave is run on the 
  32. local node, using rsh from a remote node, shouldn't the screen on the
  33. local node, and not the remote node, be captured?  I would appreciate 
  34. any information on how to work around this problem.  I know that I 
  35. could keep a window, logged onto the local node, in a corner of the 
  36. screen, and do my scrsaves from there.  However, many people use this
  37. system, and I would like to make the screen capture transparent, so
  38. that they do not have to remember to which system they are logged on.
  39.  
  40.