/r/Acme
/r/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?
- 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
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,
how can i use acme without a 3 button mouse? i have a "regular" one
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
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
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.
More specifically, what debugger programs work well with acme? Can an interface to, say, gdb be written for acme?
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?
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?
In the acme tour video by rsc, he has a watch
command. Does anyone know where to find that?
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?
sorry
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);