Re: [9fans] How to customize set of commands in acme

2023-01-15 Thread Alexander Sychev
Hello,

For manipulating tags of windows, you can eather use external application
or patch acme. I wrote an application, https://github.com/santucco/atag, it
manipulates tags of acme's windows. I doubt it will work in plain Plan9
without modifications, I use it with acme from plan9port.

I do not know a way to manipulate the top tag from outside, except changing
acme.

Best regards,
Alexander

пн, 16 янв. 2023 г., 6:54 :

> When I create a new acme session, I have a row of blue commands which
> accompany a row/document. (Not sure what these are  called.) I would like
> to know if one can add a few commands to the default values. For example, I
> would like to add *win* next to *Zerox* and *Delcol*. There are several
> commands I use all the time, 'win' being just one example.
> *9fans * / 9fans / see discussions
>  + participants
>  + delivery options
>  Permalink
> 
>

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T548033f880d618c4-Mc24cb207759d02e92c095915
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


[9fans] How to customize set of commands in acme

2023-01-15 Thread revrari
When I create a new acme session, I have a row of blue commands which accompany 
a row/document. (Not sure what these are  called.) I would like to know if one 
can add a few commands to the default values. For example, I would like to add 
*win* next to *Zerox* and *Delcol*. There are several commands I use all the 
time, 'win' being just one example. 
--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T548033f880d618c4-Mc573ea198bbf13d6b6461c17
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


[9fans] Script to apply Edit commands in acme

2023-01-15 Thread revrari
In sam I can create a script file consisting of a list of edit commands to 
apply to the document. I then invoke *,| ssam -f my_script *to apply it.
I would like to do something similar in acme.
For example, create a script with these two commands to cleanup whitespace:
Edit ,x/^ +/d
Edit ,x/ +$/d
I would like to know if such a script would require the regular #!/bin/rc 
heading, and how it would be invoked from within acme. I tried to do something 
in my scripts folder, but it did not work.


--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Taf408751bc6fb344-M3eb35eb0b706b85667532f19
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Setting acme to a GoMono or DejavuSansMono font

2023-01-15 Thread michaelian ennis
− Is minus: https://en.m.wiktionary.org/wiki/%E2%88%92

On January 15, 2023 at 00:14:51, Lucio De Re (lucio.d...@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


Re: [9fans] Setting acme to a GoMono or DejavuSansMono font

2023-01-15 Thread revrari
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


Re: [9fans] Setting acme to a GoMono or DejavuSansMono font

2023-01-15 Thread Lucio De Re
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


Re: [9fans] Setting acme to a GoMono or DejavuSansMono font

2023-01-15 Thread Lucio De Re
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


Re: [9fans] Setting acme to a GoMono or DejavuSansMono font

2023-01-15 Thread revrari
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