Page 1 of 1

Is more a command ?

Posted: Tue Dec 17, 2024 6:06 pm
by gdridi
Hi!

I writing a more AmigaDOS command but want to know how can I integrate it with piping.

Is it a no way (because more is not in the C: folder).

How it works internally, in particular the "press a key to continue" feature.

Where to redirect error or input stream (with IDOS->SelectInput() or SelectErrorOutpit()? ) for reading and how ?

Sincerely yours,
DGILLES

Re: Is more a command ?

Posted: Tue Dec 17, 2024 7:28 pm
by nbache
gdridi wrote: Tue Dec 17, 2024 6:06 pmIs it a no way (because more is not in the C: folder).
More is in SYS:Utilities for some reason, not in C:.

Best regards,

Niels

Re: Is more a command ?

Posted: Thu Dec 19, 2024 6:16 am
by thomasrapp
The reason is that it can be run from Workbench and be used as default tool in project icons as well.

Re: Is more a command ?

Posted: Thu Dec 19, 2024 11:50 am
by nbache
Yeah, but "noone" notices it because it doesn't have an icon.

Best regards,

Niels