Re: [9fans] Raspberry Pi 2 Model B

2015-02-03 Thread Costin Chirvasuta
> kirkwood had gigabit ethernet way before the rpi even existed and I'm > regularly using multiples of 100Mbit with samba on one, it's super > stable *and* faster which is why I would never pick the rpi for a NAS. > otoh this device doesn't even have video out. What kirkwood device are you using f

Re: [9fans] off topic - free signed SSL/TLS certs

2015-11-05 Thread Costin Chirvasuta
StartSSL: https://konklone.com/post/switch-to-https-now-for-free Free for non-comercial purposes. I believe you need to renew every year. Also participating in letsencrypt.org beta program, but you need to renew every 3 months (though they do have support for automated renewal, haven't tried yet).

[9fans] linux mount -t 9p permissions problem

2016-07-28 Thread Costin Chirvasuta
I have ufs (https://github.com/rminnich/go9p/) running on a FreeBSD box and I'm trying to mount it on linux but the directory has permission 0: ~$ 9mount -in 'tcp!fs!5640' fs mount -t 9p -o tcp,trans=tcp,name=ctn,uname=ctn,noextend,nodev,uid=1000,gid=1000,dfltuid=1000,dfltgid=1000,port=5640 192.1

Re: [9fans] linux mount -t 9p permissions problem

2016-07-29 Thread Costin Chirvasuta
Well, this was because the exported directory on FreeBSD has permission 0. It is the mountpoint of torrentfs (github.com/anacrolix/torrent). On Fri, Jul 29, 2016 at 2:54 AM, Costin Chirvasuta wrote: > I have ufs (https://github.com/rminnich/go9p/) running on a FreeBSD > box and I'

Re: [9fans] linux mount -t 9p permissions problem

2016-07-29 Thread Costin Chirvasuta
I love 9P! It was the only way I could export a FUSE filesystem over the network and it works flawlessly! On Fri, Jul 29, 2016 at 12:31 PM, Costin Chirvasuta wrote: > Well, this was because the exported directory on FreeBSD has > permission 0. It is the mountpoint of torrentfs > (g

[9fans] bufreset deletes b->nbl-1 blocks?

2016-08-12 Thread Costin Chirvasuta
I'm reading the sam source (very educational) and I've stumbled across a piece I don't understand, in buff.c:^bufreset: for(i=b->nbl-1; --i>=0; ) delblock(b, i); Doesn't this delete b-nbl-1 blocks? Also delblock would always call memmove, moving 1 block at the end, if I read it correctly.

Re: [9fans] bufreset deletes b->nbl-1 blocks?

2016-08-12 Thread Costin Chirvasuta
> So isn't the memmove just to cover the case where you are > deleting a block that isn't at the very end? Yes, but from what I understand i is always lower. Say b->nbl starts at 10. i=b->nbl-1 so i=9. --i so i=8. Inside delblock b->nbl-- so b->nbl is 9. i wrote: > But delblock only calls memmove

Re: [9fans] bufreset deletes b->nbl-1 blocks?

2016-08-12 Thread Costin Chirvasuta
son wrote: > On Fri, Aug 12, 2016 at 8:32 AM Costin Chirvasuta wrote: >> >> > So isn't the memmove just to cover the case where you are >> > deleting a block that isn't at the very end? >> >> Yes, but from what I understand i is always lower. &g

Re: [9fans] bufreset deletes b->nbl-1 blocks?

2016-08-12 Thread Costin Chirvasuta
I believe bufreset can be called at any time and b->cbi (the current cached block) can point to anything. Either way, that block is never returned to the Disc's free list so that file address won't be reused from that point on. On Fri, Aug 12, 2016 at 7:16 PM, James A. Robinson wrote: > Have you

Re: [9fans] Is 9Fans dead or alive

2016-08-23 Thread Costin Chirvasuta
On Tue, Aug 23, 2016 at 9:06 AM, Andrew Nazarov wrote: > I thought the same, but yesterday I noticed that suddenly gmail has begun to > mark all the recent 9fans messages as spam. Same here. Only about 4 messages though (each from a different person). A few others got through.

Re: [9fans] simple rc problem in p9p (on OpenBSD)

2018-04-26 Thread Costin Chirvasuta
I lot of the messages on this list end up being marked as spam. I believe there was a previous discussion about this. On Thu, Apr 26, 2018 at 7:36 PM, Rudolf Sykora wrote: > On 26 April 2018 at 17:48, Benjamin Purcell wrote: >> Since no one had any idea what you had in mind, here is stab in the

Re: [9fans] How do you handle long paths in acme?

2024-08-01 Thread Costin Chirvasuta
I've used bind mounts for this purpose. On Thu, Aug 1, 2024 at 5:50 PM wrote: > > Basically, the title says it. The projects I work on reside in a deeply > nested hierarchy, like this: > > /Users/azkhabibulin/gitlab.example.com/team/project > > This does not seem to be really big, but when I ope

[9fans] win from acme starts bash

2012-10-31 Thread Costin Chirvasuta
Hello, I'm trying to get win to start rc when I run it from acme. I've set SHELL to "rc" but it doesn't seem to have any effect. If I button 2 click "win" it starts with bash. If I run win from here it starts with rc. What am I doing wrong? The script I use to start acme is: #!/bin/bash export P

Re: [9fans] win from acme starts bash

2012-11-01 Thread Costin Chirvasuta
On Wed, Oct 31, 2012 at 10:01 PM, dexen deVries wrote: > if you start Acme from X.org desktop, you run it in environment defined upon > login to X.org. Re-logging to X.org should do the trick. > > KDE's kdm seem to read both /etc/profile{,.d/*} and ~/.profile; not sure about > ~/.bash_profile or ~

[9fans] Start acme maximized

2012-11-13 Thread Costin Chirvasuta
Hello, Is there any way to make acme from p9p start maximized in Linux? I have a devilspie script that maximizes acme whenever it starts but acme gets to start in a smaller window before this and the layout saved in the dump file gets messed up after the maximize.

Re: [9fans] Start acme maximized

2012-11-14 Thread Costin Chirvasuta
Thanks! "-W" is perfect. On Tue, Nov 13, 2012 at 6:57 PM, Chris Wilson wrote: > > On Nov 13, 2012, at 10:46 AM, Costin Chirvasuta wrote: > >> Hello, >> >> Is there any way to make acme from p9p start maximized in Linux? >> >> I have a devilspie

Re: [9fans] How to reboot with normal user

2013-02-20 Thread Costin Chirvasuta
Logically... Need to read up on the manuals. Thanks! On Thu, Feb 21, 2013 at 2:28 AM, erik quanstrom wrote: >> How does one reboot remotely (from drawterm)? >> I see that /srv/fscons is chmod 600 and owned by bootes. >> What is the standard way to do this? > > by cpuing in as bootes. from drawt

[9fans] Easily create/move window on left/right half of the screen

2013-05-13 Thread Costin Chirvasuta
Hello, I made this quick little hack to do what the subject says. Sharing for anyone who might find it useful. diff /n/sources/plan9/sys/src/cmd/rio/rio.c /sys/src/cmd/rio/rio.c 779a780,802 > if(mouse->buttons == 0 && eqpt(mouse->xy, p)){ > p = onscreen(mouse->xy); >

Re: [9fans] Favorite variable width fonts?

2013-08-29 Thread Costin Chirvasuta
I really like /lib/font/bit/vga/vga.font (not sure if it's in official plan9, found it in 9front last time). Costin On Thu, Aug 29, 2013 at 12:31 AM, Lee Fallat wrote: > Hey James, > > You are brave to bring up such a subject. > > Of the zillion fonts I have tried, only Droid Sans looks the best