Re: [9fans] Persistent font in Acme.
ppro 166Mhz? that's quite the historic artifact! cpu0: 166MHz GenuineIntel PentiumPro (cpuid: AX 0x0617 DX 0xFBFF) ELCR: 0A00 LAPIC: fee0 e000 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...
Re: [9fans] Persistent font in Acme.
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 9f...@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).
Re: [9fans] Persistent font in Acme.
i miss that noise :) -- cinap
Re: [9fans] Persistent font in Acme.
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.
Re: [9fans] Persistent font in Acme.
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 9f...@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.
Re: [9fans] Persistent font in Acme.
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... ;-)
Re: [9fans] Persistent font in Acme.
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
Re: [9fans] Persistent font in Acme.
On Sat Nov 8 04:43:12 EST 2014, 9f...@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
Re: [9fans] Persistent font in Acme.
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.mu...@gmail.com: 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 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 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.
Re: [9fans] Persistent font in Acme.
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
Re: [9fans] Persistent font in Acme.
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
Re: [9fans] Persistent font in Acme.
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, s...@9front.org s...@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
[9fans] Persistent font in Acme.
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.
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
Re: [9fans] Persistent font in Acme.
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
Re: [9fans] Persistent font in Acme.
You can write a little script whose only task is to start acme with your favourite parameters. Mark.
Re: [9fans] Persistent font in Acme.
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.
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 profile. Completely unrelated programs could conceivably reuse this trick.
Re: [9fans] Persistent font in Acme.
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 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
Re: [9fans] Persistent font in Acme.
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 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
Re: [9fans] Persistent font in Acme.
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 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 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.
Re: [9fans] Persistent font in Acme.
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 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 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.