9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] Persistent font in Acme.
@ 2014-11-07 20:03 sl
  2014-11-07 22:13 ` Mats Olsson
  0 siblings, 1 reply; 26+ messages in thread
From: sl @ 2014-11-07 20:03 UTC (permalink / raw)
  To: 9fans

> I like the idea of making a small script but I couldn't make it work.
> What I want is to get this to execute without to much typing:
> term%acme -f /lib/font/bit/lucidasans/latin1.10.font and that's it.
> Any suggestion for a script and how to execute it would be most
> appreciated.

Anything you type into the shell that produces the desired result is
a valid shell script.

So, you could make a script $home/bin/rc/a:

	#!/bin/rc
	acme -f /lib/font/bit/lucidasans/latin1.10.font

Do chmod +xr $home/bin/rc/a and then run it by just typing a.

sl



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
  2014-11-07 20:03 [9fans] Persistent font in Acme sl
@ 2014-11-07 22:13 ` Mats Olsson
  2014-11-08  7:18   ` erik quanstrom
  0 siblings, 1 reply; 26+ messages in thread
From: Mats Olsson @ 2014-11-07 22:13 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hi sl!

Thanks for your input. I tried something similar and got an error
message. I tried your suggestion and got the same error message. It
says: "rc: /bin/a:3: token EOF:syntax error". So something else must
be added. Thanks!

Kind Regards,
Mats

2014-11-07 20:03 GMT, sl@9front.org <sl@9front.org>:
>> I like the idea of making a small script but I couldn't make it work.
>> What I want is to get this to execute without to much typing:
>> term%acme -f /lib/font/bit/lucidasans/latin1.10.font and that's it.
>> Any suggestion for a script and how to execute it would be most
>> appreciated.
>
> Anything you type into the shell that produces the desired result is
> a valid shell script.
>
> So, you could make a script $home/bin/rc/a:
>
> 	#!/bin/rc
> 	acme -f /lib/font/bit/lucidasans/latin1.10.font
>
> Do chmod +xr $home/bin/rc/a and then run it by just typing a.
>
> sl
>
>



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
  2014-11-07 22:13 ` Mats Olsson
@ 2014-11-08  7:18   ` erik quanstrom
  2014-11-08  8:29     ` Mats Olsson
                       ` (2 more replies)
  0 siblings, 3 replies; 26+ messages in thread
From: erik quanstrom @ 2014-11-08  7:18 UTC (permalink / raw)
  To: 9fans

> So, you could make a script $home/bin/rc/a:

curious choise.  not that you'd want to use this anymore, but ...

; cat /bin/a:
#!/bin/rc
rfork e
flop=/dev/fd0disk
if(! test -r $flop)
	flop='#f'/fd0disk
if(! test -f /srv/dos)
	dossrv >/dev/null </dev/null >[2]/dev/null
unmount /n/a:>[2]/dev/null
mount -c /srv/dos /n/a: $flop
unmount /n/a >[2]/dev/null
mount -c /srv/dos /n/a $flop


- erik



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
  2014-11-08  7:18   ` erik quanstrom
