[9fans] Persistent font in Acme.

2014-11-06 Thread Mats Olsson
Hi guys! Is there a way to get a persistent font in Acme? I'm using a Raspberry Pi and usually invoke Acme this way; acme -f /lib/font/bit/lucidasans/latin1.10.font and that gives me a font that looks good on my 32 TV. Grateful for any hint! Kind regards, Mats

Re: [9fans] Persistent font in Acme.

2014-11-06 Thread dante
Hi Mats, doesn't the font get saved in the Acme image? I don't have the manpage at hand, but Acme is usually started from a saved image. Cheers, Dante On 06.11.2014 11:01, Mats Olsson wrote: Hi guys! Is there a way to get a persistent font in Acme? I'm using a Raspberry Pi and usually

Re: [9fans] Persistent font in Acme.

2014-11-06 Thread Ingo Krabbe
The default font in acme is compiled in. So to change that you need to edit the source code and recompile the binary. Another option is to write an own command #!/bin/rc acme -f YOUR_FONT -F YOUR_FIXED_FONT $* or add an rc function. If you use dump files (you should), the fonts are written

Re: [9fans] Persistent font in Acme.

2014-11-06 Thread Mark van Atten
You can write a little script whose only task is to start acme with your favourite parameters. Mark.

Re: [9fans] Persistent font in Acme.

2014-11-06 Thread Stuart Morrow
The way most congruent with the system might be to have $font a 2-variable (like prompt), to have you favourite fixed- and variable-width fonts both settable in the obvious place: your profile. Completely unrelated programs could conceivably reuse this trick.

Re: [9fans] Persistent font in Acme.

2014-11-06 Thread Iruatã Souza
acme is not the system. On Thu, Nov 6, 2014 at 10:48 AM, Stuart Morrow morrow.stu...@gmail.com wrote: The way most congruent with the system might be to have $font a 2-variable (like prompt), to have you favourite fixed- and variable-width fonts both settable in the obvious place: your

Re: [9fans] Persistent font in Acme.

2014-11-06 Thread erik quanstrom
On Thu Nov 6 08:15:54 EST 2014, iru.mu...@gmail.com wrote: acme is not the system. On Thu, Nov 6, 2014 at 10:48 AM, Stuart Morrow morrow.stu...@gmail.com wrote: The way most congruent with the system might be to have $font a 2-variable (like prompt), to have you favourite fixed- and

Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.

2014-11-06 Thread erik quanstrom
On Wed Nov 5 13:20:02 EST 2014, sdao...@yandex.com wrote: Anthony Sorace a...@9srv.net wrote: | I've been looking through the documentation and | the 9fans archive but I can't get a clear answer on | what to replace localhost.localdomain with. | |If the recipient's mail server is being

Re: [9fans] Persistent font in Acme.

2014-11-06 Thread Iruatã Souza
what other program needs two fonts? On Thu, Nov 6, 2014 at 11:30 AM, erik quanstrom quans...@quanstro.net wrote: On Thu Nov 6 08:15:54 EST 2014, iru.mu...@gmail.com wrote: acme is not the system. On Thu, Nov 6, 2014 at 10:48 AM, Stuart Morrow morrow.stu...@gmail.com wrote: The way most

Re: [9fans] Persistent font in Acme.

2014-11-06 Thread Lee Fallat
On Thu, Nov 6, 2014 at 9:04 AM, Iruatã Souza iru.mu...@gmail.com wrote: what other program needs two fonts? On Thu, Nov 6, 2014 at 11:30 AM, erik quanstrom quans...@quanstro.net wrote: On Thu Nov 6 08:15:54 EST 2014, iru.mu...@gmail.com wrote: acme is not the system. On Thu, Nov 6, 2014 at

Re: [9fans] Persistent font in Acme.

2014-11-06 Thread Iruatã Souza
yes, but what about two fonts? I only remember acme. On Thu, Nov 6, 2014 at 12:37 PM, Lee Fallat ircsurfe...@gmail.com wrote: On Thu, Nov 6, 2014 at 9:04 AM, Iruatã Souza iru.mu...@gmail.com wrote: what other program needs two fonts? On Thu, Nov 6, 2014 at 11:30 AM, erik quanstrom

Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.

2014-11-06 Thread Steffen Nurpmeso
erik quanstrom quans...@quanstro.net wrote: |On Wed Nov 5 13:20:02 EST 2014, sdao...@yandex.com wrote: | Anthony Sorace a...@9srv.net wrote: || I've been looking through the documentation and || the 9fans archive but I can't get a clear answer on || what to replace localhost.localdomain

[9fans] atexit() atexitdont()

2014-11-06 Thread Oleg
Hi, all. I looked at atexit() and atexitdont() and i don't understand why these functions are implemented with a static array instead of singly linked list? May be somebody with a greater plan9 experience can help me with my question. If i do: #include u.h #include libc.h void f1(void) {

Re: [9fans] atexit() atexitdont()

2014-11-06 Thread erik quanstrom
On Thu Nov 6 16:07:56 EST 2014, lego12...@yandex.ru wrote: Hi, all. I looked at atexit() and atexitdont() and i don't understand why these functions are implemented with a static array instead of singly linked list? May be somebody with a greater plan9 experience can help me with my

Re: [9fans] atexit() atexitdont()

2014-11-06 Thread Skip Tavakkolian
according to the man page: Before calling _exits with msg as an argument, exits calls in reverse order all the functions recorded by atexit. so i think your result should be f2, f1, f1. On Thu, Nov 6, 2014 at 1:26 PM, erik quanstrom quans...@quanstro.net wrote: On Thu Nov 6 16:07:56 EST

Re: [9fans] atexit() atexitdont()

2014-11-06 Thread Skip Tavakkolian
i'm wondering if print is the right instrument for knowing the order is right. On Thu, Nov 6, 2014 at 1:42 PM, Skip Tavakkolian skip.tavakkol...@gmail.com wrote: according to the man page: Before calling _exits with msg as an argument, exits calls in reverse order all the functions recorded

Re: [9fans] atexit() atexitdont()

2014-11-06 Thread Oleg
On Thu, Nov 06, 2014 at 04:26:04PM -0500, erik quanstrom wrote: On Thu Nov 6 16:07:56 EST 2014, lego12...@yandex.ru wrote: Hi, all. I looked at atexit() and atexitdont() and i don't understand why these functions are implemented with a static array instead of singly linked list? May

Re: [9fans] atexit() atexitdont()

2014-11-06 Thread lego12239
On Thu, Nov 06, 2014 at 01:44:30PM -0800, Skip Tavakkolian wrote: i'm wondering if print is the right instrument for knowing the order is right. You are right, but in this case it's irrelevant. The atexit.c source code is pretty disambiguous.

Re: [9fans] atexit() atexitdont()

2014-11-06 Thread k0ga
perhaps a linked list would make sense, but atexits(2) doesn't say which order the functions will be run in. and it doesn't seem like a great idea to depend on atexits running things in a particular order. POSIX says they must be called in reverse order.