[hackers] [sbase] Fix type of c in getrhs() || Roberto E. Vargas Caballero

2018-07-03 Thread git
commit 77fe371fe45ef3b5661d0ebea2717aef9a7c6c5a Author: Roberto E. Vargas Caballero AuthorDate: Sun Mar 4 14:56:44 2018 +0100 Commit: sin CommitDate: Tue Jul 3 09:31:46 2018 +0100 Fix type of c in getrhs() C is compared against EOF, so it cannot be char. diff --git a/ed.c b

[hackers] [sbase] Rename addchar_() to addchar() || Roberto E. Vargas Caballero

2018-07-03 Thread git
commit d849e6d4aa60205ba16a1882372ff3ffa7992134 Author: Roberto E. Vargas Caballero AuthorDate: Sun Mar 4 15:15:54 2018 +0100 Commit: sin CommitDate: Tue Jul 3 09:31:46 2018 +0100 Rename addchar_() to addchar() All the ocurrences of addchar() were moved to addchar_(), so

[hackers] [sbase] Improve doglobal() || Roberto E. Vargas Caballero

2018-07-03 Thread git
commit ebf740f96244497b003b65e56a4f147b7f7b956a Author: Roberto E. Vargas Caballero AuthorDate: Sun Mar 4 17:10:17 2018 +0100 Commit: sin CommitDate: Tue Jul 3 09:31:46 2018 +0100 Improve doglobal() Don't use directly the line numbers and call to getlst() when a line is

[hackers] [sbase] Add TODO || Roberto E. Vargas Caballero

2018-07-03 Thread git
commit 18f6c5e0142d09ed1c104b7dad96d17ce89820d4 Author: Roberto E. Vargas Caballero AuthorDate: Sun Mar 4 20:17:54 2018 +0100 Commit: sin CommitDate: Tue Jul 3 09:31:46 2018 +0100 Add TODO diff --git a/ed.c b/ed.c index a29ff19..29f4b92 100644 --- a/ed.c +++ b/ed.c @@ -1,4 +1,25 @@

[hackers] [sbase] Move text to String type || Roberto E. Vargas Caballero

2018-07-03 Thread git
commit 35cf3c79f29f181a3fcb5da6a18140b7ce5bd79c Author: Roberto E. Vargas Caballero AuthorDate: Sun Mar 4 14:06:24 2018 +0100 Commit: sin CommitDate: Tue Jul 3 09:31:46 2018 +0100 Move text to String type diff --git a/ed.c b/ed.c index ca55c61..2cf2708 100644 --- a/ed.c +++ b/ed.c @

[hackers] [sbase] Fix type of c in execsh() || Roberto E. Vargas Caballero

2018-07-03 Thread git
commit 0732529fef748049054cde3db103276bbd1fe98a Author: Roberto E. Vargas Caballero AuthorDate: Sun Mar 4 14:56:44 2018 +0100 Commit: sin CommitDate: Tue Jul 3 09:31:46 2018 +0100 Fix type of c in execsh() C is compared against EOF, so it cannot be char. diff --git a/ed.c b

[hackers] [sbase] Define new String type || Roberto E. Vargas Caballero

2018-07-03 Thread git
commit 20794b570eeb5a9d55a4869a20888d46a1c9d4fd Author: Roberto E. Vargas Caballero AuthorDate: Sun Mar 4 13:59:48 2018 +0100 Commit: sin CommitDate: Tue Jul 3 09:31:46 2018 +0100 Define new String type Current handling of strings is a bit messy. This type is copied from

[hackers] [sbase] Fix copy() || Roberto E. Vargas Caballero

2018-07-03 Thread git
commit 9781959581c4c150decd0c7cbc325da23eb009d3 Author: Roberto E. Vargas Caballero AuthorDate: Sun Mar 4 17:08:14 2018 +0100 Commit: sin CommitDate: Tue Jul 3 09:31:46 2018 +0100 Fix copy() Copy was using directly the line numbers and incrementing them without calling n

[hackers] [sbase] Move subline() to use String type || Roberto E. Vargas Caballero

2018-07-03 Thread git
commit 3ce26f33c66ec170acc015a5a84b277500654a3b Author: Roberto E. Vargas Caballero AuthorDate: Sun Mar 4 14:06:24 2018 +0100 Commit: sin CommitDate: Tue Jul 3 09:31:46 2018 +0100 Move subline() to use String type diff --git a/ed.c b/ed.c index 0f86759..2a66184 100644 --- a/ed.c +++

[hackers] [sbase] Use nextln() in scroll() || Roberto E. Vargas Caballero

