Re: [9fans] Whats the default font in Acme?

2021-02-20 Thread Ethan Gardener
I forgot the EOF tokens, sorry for the noise. I shouldn't do this while tired, or maybe at all. % for(n in _get*){echo 'cat >' $n '< _get_1_size < $dir^font if(! ~ $status '') exit fontsrv -p $name^$dir^font | ssam '1d ,x=.* =d ,s=.+=& > '^$dir^'&=g ,x=^=i=fontsrv -p '''^$name^$dir^'''=' | rc

Re: [9fans] Whats the default font in Acme?

2021-02-20 Thread Ethan Gardener
Years ago, I used to convert fonts by copying from fontsrv -p. This was due to bugs fontsrv had at the time, but I guess it may still be useful. Here's the 4 scripts I used to use, for whatever they might be worth. % for(n in _get*){echo 'cat >' $n '< _get_1_size < $dir^font if(! ~ $status '')

[9fans] Acme IRC Basic SASL Support

2021-02-20 Thread Connor Taffe
I took Russ’s Irc client at https://swtch.com/irc/ and added enough SASL PLAIN support to access Freenode so that I could use it as my IRC client. It’s available at https://github.com/cptaffe/airc . I documented the flow as best I could

Re: [9fans] Whats the default font in Acme?

2021-02-20 Thread Mark van Atten
On Sat, 20 Feb 2021 at 16:26, Russ Cox wrote: > > For what it's worth, you don't need to mount fontsrv anywhere. That is how I used to do it, as in the man page; but for some, probably local, reason the problem I described now arises (actually as of commit 5f0fa18, fontsrv: handle non-BMP runes

Re: [9fans] Whats the default font in Acme?

2021-02-20 Thread Russ Cox
For what it's worth, you don't need to mount fontsrv anywhere. You can just use 'fontsrv -p .' to list the fonts, and then refer to them as /mnt/font/Name/SIZEa/font. For example: /usr/local/plan9/bin/acme \     -f /mnt/font/LucidaGrande/12a/font \     -F /mnt/font/SourceCodePro-Regular/12a/font

Re: [9fans] Whats the default font in Acme?

2021-02-20 Thread Mark van Atten
It seems to have been some kind of permissions problem. If I run fontsrv with a mountpoint created in my home directory, it works perfectly. Mark. -- 9fans: 9fans Permalink: