9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Setting acme to a GoMono or DejavuSansMono font
@ 2023-01-15  6:57 revrari
  2023-01-15  7:13 ` Mark van Atten
  0 siblings, 1 reply; 9+ messages in thread
From: revrari @ 2023-01-15  6:57 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 778 bytes --]

I have successfully installed plan9port on Ubuntu Linux. I managed to change the font for sam when I run it. I have set this in my .bash_aliases file:

alias sam="export font=/mnt/font/GoMono/11a/font && sam"

However, the same code does not work for acme. If I add this alias:

alias acme="export font=/mnt/font/GoMono/11a/font && acme"

then acme starts, but the font is _not_ GoMono. 

I have tried this with other fonts too.

I would appreciate any help with this.

BTW I am running sam/acme directly from the bash shell. 




------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T24f3cf01c959c542-Mb50016e0c230ce50af248015
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 1591 bytes --]

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

* Re: [9fans] Setting acme to a GoMono or DejavuSansMono font
  2023-01-15  6:57 [9fans] Setting acme to a GoMono or DejavuSansMono font revrari
@ 2023-01-15  7:13 ` Mark van Atten
  2023-01-15  7:47   ` Raoul Comninos
  0 siblings, 1 reply; 9+ messages in thread
From: Mark van Atten @ 2023-01-15  7:13 UTC (permalink / raw)
  To: 9fans

> then acme starts, but the font is not GoMono.

9 man fontsrv
(EXAMPLES)

Mark.

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T24f3cf01c959c542-M6bd7d4b766df7cdfd0a27ee1
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] Setting acme to a GoMono or DejavuSansMono font
  2023-01-15  7:13 ` Mark van Atten
@ 2023-01-15  7:47   ` Raoul Comninos
  2023-01-15  7:53     ` Lucio De Re
  0 siblings, 1 reply; 9+ messages in thread
From: Raoul Comninos @ 2023-01-15  7:47 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 669 bytes --]

Those examples seem to pertain to running acme via rc, which I am not
doing.

However, I tried:
% acme −F /mnt/font/GoMono/11a/font
and I get,
can't open −F: No such file or directory
can't open /mnt/font/GoMono/11a/font: No such file or directory

On Sun, 15 Jan 2023 at 09:16, Mark van Atten <vanattenmark@gmail.com> wrote:

> > then acme starts, but the font is not GoMono.
> 
> 9 man fontsrv
> (EXAMPLES)
> 
> Mark.

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T24f3cf01c959c542-Ma85bfd00ecd058af5dd12d2b
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 2792 bytes --]

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

* Re: [9fans] Setting acme to a GoMono or DejavuSansMono font
  2023-01-15  7:47   ` Raoul Comninos
@ 2023-01-15  7:53     ` Lucio De Re
  2023-01-15  8:04       ` revrari
  0 siblings, 1 reply; 9+ messages in thread
From: Lucio De Re @ 2023-01-15  7:53 UTC (permalink / raw)
  To: 9fans

You probably have a shell alias or a shell function called acme. The
p9p acme does accept the -f and -F options, I use them all the time.

-- 
Lucio De Re
2 Piet Retief St
Kestell (Eastern Free State)
9860 South Africa

Ph.: +27 58 653 1433
Cell: +27 83 251 5824

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T24f3cf01c959c542-M82c8b93600e53c627cef45b0
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] Setting acme to a GoMono or DejavuSansMono font
  2023-01-15  7:53     ` Lucio De Re
@ 2023-01-15  8:04       ` revrari
  2023-01-15  8:12         ` Lucio De Re
  0 siblings, 1 reply; 9+ messages in thread
From: revrari @ 2023-01-15  8:04 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 319 bytes --]

I've checked and there is no shell alias or function. What path do you use for the fonts? 
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T24f3cf01c959c542-M8ab36c2671b67dfe2a7e32ae
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 815 bytes --]

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

* Re: [9fans] Setting acme to a GoMono or DejavuSansMono font
  2023-01-15  8:04       ` revrari
@ 2023-01-15  8:12         ` Lucio De Re
  2023-01-15  8:14           ` Lucio De Re
  0 siblings, 1 reply; 9+ messages in thread
From: Lucio De Re @ 2023-01-15  8:12 UTC (permalink / raw)
  To: 9fans

It's the "-F" that the invoked "acme" complains about, then the font
filename. That just doesn't compute.

mnt/font is interpreted by the font management library as a Unix
socket to the font server.

     9 man fontsrv

will help some, it shows how to check which fonts are available.

-- 
Lucio De Re
2 Piet Retief St
Kestell (Eastern Free State)
9860 South Africa

Ph.: +27 58 653 1433
Cell: +27 83 251 5824

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T24f3cf01c959c542-M6b39579f9d68923e2c2ce508
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] Setting acme to a GoMono or DejavuSansMono font
  2023-01-15  8:12         ` Lucio De Re
@ 2023-01-15  8:14           ` Lucio De Re
  2023-01-15  9:10             ` revrari
  2023-01-15 20:44             ` michaelian ennis
  0 siblings, 2 replies; 9+ messages in thread
From: Lucio De Re @ 2023-01-15  8:14 UTC (permalink / raw)
  To: 9fans

Are you perhaps using an unusual hyphen (m-dash, perhaps)?


-- 
Lucio De Re
2 Piet Retief St
Kestell (Eastern Free State)
9860 South Africa

Ph.: +27 58 653 1433
Cell: +27 83 251 5824

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T24f3cf01c959c542-M3da152dddb4258007daebad3
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] Setting acme to a GoMono or DejavuSansMono font
  2023-01-15  8:14           ` Lucio De Re
@ 2023-01-15  9:10             ` revrari
  2023-01-15 20:44             ` michaelian ennis
  1 sibling, 0 replies; 9+ messages in thread
From: revrari @ 2023-01-15  9:10 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 298 bytes --]

That did the trick! Thanks so much.
acme -f /mnt/font/GoMono/11a/font
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T24f3cf01c959c542-M7900b5850c68c7efe885b6ca
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 807 bytes --]

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

* Re: [9fans] Setting acme to a GoMono or DejavuSansMono font
  2023-01-15  8:14           ` Lucio De Re
  2023-01-15  9:10             ` revrari
@ 2023-01-15 20:44             ` michaelian ennis
  1 sibling, 0 replies; 9+ messages in thread
From: michaelian ennis @ 2023-01-15 20:44 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 579 bytes --]

− Is minus: https://en.m.wiktionary.org/wiki/%E2%88%92

On January 15, 2023 at 00:14:51, Lucio De Re (lucio.dere@gmail.com) wrote:

> Are you perhaps using an unusual hyphen (m-dash, perhaps)?
> 
> --
> Lucio De Re
> 2 Piet Retief St
> Kestell (Eastern Free State)
> 9860 South Africa
> 
> Ph.: +27 58 653 1433
> Cell: +27 83 251 5824

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T24f3cf01c959c542-Mc75d4cd05a2ff7e1db3461a7
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 1901 bytes --]

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

end of thread, other threads:[~2023-01-15 20:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-15  6:57 [9fans] Setting acme to a GoMono or DejavuSansMono font revrari
2023-01-15  7:13 ` Mark van Atten
2023-01-15  7:47   ` Raoul Comninos
2023-01-15  7:53     ` Lucio De Re
2023-01-15  8:04       ` revrari
2023-01-15  8:12         ` Lucio De Re
2023-01-15  8:14           ` Lucio De Re
2023-01-15  9:10             ` revrari
2023-01-15 20:44             ` michaelian ennis

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