Amiga.org
Operating System Specific Discussions => Amiga OS => Amiga OS -- Application questions and support => Topic started by: Ancalimon on September 07, 2014, 06:35:30 PM
-
Is there a patch that increases the length of command lines?
On OS3.9 when you boot without startup-sequence, you can not use editpad to edit files and you have to use ed. The ed command cuts of long command lines (like for example by blizkick line which have lots of arguments)
I know there are other options (like the ed command that comes with Amigakit) but I'd like ed that comes with OS3.1 and 3.9 to also support long lines.
-
I think you can just scroll the cursor to the right to get the full line...?
There's also MEmacs bundled with the OS that should work.
-
Is there a patch that increases the length of command lines?
As in "command lines of the Shell"? Then you don't need one. The shell does not have (anymore, as of 3.9) a command line limit. It can be as long as there is memory to hold it. On OS3.9 when you boot without startup-sequence, you can not use editpad to edit files and you have to use ed. The ed command cuts of long command lines (like for example by blizkick line which have lots of arguments)
Ed, unfortunately, has a fixed limit of 255 characters per line that is compiled into the code, and the memory for that is not even allocated, but taken from the bss segment of the command, thus just patching would overwrite other internal variables. Thus, there is no way to extend this except to recompile it. But other options exist. CED works fine even without a startup-sequence. (Ed is a dinosaur anyhow, better put it to rest).
-
Ced is commerciall, ed is fine.
-
I have used Blacks Editor (http://aminet.net/package/text/edit/BlacksEditor). It works without startup-sequence, is free and is also very good editor for coding.
-
Thanks for the explanations and suggestions.
By the way does anyone know what part of Startup-Sequence should be loaded so that I can run editpad after booting without startup-sequence?
I can create a script just for that.
-
EditPad uses ReAction, so to get that functional I think you need ENV: assigned, as well as
assign LIBS: SYS:Classes ADD
Hopefully I'm not forgetting anything, but I trust that someone else will correct me if I am :)