@ 2014-11-08  8:29     ` Mats Olsson
  2014-11-08  9:42     ` Richard Miller
  2014-11-08 15:02     ` Anthony Sorace
  2 siblings, 0 replies; 26+ messages in thread
From: Mats Olsson @ 2014-11-08  8:29 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

It was a quick and efficient fix of the issue at hand even if it
wasn't by the book.

Kind regards,
Mats

2014-11-08 8:18 GMT+01:00, erik quanstrom <quanstro@quanstro.net>:
>> So, you could make a script $home/bin/rc/a:
>
> curious choise.  not that you'd want to use this anymore, but ...
>
> ; cat /bin/a:
> #!/bin/rc
> rfork e
> flop=/dev/fd0disk
> if(! test -r $flop)
> 	flop='#f'/fd0disk
> if(! test -f /srv/dos)
> 	dossrv >/dev/null </dev/null >[2]/dev/null
> unmount /n/a:>[2]/dev/null
> mount -c /srv/dos /n/a: $flop
> unmount /n/a >[2]/dev/null
> mount -c /srv/dos /n/a $flop
>
>
> - erik
>
>



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
  2014-11-08  7:18   ` erik quanstrom
  2014-11-08  8:29     ` Mats Olsson
@ 2014-11-08  9:42     ` Richard Miller
  2014-11-08 10:35       ` Mats Olsson
                         ` (2 more replies)
  2014-11-08 15:02     ` Anthony Sorace
  2 siblings, 3 replies; 26+ messages in thread
From: Richard Miller @ 2014-11-08  9:42 UTC (permalink / raw)
  To: 9fans

> curious choise.  not that you'd want to use this anymore, but ...
> ...
> flop=/dev/fd0disk

Actually a couple of weeks ago I had occasion to use not only /rc/bin/a:
but /rc/bin/b: to do a bit of digital archaeology (current plan 9 kernel
still supports the 5¼" floppy drive on my old pentium pro machine).




^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
  2014-11-08  9:42     ` Richard Miller
@ 2014-11-08 10:35       ` Mats Olsson
  2014-11-08 13:47         ` Richard Miller
  2014-11-08 11:06       ` cinap_lenrek
  2014-11-09  2:16       ` erik quanstrom
  2 siblings, 1 reply; 26+ messages in thread
From: Mats Olsson @ 2014-11-08 10:35 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hi Richard!

Talking about digital archaeology I tried to install Plan 9 from a cd
on my Dell 500H (something). That laptop came with an attachable
floppy drive, cd rom and a cdrw but it was as I remembered the drives
are all dead but the machine is loaded with Watt OS 5. A linux distro
that has a pretty small footprint as regards to memory. Originally it
had a whooping 128 MB of RAM and I installed another 128 MB RAM module
so it has now 256 MB of ram. It would be nice to install Plan 9 on it
but the only way into the machine now it ethernet. Would that be
possible? (I guess so but I haven't found any docs on it) So, then
how? If you have any ideas I would be delighted to hear since it's a
shame that a so wellbuilt laptop should just be lying there unused.

Yours Truly,
Mats

2014-11-08 10:42 GMT+01:00, Richard Miller <9fans@hamnavoe.com>:
>> curious choise.  not that you'd want to use this anymore, but ...
>> ...
>> flop=/dev/fd0disk
>
> Actually a couple of weeks ago I had occasion to use not only /rc/bin/a:
> but /rc/bin/b: to do a bit of digital archaeology (current plan 9 kernel
> still supports the 5¼" floppy drive on my old pentium pro machine).
>
>
>



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
  2014-11-08  9:42     ` Richard Miller
  2014-11-08 10:35       ` Mats Olsson
@ 2014-11-08 11:06       ` cinap_lenrek
  2014-11-09  2:16       ` erik quanstrom
  2 siblings, 0 replies; 26+ messages in thread
From: cinap_lenrek @ 2014-11-08 11:06 UTC (permalink / raw)
  To: 9fans

i miss that noise :)

--
cinap



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
  2014-11-08 10:35       ` Mats Olsson
@ 2014-11-08 13:47         ` Richard Miller
  2014-11-08 14:17           ` Mats Olsson
  0 siblings, 1 reply; 26+ messages in thread
From: Richard Miller @ 2014-11-08 13:47 UTC (permalink / raw)
  To: 9fans

> It would be nice to install Plan 9 on it
> but the only way into the machine now it ethernet.

You just need to be able to boot it as a plan 9 terminal connected
to a plan 9 file server - then install from that.  Can you boot from
ethernet (pxe)?  Or is there a dos partition on the HDD with room
for a plan 9 kernel and plan9.ini?

The other possibility is an HDD transplant after using another machine
to install onto the  drive.




^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
  2014-11-08 13:47         ` Richard Miller
@ 2014-11-08 14:17           ` Mats Olsson
  0 siblings, 0 replies; 26+ messages in thread
From: Mats Olsson @ 2014-11-08 14:17 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

The last HD I installed is 100 GB in size but it's all linux
partitions. Would it be possible to ssh into the machine to reformat
and install Plan 9. Then it would come to use at least.

Kind Regards,
Mats

2014-11-08 14:47 GMT+01:00, Richard Miller <9fans@hamnavoe.com>:
>> It would be nice to install Plan 9 on it
>> but the only way into the machine now it ethernet.
>
> You just need to be able to boot it as a plan 9 terminal connected
> to a plan 9 file server - then install from that.  Can you boot from
> ethernet (pxe)?  Or is there a dos partition on the HDD with room
> for a plan 9 kernel and plan9.ini?
>
> The other possibility is an HDD transplant after using another machine
> to install onto the  drive.
>
>
>



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
  2014-11-08  7:18   ` erik quanstrom
  2014-11-08  8:29     ` Mats Olsson
  2014-11-08  9:42     ` Richard Miller
@ 2014-11-08 15:02     ` Anthony Sorace
  2014-11-09  2:06       ` erik quanstrom
  2 siblings, 1 reply; 26+ messages in thread
From: Anthony Sorace @ 2014-11-08 15:02 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

>> So, you could make a script $home/bin/rc/a:
> 
> curious choise.  not that you'd want to use this anymore, but ...

He meant the ":" as punctuation in the english sense, not part of the command name. See later where he says "..just typing a.".

Clearly we should all be sending properly marked-up html messages to 9fans... ;-)