2018-07-03 Thread git
commit cd9b149c8f8f37773ddd6ab9a9bd7b49b2ddaafe Author: Roberto E. Vargas Caballero AuthorDate: Sun Mar 4 17:10:17 2018 +0100 Commit: sin CommitDate: Tue Jul 3 09:31:46 2018 +0100 Use nextln() in scroll() diff --git a/ed.c b/ed.c index 6858c2d..006e67b 100644 --- a/ed.c +++ b/ed.c @

[hackers] [sbase] Move lastre to String type || Roberto E. Vargas Caballero

2018-07-03 Thread git
commit 7c2eec7bd1139813677e37c8acefdd4d9df90838 Author: Roberto E. Vargas Caballero AuthorDate: Sun Mar 4 14:06:24 2018 +0100 Commit: sin CommitDate: Tue Jul 3 09:31:46 2018 +0100 Move lastre to String type diff --git a/ed.c b/ed.c index 2cf2708..5d85b52 100644 --- a/ed.c +++ b/ed.c

[hackers] [sbase] Allow overlapping transfer || Roberto E. Vargas Caballero

2018-07-03 Thread git
commit 504dde13739b2f92e4d9b0a9773408c86506c12a Author: Roberto E. Vargas Caballero AuthorDate: Sun Mar 4 16:08:57 2018 +0100 Commit: sin CommitDate: Tue Jul 3 09:31:46 2018 +0100 Allow overlapping transfer diff --git a/ed.c b/ed.c index 58bdb45..70dd2a5 100644 --- a/ed.c +++ b/ed.c

[hackers] [sbase] Move execsh() to use String type || Roberto E. Vargas Caballero

2018-07-03 Thread git
commit a5d268c40990ffe064a5b1f5b8a819238c2fb5d7 Author: Roberto E. Vargas Caballero AuthorDate: Sun Mar 4 14:06:24 2018 +0100 Commit: sin CommitDate: Tue Jul 3 09:31:46 2018 +0100 Move execsh() to use String type diff --git a/ed.c b/ed.c index 8951d4b..dcd91d1 100644 --- a/ed.c +++

[hackers] [sbase] Move join() to use String type || Roberto E. Vargas Caballero

2018-07-03 Thread git
commit 8d59405ae01449e60e9aeb665de664467ee067fd Author: Roberto E. Vargas Caballero AuthorDate: Sun Mar 4 14:06:24 2018 +0100 Commit: sin CommitDate: Tue Jul 3 09:31:46 2018 +0100 Move join() to use String type diff --git a/ed.c b/ed.c index 5d85b52..8951d4b 100644 --- a/ed.c +++ b/

[hackers] [sbase] Set restore point before setting signal handlers || Roberto E. Vargas Caballero

2018-07-03 Thread git
commit 651e2b0ee2bae4826c9cc9f1215cd57965676bdf Author: Roberto E. Vargas Caballero AuthorDate: Sun Mar 4 11:58:07 2018 +0100 Commit: sin CommitDate: Tue Jul 3 09:31:46 2018 +0100 Set restore point before setting signal handlers diff --git a/ed.c b/ed.c index 2a84b60..5511a9e 100644

[hackers] [sbase] Fix undo || Roberto E. Vargas Caballero

2018-07-03 Thread git
commit ece6569297d216797e7c0a4a0b4ecbd7b5f1f6f0 Author: Roberto E. Vargas Caballero AuthorDate: Sun Mar 4 20:16:06 2018 +0100 Commit: sin CommitDate: Tue Jul 3 09:31:46 2018 +0100 Fix undo Avoid incorrect values in the number of undo elements and restore lastln value aft

[hackers] [sbase] Simplify expression in makeline() || Roberto E. Vargas Caballero

2018-07-03 Thread git
commit f45156d5b4f49ada1c130168a2aabdcb02f430a4 Author: Roberto E. Vargas Caballero AuthorDate: Tue Mar 6 14:38:23 2018 +0100 Commit: sin CommitDate: Tue Jul 3 09:31:46 2018 +0100 Simplify expression in makeline() This expression was wrong, but it was causing a false positiv

[hackers] [sbase] Move cmdline to String type || Roberto E. Vargas Caballero

2018-07-03 Thread git
commit f5cb020f06786e3c802b45f0a0093204693b5e90 Author: Roberto E. Vargas Caballero AuthorDate: Sun Mar 4 14:01:21 2018 +0100 Commit: sin CommitDate: Tue Jul 3 09:31:46 2018 +0100 Move cmdline to String type diff --git a/ed.c b/ed.c index 97fa5e8..ca55c61 100644 --- a/ed.c +++ b/ed.