[9fans] How to take a portion of a screenshot

2016-11-23 Thread Chris McGee
Hi All, I'm working on some documentation and would like to include a portion of the screen in a particular window. What's a good way to take the shot but also snip out the piece that I'm interested in? Thanks, Chris

Re: [9fans] Partition problems

2016-11-23 Thread Iruatã Souza
9front solved that 5 years ago. On Mon, Nov 21, 2016 at 5:20 AM, wrote: > Hello, > > On Sun, Nov 20, 2016 at 11:07:03PM +, Steve Simon wrote: >> Hi, >> >> I run a modified labs kernel with a few bits of 9atom to support my atom >> Motherboard. >> >> I have added an ssd to the mirrored disks

Re: [9fans] How to take a portion of a screenshot

2016-11-23 Thread Adriano Verardo
I usually run Plan9 in a vm under Win7. Chris McGee wrote: Hi All, I'm working on some documentation and would like to include a portion of the screen in a particular window. What's a good way to take the shot but also snip out the piece that I'm interested in? Thanks, Chris

Re: [9fans] How to take a portion of a screenshot

2016-11-23 Thread Richard Miller
> I'm working on some documentation and would like to include a portion of the > screen in a particular window. What's a good way to take the shot but also > snip out the piece that I'm interested in? Making a screenshot is one of those delightful examples of the elegant simplicity of Plan 9:

Re: [9fans] How to take a portion of a screenshot

2016-11-23 Thread hiro
can't you take something like /dev/wsys/123/window ? On 11/23/16, Richard Miller <9f...@hamnavoe.com> wrote: >> I'm working on some documentation and would like to include a portion of >> the screen in a particular window. What's a good way to take the shot but >> also snip out the piece that I'm

Re: [9fans] Partition problems

2016-11-23 Thread Sigrid Haflinadóttir
He didn't ask about 9front. On Wed, Nov 23, 2016 at 4:13 PM, Iruatã Souza wrote: > 9front solved that 5 years ago. > > On Mon, Nov 21, 2016 at 5:20 AM, wrote: > > Hello, > > > > On Sun, Nov 20, 2016 at 11:07:03PM +, Steve Simon wrote: > >> Hi, > >> > >> I run a modified labs kernel with a

Re: [9fans] How to take a portion of a screenshot

2016-11-23 Thread Chris McGee
Thanks Richard, That is the kind of thing I was looking for. And yes, it's one of the reasons I'm liking plan 9. Each piece does one thing we'll. Chris On Nov 23, 2016, at 11:06 AM, Richard Miller <9f...@hamnavoe.com> wrote: >> I'm working on some documentation and would like to include a port

Re: [9fans] How to take a portion of a screenshot

2016-11-23 Thread Skip Tavakkolian
> it's one of the reasons I'm liking plan 9. ingenious glenda.

Re: [9fans] How to take a portion of a screenshot

2016-11-23 Thread Benjamin Purcell
even simpler: tojpg < /mnt/wsys/window > window.jpg On Wed, Nov 23, 2016 at 2:07 PM, Skip Tavakkolian <9...@9netics.com> wrote: >> it's one of the reasons I'm liking plan 9. > > ingenious glenda.

Re: [9fans] How to take a portion of a screenshot

2016-11-23 Thread James A. Robinson
On Wed, Nov 23, 2016 at 12:33 PM Benjamin Purcell wrote: > even simpler: > > tojpg < /mnt/wsys/window > window.jpg Simpler because you're capturing a specific window in this case?

Re: [9fans] How to take a portion of a screenshot

2016-11-23 Thread hiro
i have a slightly related question: how do i find out an other window's window id if there is no shell temporarily available? e.g. doom is running inside.

Re: [9fans] How to take a portion of a screenshot

2016-11-23 Thread Skip Tavakkolian
>> tojpg < /mnt/wsys/window > window.jpg > > Simpler because you're capturing a specific window in this case? yes. from rio(1): "/mnt/wsys Files served by rio (also unioned in /dev in a window's name space, before the

Re: [9fans] How to take a portion of a screenshot

2016-11-23 Thread Skip Tavakkolian
> i have a slightly related question: how do i find out an other > window's window id if there is no shell temporarily available? e.g. > doom is running inside. maybe 'grep doom /dev/wsys/*/label' ?

Re: [9fans] How to take a portion of a screenshot

2016-11-23 Thread Steve Simon
kudos for the use of m4. sadly my o2s went the way of ebay years ago, nice machines though. -Steve > On 23 Nov 2016, at 21:30, Jules Merit > wrote: > > I ported doom, after someone Runed plan9. Trying to get 9front Jurassic Park > on MIPS r12k now. > > Also plan9 clearly needs EEG for use

Re: [9fans] How to take a portion of a screenshot

2016-11-23 Thread Jules Merit
Thanks I bought one. /REMdmr On Nov 23, 2016 1:59 PM, "Steve Simon" wrote: > > kudos for the use of m4. > > sadly my o2s went the way of ebay years ago, nice machines though. > > -Steve > > > On 23 Nov 2016, at 21:30, Jules Merit > wrote: > > I ported doom, after someone Runed plan9. Trying to

[9fans] ipv6on

2016-11-23 Thread arisawa
hello, in /rc/bin/ipv6on we (labs,9atom and 9front) have the following code. ip/ipconfig $xdir loopback /dev/nulladd $mev6 /128 this code is curious to me. the code doesn’t put ipv6 loopback address "::1" to /net/ipselftab. and, why we need $mev6 (my ipv6 address) for simply adding lo

Re: [9fans] How to take a portion of a screenshot

2016-11-23 Thread Chris McGee
I tried to write an rc script that would make a screen video as an animated gif. I have something that almost works, but ran into a few problems/limitations. * I can’t seem to find a way to have an incrementing loop counter in rc shell (best I could do is check the size of a growing list variab

Re: [9fans] How to take a portion of a screenshot

2016-11-23 Thread Skip Tavakkolian
> * I can’t seem to find a way to have an incrementing loop counter in rc shell > (best I could do is check the size of a growing list variable) most of the time seq(1), hoc(1) and similar tools can help do the job: fn square { echo $1 '*' $1 | hoc } for (i in `{seq 1 10}) { j =