^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
  2014-11-08 15:02     ` Anthony Sorace
@ 2014-11-09  2:06       ` erik quanstrom
  0 siblings, 0 replies; 26+ messages in thread
From: erik quanstrom @ 2014-11-09  2:06 UTC (permalink / raw)
  To: 9fans

On Sat Nov  8 10:10:32 EST 2014, a@9srv.net wrote:
> >> So, you could make a script $home/bin/rc/a:
> > 
> > curious choise.  not that you'd want to use this anymore, but ...
> 
> He meant the ":" as punctuation in the english sense, not part of the command name. See later where he says "..just typing a.".
> 
> Clearly we should all be sending properly marked-up html messages to 9fans... ;-)

clearly, as you demonstrate here, ironicly, the quotation markes (or spaces, apostrophies, etc.)
are already available in plan text.  ☺

- erik



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
  2014-11-08  9:42     ` Richard Miller
  2014-11-08 10:35       ` Mats Olsson
  2014-11-08 11:06       ` cinap_lenrek
@ 2014-11-09  2:16       ` erik quanstrom
  2014-11-09  9:46         ` Richard Miller
  2 siblings, 1 reply; 26+ messages in thread
From: erik quanstrom @ 2014-11-09  2:16 UTC (permalink / raw)
  To: 9fans

On Sat Nov  8 04:43:12 EST 2014, 9fans@hamnavoe.com wrote:
> > curious choise.  not that you'd want to use this anymore, but ...
> > ...
> > flop=/dev/fd0disk
> 
> Actually a couple of weeks ago I had occasion to use not only /rc/bin/a:
> but /rc/bin/b: to do a bit of digital archaeology (current plan 9 kernel
> still supports the 5¼" floppy drive on my old pentium pro machine).

ppro 166Mhz?  that's quite the historic artifact!

the last 3½ floppy i used was in an out-of-the-box 4th edition ken's
file server.  that was a great system, but i always feared it wouldn't boot
due to floppy  bit rot.  (the old 5¼ system was more reliable for me.)
there was no doubt when it updated it's configuration.

sadly it was finally retired when it ran out of space.  by that time, a new
machine was a better idea, and DOM modules were cheep and reliable.

- erik



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
  2014-11-09  2:16       ` erik quanstrom
