Is more a command ?

This forum is for general developer support questions.
Post Reply
User avatar
gdridi
Posts: 98
Joined: Sat Aug 11, 2012 11:17 am
Contact:

Is more a command ?

Post 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
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1744
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: Is more a command ?

Post 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
User avatar
thomasrapp
Posts: 318
Joined: Sun Jun 19, 2011 12:22 am

Re: Is more a command ?

Post by thomasrapp »

The reason is that it can be run from Workbench and be used as default tool in project icons as well.
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1744
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: Is more a command ?

Post by nbache »

Yeah, but "noone" notices it because it doesn't have an icon.

Best regards,

Niels
Post Reply