home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!monsanto.com!bb1t.monsanto.com!kjaren
- From: kjaren@bb1t.monsanto.com
- Newsgroups: comp.sys.sgi
- Subject: scrsave capturing wrong screen
- Message-ID: <1992Aug26.140128.4423@bb1t.monsanto.com>
- Date: 26 Aug 92 14:01:28 CST
- Organization: Monsanto Company, St. Louis, MO
- Lines: 30
-
-
- With the X-Window system, it is possible to log onto the graphics
- terminal on a local workstation, rlogin to a remote workstation, set
- the display back to the local workstation (setenv DISPLAY local:), run
- an X-Windows program, and have the window for the program display on
- the graphics terminal on the local workstation. I've done this with
- many programs on the SGI workstation system at my site, and it works
- fine. However, I've been experiencing difficulties when trying to
- capture the screen using the /usr/sbin/scrsave command. When I use
- scrsave when logged onto the remote node, it captures the image on
- the graphics terminal on the remote node. This is expected. To work
- around this, I wrote a shell script to run on the remote node. This
- script parses the name of the local node from the DISPLAY variable,
- and then uses the /usr/bsd/rsh command to capture the screen on the
- local node:
-
- /usr/bsd/rsh local "/usr/sbin/scrsave /usr/tmp/test1.rgb"
-
- The file test1.rgb is then created in the /usr/tmp directory on the
- local node. However, when I log out of the remote node, and ipaste
- /usr/tmp/test1.rgb on the local node, it shows that scrsave has cap-
- tured the screen from the remote node. If scrsave is run on the
- local node, using rsh from a remote node, shouldn't the screen on the
- local node, and not the remote node, be captured? I would appreciate
- any information on how to work around this problem. I know that I
- could keep a window, logged onto the local node, in a corner of the
- screen, and do my scrsaves from there. However, many people use this
- system, and I would like to make the screen capture transparent, so
- that they do not have to remember to which system they are logged on.
-
-