@ 2014-11-09  9:46         ` Richard Miller
  0 siblings, 0 replies; 26+ messages in thread
From: Richard Miller @ 2014-11-09  9:46 UTC (permalink / raw)
  To: 9fans

> ppro 166Mhz?  that's quite the historic artifact!

cpu0: 166MHz GenuineIntel PentiumPro (cpuid: AX 0x0617 DX 0xFBFF)
ELCR: 0A00
LAPIC: fee00000 e0000000
cpu1: 166MHz GenuineIntel PentiumPro (cpuid: AX 0x0617 DX 0xFBFF)
#l0: elnk3: 10Mbps port 0x7F80 irq 9: 00a02492dee9
sd53c8xx: SYM53C875 rev. 0x26 intr=11 command=0117
32M memory: 11M kernel data, 20M user, 250M swap

I keep it around for access to various ISA and SCSI devices. But mostly
it's a pedestal to support a stack of subsequent cpu servers...




^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
  2014-11-07 21:22 sl
@ 2014-11-07 22:34 ` Mats Olsson
  0 siblings, 0 replies; 26+ messages in thread
From: Mats Olsson @ 2014-11-07 22:34 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

A followed your advise and got "permission denied" so I executed
"chmod 755 ..." and then it worked. Thanks a lot! I really appreciate
your help.
Kind Greetings,
Mats

2014-11-07 21:22 GMT, sl@9front.org <sl@9front.org>:
>> Thanks for your input. I tried something similar and got an error
>> message. I tried your suggestion and got the same error message. It
>> says: "rc: /bin/a:3: token EOF:syntax error". So something else must
>> be added. Thanks!
>
> Make sure the file ends with a newline.
>
> My example works on my system.
>
> sl
>
>



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
@ 2014-11-07 21:22 sl
  2014-11-07 22:34 ` Mats Olsson
  0 siblings, 1 reply; 26+ messages in thread
From: sl @ 2014-11-07 21:22 UTC (permalink / raw)
  To: 9fans

> Thanks for your input. I tried something similar and got an error
> message. I tried your suggestion and got the same error message. It
> says: "rc: /bin/a:3: token EOF:syntax error". So something else must
> be added. Thanks!

Make sure the file ends with a newline.

My example works on my system.

sl



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
  2014-11-06 14:56             ` Iruatã Souza
@ 2014-11-07 20:53               ` Mats Olsson
  0 siblings, 0 replies; 26+ messages in thread
From: Mats Olsson @ 2014-11-07 20:53 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I like the idea of making a small script but I couldn't make it work.
What I want is to get this to execute without to much typing:
term%acme -f /lib/font/bit/lucidasans/latin1.10.font and that's it.
Any suggestion for a script and how to execute it would be most
appreciated.
Kind greetings,
Mats

2014-11-06 14:56 GMT, Iruatã Souza <iru.muzgo@gmail.com>:
> yes, but what about two fonts? I only remember acme.
>
> On Thu, Nov 6, 2014 at 12:37 PM, Lee Fallat <ircsurfer33@gmail.com> wrote:
>> On Thu, Nov 6, 2014 at 9:04 AM, Iruatã Souza <iru.muzgo@gmail.com> wrote:
>>> what other program needs two fonts?
>>>
>>> On Thu, Nov 6, 2014 at 11:30 AM, erik quanstrom <quanstro@quanstro.net>
>>> wrote:
>>>> On Thu Nov  6 08:15:54 EST 2014, iru.muzgo@gmail.com wrote:
>>>>> acme is not the system.
>>>>>
>>>>> On Thu, Nov 6, 2014 at 10:48 AM, Stuart Morrow
>>>>> <morrow.stuart@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
>>>>> > profile.
>>>>> > Completely unrelated programs could conceivably reuse this trick.
>>>>
>> https://code.google.com/p/plan9front/source/browse/sys/src/cmd/rio/rio.c#173
>>
>> rio uses what is in $font if not specified on the command-line.
>>
>> You can easily implement it in any gui in plan 9.
>>
>
>



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
  2014-11-06 14:37           ` Lee Fallat
@ 2014-11-06 14:56             ` Iruatã Souza
  2014-11-07 20:53               ` Mats Olsson
  0 siblings, 1 reply; 26+ messages in thread
