On Thursday 17 of May 2012 11:23:47 Peter A. Cejchan wrote:
> i was always missing a 'command window' where can i see the file with my
> customized commands (for the task i'm working on), w/o restarting acme. see
> my ancient postings about an idea how to replace (mostly redundant)
> taglines with a command window. (yes, i can open my guide file in a window
> and snarf/paste to a tagline; however, it's at least, unelegant...)
probably the Dump/Load (or the -l <dumfile> argument) would do the trick for
you.
anyway, hacking Acme's C sources to adjust content of tag line is easy enough.
--
dx
>From 09daae41cbf3c64d3b9bbb33f59c7c1e515e789f Mon Sep 17 00:00:00 2001
From: dexen deVries <devnull@localhost>
Date: Tue, 25 Jan 2011 12:04:54 +0100
Subject: [PATCH 1/2] do not put `Look' in Acme's window
X-Face: 1TH%]0KlR_DQ/V9+m_"neC|Yj3$MU@B/vVI\}^j`G/[9JKe=5`p[$l|z^\MRO%<k:9xXL[_!jEZo8$[]yo{7O-]t_@Qj`v5H@L[YyU<#j7(H)P\{pMs))9$@Vww1"ni-{+{5olk=XY&G,}|UHQMC08506\0=+p|75ucH!S!1UcXoC1vgpN_{lOMt_54_N5;)ngh6=D^uZN,}ZI9-k9"v<!}`jpCUMM,//`>H6w{K<geM^bS]jwD8'lAEX9>F[ScIHig1.r%65;
---
src/cmd/acme/wind.c | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/cmd/acme/wind.c b/src/cmd/acme/wind.c
index bfe4bec..b68f66f 100644
--- a/src/cmd/acme/wind.c
+++ b/src/cmd/acme/wind.c
@@ -468,8 +468,15 @@ winsettag1(Window *w)
else{
k = w->tag.file->b.nc;
if(w->body.file->seq == 0){
- runemove(new+i, Llook, 6);
- i += 6;
+ if (0){
+ runemove(new+i, Llook, 6);
+ i += 6;
+ }
+ else{
+ static Rune foo[] = { ' ', 0 };
+ runemove(new+i, foo, 1);
+ i += 1;
+ }
}
}
new[i] = 0;
--
1.7.5.1