nha@crim.eecs.umich.edu (Nejib Ben Hadj-Alouane) (11/19/90)
Hello everyone, I there a way to get a print-screen function(key) with Xenix, similar to the one DOS has. Thanks in advance. Would you please email any responses to my address; I would post a summary, if people are interested. Thanks in advance. --Nejib
nha@crim.eecs.umich.edu (Nejib Ben Hadj-Alouane) (11/26/90)
Hello everyone, Several people wanted a summary on the responses to my question conserning print-screen with xenix. So, here is what I got from Jeff Liebermann on the issue. Many thanks to him. --Nejib ---------------------------------------------------------------------- From comix!jeffl@uunet.UU.NET Tue Nov 20 05:51:35 1990 Received: from uunet.uu.net by crim.eecs.umich.edu (3.2/2.00-alpha) id AA15125; Tue, 20 Nov 90 05:51:32 EST Received: from comix.UUCP by uunet.uu.net (5.61/1.14) with UUCP id AA18510; Tue, 20 Nov 90 05:50:31 -0500 From: comix!jeffl@uunet.UU.NET (Jeff Liebermann) X-Mailer: SCO System V Mail (version 3.2) To: uunet!crim.eecs.umich.edu!nha@uunet.UU.NET Date: Mon, 19 Nov 90 21:46:23 PST Message-Id: <9011192146.aa00692@comix.UUCP> Status: R To: uunet!crim.eecs.umich.edu!nha Subject: Re: Print-Screen In-reply-to: your article <1990Nov18.173211.449@zip.eecs.umich.edu> > I there a way to get a print-screen function(key) with Xenix, similar > to the one DOS has. Thanks in advance. > This appeared in one of the sco "Discover" news rag. It's not exactly what you want, but is as close as I can get. It only works with an ansi console or terminal. escape sequences could probably be tweaked for other terminals. : # capture # execute from cu as ~!capture # for cu oldstty=`stty -g` # save stty settings stty -echo ixon ixoff -ixany; /bin/echo '\033[2i' ; # screen dump head -24 >> screen.$$ ; stty $oldstty # trim off data # restore stty sets --- # Jeff Liebermann Box 272 1540 Jackson Ave Ben Lomond CA 95005 # (408)336-2558 voice (408)429-0483 digital pager wb6ssy CIS:73557,2074 # PC REPAIR & RF DESIGN uunet!comix!jeffl ucscc.ucsc.edu!comix!jeffl # universe!milky_way!solar_system!earth!na!us!uunet!comix!jeffl