From: Iruatã Souza @ 2014-11-06 14:56 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

yes, but what about two fonts? I only remember acme.

On Thu, Nov 6, 2014 at 12:37 PM, Lee Fallat <ircsurfer33@gmail.com> wrote:
> On Thu, Nov 6, 2014 at 9:04 AM, Iruatã Souza <iru.muzgo@gmail.com> wrote:
>> what other program needs two fonts?
>>
>> On Thu, Nov 6, 2014 at 11:30 AM, erik quanstrom <quanstro@quanstro.net> wrote:
>>> On Thu Nov  6 08:15:54 EST 2014, iru.muzgo@gmail.com wrote:
>>>> acme is not the system.
>>>>
>>>> On Thu, Nov 6, 2014 at 10:48 AM, Stuart Morrow <morrow.stuart@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 profile.
>>>> > Completely unrelated programs could conceivably reuse this trick.
>>>
> https://code.google.com/p/plan9front/source/browse/sys/src/cmd/rio/rio.c#173
>
> rio uses what is in $font if not specified on the command-line.
>
> You can easily implement it in any gui in plan 9.
>



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
  2014-11-06 14:04         ` Iruatã Souza
@ 2014-11-06 14:37           ` Lee Fallat
  2014-11-06 14:56             ` Iruatã Souza
  0 siblings, 1 reply; 26+ messages in thread
From: Lee Fallat @ 2014-11-06 14:37 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Thu, Nov 6, 2014 at 9:04 AM, Iruatã Souza <iru.muzgo@gmail.com> wrote:
> what other program needs two fonts?
>
> On Thu, Nov 6, 2014 at 11:30 AM, erik quanstrom <quanstro@quanstro.net> wrote:
>> On Thu Nov  6 08:15:54 EST 2014, iru.muzgo@gmail.com wrote:
>>> acme is not the system.
>>>
>>> On Thu, Nov 6, 2014 at 10:48 AM, Stuart Morrow <morrow.stuart@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 profile.
>>> > Completely unrelated programs could conceivably reuse this trick.
>>
https://code.google.com/p/plan9front/source/browse/sys/src/cmd/rio/rio.c#173

rio uses what is in $font if not specified on the command-line.

You can easily implement it in any gui in plan 9.



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
  2014-11-06 13:30       ` erik quanstrom
@ 2014-11-06 14:04         ` Iruatã Souza
  2014-11-06 14:37           ` Lee Fallat
  0 siblings, 1 reply; 26+ messages in thread
From: Iruatã Souza @ 2014-11-06 14:04 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

what other program needs two fonts?

On Thu, Nov 6, 2014 at 11:30 AM, erik quanstrom <quanstro@quanstro.net> wrote:
> On Thu Nov  6 08:15:54 EST 2014, iru.muzgo@gmail.com wrote:
>> acme is not the system.
>>
>> On Thu, Nov 6, 2014 at 10:48 AM, Stuart Morrow <morrow.stuart@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 profile.
>> > Completely unrelated programs could conceivably reuse this trick.
>
> but i do think that this solution fits the system.  this does depend on rc's
> formatting of environment variables, so it may be a portability issue with
> p9p.
>
> - erik
>



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
  2014-11-06 13:14     ` Iruatã Souza
@ 2014-11-06 13:30       ` erik quanstrom
  2014-11-06 14:04         ` Iruatã Souza
  0 siblings, 1 reply; 26+ messages in thread
From: erik quanstrom @ 2014-11-06 13:30 UTC (permalink / raw)
  To: 9fans

On Thu Nov  6 08:15:54 EST 2014, iru.muzgo@gmail.com wrote:
> acme is not the system.
>
> On Thu, Nov 6, 2014 at 10:48 AM, Stuart Morrow <morrow.stuart@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 profile.
> > Completely unrelated programs could conceivably reuse this trick.

but i do think that this solution fits the system.  this does depend on rc's
formatting of environment variables, so it may be a portability issue with
p9p.

- erik



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
  2014-11-06 12:48   ` Stuart Morrow
