9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] on a lighter note
@ 2000-07-27  7:46 andrey mirtchovski
  0 siblings, 0 replies; 3+ messages in thread
From: andrey mirtchovski @ 2000-07-27  7:46 UTC (permalink / raw)
  To: 9fans

How does one make screenshots of plan9 (using the in-house utilities and
not writing a program of his/her own)?

I want to brag before my friends :)



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] on a lighter note
  2000-07-27 14:06 rob pike
@ 2000-07-28  8:26 ` Dennis Ritchie
  0 siblings, 0 replies; 3+ messages in thread
From: Dennis Ritchie @ 2000-07-28  8:26 UTC (permalink / raw)
  To: 9fans



rob pike wrote:
> 
> > How does one make screenshots of plan9 (using the in-house utilities and
> > not writing a program of his/her own)?
> 
>         % togif < /dev/screen > screenshot.gif
> 
> and variations.

One variation is

  #!/bin/rc
  wid=`{cat /dev/winid}
  echo snarf this:
  echo ' cat /dev/wsys/'$wid'/window >x.pic; togif x.pic >x.gif'
  echo Then make picture;
  echo then send snarfed string to a non-overlapping window.

if you want to snapshot just a particular window instead of the whole
screen.  Parameterize or use a pipe to avoid named files at leisure.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] on a lighter note
@ 2000-07-27 14:06 rob pike
  2000-07-28  8:26 ` Dennis Ritchie
  0 siblings, 1 reply; 3+ messages in thread
From: rob pike @ 2000-07-27 14:06 UTC (permalink / raw)
  To: 9fans

> How does one make screenshots of plan9 (using the in-house utilities and
> not writing a program of his/her own)?

	% togif < /dev/screen > screenshot.gif

and variations.

-rob



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-07-28  8:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-27  7:46 [9fans] on a lighter note andrey mirtchovski
2000-07-27 14:06 rob pike
2000-07-28  8:26 ` Dennis Ritchie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).