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

2016-11-27 Thread erik quanstrom
On Wed Nov 23 13:50:02 PST 2016, jules.merit.eurocorp...@gmail.com wrote: > I ported doom, after someone Runed plan9. Trying to get 9front Jurassic > Park on MIPS r12k now. > > Also plan9 clearly needs EEG for user defined scheduler and jukebox > selection whilst in the labs. > as soon as i

Re: [9fans] Using plot(1)

2016-11-27 Thread Chris McGee
Thanks, > not sure what you mean by pipe the output, if you want to save the graph > you need to do that by grabbing the window, there could be things like > gifplot which render the plot command stream into a gif, but it doesn't (yet). Yes, this is what I was after. I'll try fetching the

Re: [9fans] snprintf buffer overrun

2016-11-27 Thread cinap_lenrek
theres a bug is in sclose() where it doesnt check if wp is beyond the buffer. also wp was not updated after realloc(). --- a/sys/src/libstdio/sclose.c Sat Nov 19 16:47:21 2016 +0100 +++ b/sys/src/libstdio/sclose.c Sun Nov 27 21:07:48 2016 +0100 @@ -5,27 +5,35 @@ char *sclose(FILE *f){

[9fans] snprintf buffer overrun

2016-11-27 Thread Porlock
Plan 9's implementation of the standard C functions snprintf and vsnprintf have a buffer overrun bug. If the buffer length equals the output length (without the terminating null), then one too many characters is written to the buffer. For example, snprintf(buf, 4, "ABCD"); will

Re: [9fans] Using plot(1)

2016-11-27 Thread Steve Simon
hi, not sure what you mean by pipe the output, if you want to save the graph you need to do that by grabbing the window, there could be things like gifplot which render the plot command stream into a gif, but it doesn't (yet). i am pretty sure graph has a "don't clear the screen" option if that