@ 2014-11-06 13:14     ` Iruatã Souza
  2014-11-06 13:30       ` erik quanstrom
  0 siblings, 1 reply; 26+ messages in thread
From: Iruatã Souza @ 2014-11-06 13:14 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

acme is not the system.

On Thu, Nov 6, 2014 at 10:48 AM, Stuart Morrow <morrow.stuart@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 profile.
> Completely unrelated programs could conceivably reuse this trick.
>



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
  2014-11-06 10:13 ` Ingo Krabbe
@ 2014-11-06 12:48   ` Stuart Morrow
  2014-11-06 13:14     ` Iruatã Souza
  0 siblings, 1 reply; 26+ messages in thread
From: Stuart Morrow @ 2014-11-06 12:48 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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.



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
  2014-11-06 10:01 Mats Olsson
  2014-11-06 10:07 ` dante
  2014-11-06 10:13 ` Ingo Krabbe
@ 2014-11-06 10:13 ` Mark van Atten
  2 siblings, 0 replies; 26+ messages in thread
From: Mark van Atten @ 2014-11-06 10:13 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

You can write a little script whose only task is to start acme with
your favourite parameters.

Mark.



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
  2014-11-06 10:01 Mats Olsson
  2014-11-06 10:07 ` dante
@ 2014-11-06 10:13 ` Ingo Krabbe
  2014-11-06 12:48   ` Stuart Morrow
  2014-11-06 10:13 ` Mark van Atten
  2 siblings, 1 reply; 26+ messages in thread
From: Ingo Krabbe @ 2014-11-06 10:13 UTC (permalink / raw)
  To: 9fans

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 to the dump files.

regards
ingo

> 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





^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [9fans] Persistent font in Acme.
  2014-11-06 10:01 Mats Olsson
@ 2014-11-06 10:07 ` dante
  2014-11-06 10:13 ` Ingo Krabbe
  2014-11-06 10:13 ` Mark van Atten
  2 siblings, 0 replies; 26+ messages in thread
From: dante @ 2014-11-06 10:07 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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 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



^ permalink raw reply	[flat|nested] 26+ messages in thread

* [9fans] Persistent font in Acme.
@ 2014-11-06 10:01 Mats Olsson
  2014-11-06 10:07 ` dante
                   ` (2 more replies)
  0 siblings, 3 replies; 26+ messages in thread
From: Mats Olsson @ 2014-11-06 10:01 UTC (permalink / raw)
  To: 9fans

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



^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2014-11-09  9:46 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-07 20:03 [9fans] Persistent font in Acme sl
2014-11-07 22:13 ` Mats Olsson
2014-11-08  7:18   ` erik quanstrom
2014-11-08  8:29     ` Mats Olsson
2014-11-08  9:42     ` Richard Miller
2014-11-08 10:35       ` Mats Olsson
2014-11-08 13:47         ` Richard Miller
2014-11-08 14:17           ` Mats Olsson
2014-11-08 11:06       ` cinap_lenrek
2014-11-09  2:16       ` erik quanstrom
2014-11-09  9:46         ` Richard Miller
2014-11-08 15:02     ` Anthony Sorace
2014-11-09  2:06       ` erik quanstrom
  -- strict thread matches above, loose matches on Subject: below --
2014-11-07 21:22 sl
2014-11-07 22:34 ` Mats Olsson
2014-11-06 10:01 Mats Olsson
2014-11-06 10:07 ` dante
2014-11-06 10:13 ` Ingo Krabbe
2014-11-06 12:48   ` Stuart Morrow
2014-11-06 13:14     ` Iruatã Souza
2014-11-06 13:30       ` erik quanstrom
2014-11-06 14:04         ` Iruatã Souza
2014-11-06 14:37           ` Lee Fallat
2014-11-06 14:56             ` Iruatã Souza
2014-11-07 20:53               ` Mats Olsson
2014-11-06 10:13 ` Mark van Atten

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).