/r/Acme

Photograph via snooOG

/r/Acme

310 Subscribers

6

Acme and Twitter (cross-post from r/plan9)

0 Comments
2020/05/07
09:17 UTC

3

Any tips for Windows users of Acme?

Does anyone use Acme on Windows? If yes, can you share any tips/workaround you have adopted to make it work well on Windows?

4 Comments
2020/03/22
12:22 UTC

15

Nyne: An autoformatter for Acme

I got really annoyed having a bunch of shell scripts for formatting different languages so I built a small autoformatter on top of acmego called Nyne. I'm planning on adding other configuration options in addition to formatting, but this is at least a start. You can take a look at it here.

2 Comments
2019/12/22
18:50 UTC

1

some beginner questions

- How can I change background color ?

- I normally use iterm with oh-my-zsh but when i issue "win" command I had terminal session with broken characters how can I overcome this?

- How can I change font size ?

win command opening terminal with broken chars

Sorry about this simple questions but I just learn about this amazing editor and I am bit lost

6 Comments
2019/08/19
22:30 UTC

3

Forked acme with "mortal mode" keyboard bindings :)

Hello,

If you like to learn acme but somehow put-off by it's weird keyboard bindings, I have a forked version where I changed the keyboard bindings to allow for a more common key bindings:

Home - takes you to the start of the line
End - takes you to the end of the line
Arrow up/ Arrow down - works similar to other editors
Ctrl-X - cut
Ctrl-C - copy
Ctrl-V - paste
Ctrl-S - shortcut for saving

Github link:

https://github.com/lmumar/plan9port

Cheers,

1 Comment
2019/03/11
14:07 UTC

2

mouse noob question

how can i use acme without a 3 button mouse? i have a "regular" one

4 Comments
2019/03/09
15:22 UTC

4

Utility for parentheses matching in Acme

0 Comments
2019/03/01
02:52 UTC

3

Tabs and whitespace

As someone who isn't the best at c code, is it possible to modify acme to insert 4 spaces instead of a tab character on the tab key, I'm currently using script to convert but it's quite messy.

Thanks

2 Comments
2019/02/19
13:59 UTC

3

Acme unable to run scripts editing body

I have been using Acme for a while without using any scripts to help my workflow. I'm trying to incorporate a script that simply indents a selection of lines. I do not know why, but none of the scripts are working. I've tried several that I found on github including the relatively common a+ and a- scripts. I added them to a folder in my path, trying both rc and bash, chmod +x'ed them, and they do not work. The script below echos out properly in the +ERROR window, removes a line with the selected text yet does not replace and indent it. Have I missed a setup step somewhere? Any help you could provide would be great.

9indent.sh:

#!/usr/bin/env bash

#9indent

echo "WinId is: " $winid

echo -n "1,$" | 9p write acme/$winid/addr

echo "Selected whole contents for overwriting with 'write'"

9p read acme/$winid/body | indent -st | 9p write acme/$winid/data

2 Comments
2019/02/18
00:05 UTC

10

Acme like editor written in go

So I found this while looking around https://github.com/as/a

It's very much like acme without the need to use plan9 ports, still has some bugs but worth a look.

6 Comments
2019/02/01
18:49 UTC

1

What do you guys use to debug programs with?

More specifically, what debugger programs work well with acme? Can an interface to, say, gdb be written for acme?

6 Comments
2019/02/01
15:55 UTC

2

Acme can only access C:/ on Windows 10. How to access other drives?

I downloaded "Windows Acme SAC 0.13" from this link.

I have extracted it in G:/acme-0.13/

When I type /n/ and right-click it, it only shows me

C/  D/          

But my hard-disk is partitioned into the C:/ F:/ G:/ and H:/ drives. Why is it not showing me the other drives?

Also, when I type /n/F/ and right-click it, It shows an empty window.

How can I access my other drives in Acme?

0 Comments
2018/08/26
06:30 UTC

2

Does anyone know how to build acme-sac from OSX?

I am a newbie trying to learn Acme-sac interface, and hopefully its internals. For doing that, I need to be able to build it. Is there any step-by-step instructions on how to build acme-sac anywhere? All I get from the github page is to cd to /appl/ and mk install which fails with exit status=2304 Sh:fail:usage after running through some commands. My question is: How do I checkout and build the latest source?

0 Comments
2018/06/04
14:24 UTC

3

Acme watch command

In the acme tour video by rsc, he has a watch command. Does anyone know where to find that?

2 Comments
2018/01/18
17:26 UTC

5

Any useful plumb rules?

I happened to have stumbled across Russ Cox’s introduction video around two months ago and I’ve been using Acme for almost everything since then (plan9port). I find the plumber utility extremely fascinating, however, I’m not able to use it for anything other than what has been provided by default. I’ve tried creating my own rules (for google searches and the ‘git show’ command) after going through plumb(7) but to no avail!

Do any of you here have any useful plumb rules you use regularly that I can try out?

4 Comments
2017/12/09
06:03 UTC

11

but the text on the create subreddit button said not to make a subreddit called /r/acme

sorry

3 Comments
2017/10/14
18:42 UTC

7

P9p acme: don't show dots files.

diff -r d75b433706b7 src/cmd/acme/text.c
--- a/src/cmd/acme/text.c	Wed Oct 23 22:10:31 2013 +0200
+++ b/src/cmd/acme/text.c	Fri Dec 27 15:19:23 2013 -0300
@@ -240,6 +240,9 @@
 		dbuf = nil;
 		while((n=dirread(fd, &dbuf)) > 0){
 			for(i=0; i<n; i++){
+				if(dbuf[i].name[0] == '.'){
+					continue;	/* clean all dot's file clutter nonsense */
+				}
   				dl = emalloc(sizeof(Dirlist));
 				j = strlen(dbuf[i].name);
 				tmp = emalloc(j+1+1);
1 Comment
2013/12/27
18:26 UTC

Back To Top