diff --git a/acme.diff b/acme.diff index 4f2f7c6..51bee8f 100644 --- a/acme.diff +++ b/acme.diff @@ -1,8 +1,30 @@ diff --git a/src/cmd/acme/acme.c b/src/cmd/acme/acme.c -index e5658a4e..2c79b387 100644 +index e5658a4e..a3ea874a 100644 --- a/src/cmd/acme/acme.c +++ b/src/cmd/acme/acme.c -@@ -1034,6 +1034,13 @@ Cursor2 boxcursor2 = { +@@ -69,6 +69,8 @@ threadmain(int argc, char *argv[]) + rfork(RFENVG|RFNAMEG); + + ncol = -1; ++ globalautoindent = TRUE; ++ bartflag = TRUE; + + loadfile = nil; + ARGBEGIN{ +@@ -78,10 +80,10 @@ threadmain(int argc, char *argv[]) + } + break; + case 'a': +- globalautoindent = TRUE; ++ globalautoindent = FALSE; + break; + case 'b': +- bartflag = TRUE; ++ bartflag = FALSE; + break; + case 'c': + p = ARGF(); +@@ -1034,6 +1036,13 @@ Cursor2 boxcursor2 = { 0x00, 0x00, 0x00, 0x00} }; @@ -16,7 +38,7 @@ index e5658a4e..2c79b387 100644 void iconinit(void) { -@@ -1041,19 +1048,17 @@ iconinit(void) +@@ -1041,19 +1050,17 @@ iconinit(void) Image *tmp; if(tagcols[BACK] == nil) { diff --git a/acme.txt b/acme.txt index f8544af..cc7d499 100644 --- a/acme.txt +++ b/acme.txt @@ -2,6 +2,7 @@ Changes to acme =============== - changed color scheme to dark background and light text +- reversed the logic of the globalautoindent and bart flags - changed keyboard shortcuts: - Down and Up now move the cursor to the end of the line below/above - If you scroll more than 10 lines at a time, the cursor moves along