First post, by olspookishmagus
- Rank
- Newbie
Hello.
With MS-DOS's more not being an option, I was wondering...
is there a pager for DOSBox?
Thanks in advance.
Hello.
With MS-DOS's more not being an option, I was wondering...
is there a pager for DOSBox?
Thanks in advance.
May I ask why it isn't an option for you? Not being smart or anything, only because unless it's a special case it can be used.
wrote:May I ask why it isn't an option for you? Not being smart or anything, only because unless it's a special case it can be used.
Because, it would render my DOSBox installation non-clean.
Also I would make a request for it, because others might also want to keep it clean.
What do you mean pager and non-clean? I've no idea what you're talking about.
wrote:What do you mean pager and non-clean? I've no idea what you're talking about.
By "pager" I'm talking about this:
cat looooooong.txt | pager
It will will output that looooooong text in one screenful after the other.
By "Non-clean" I'm having in mind the differences between the software licenses of DOSBox and MS-DOS.
If I'm up-to-date and correct Microsoft has released source for MS-DOS versions 1.0 and 2.0 only.
4Dos? FreeDos?
wrote:4Dos?
FreeDos?
Or MS-DOS, that's not the issue here.
I should have been more clear in my initial post.
I'm looking whether a pager already exists within DOSBox.
No, it doesn't but you can use free utilities that you can place in your path and use in Dosbox
wrote:No, it doesn't but you can use free utilities that you can place in your path and use in Dosbox
Ok. I got my answer.
wrote:wrote:No, it doesn't but you can use free utilities that you can place in your path and use in Dosbox
Ok. I got my answer.
I'm kind of puzzled since you mentioned initially that you want it "clean" and then
wrote:Or MS-DOS, that's not the issue here.
So I'm just going to let it here as extra info either for you or anyone else: you can use MS-DOS "more" as long as you set the version right and don't use piping but redirection.
For example instead of textfile.txt |more, use more <textfile.txt
wrote:For example instead of textfile.txt |more, use more <textfile.txt
I suppose it might not work with the oldest versions of "more", but "more textfile.txt" works perfectly without any piping or redirection.
I will add that the version of "more" in FreeDOS is probably licensed at least as permissively as DOSBox itself.
Here you go.
http://reimagery.com/fsfd/txtutil1.htm#less
All hail the Great Capacitor Brand Finder
wrote:I'm kind of puzzled since you mentioned initially that you want it "clean" and then
wrote:wrote:4Dos?
FreeDos?Or MS-DOS, that's not the issue here.
True. I kind of contradicted myself there, please excuse me
What I had in mind is that if one had to use an external pager it would also ideally have to be something clean if possible.
wrote:Here you go.
http://reimagery.com/fsfd/txtutil1.htm#less
/me bows
There are many good unix-like utils in the DJGPP package.
http://www.delorie.com/djgpp/
many of them work flawlessly under DOSBox, some others not so much (e.g. the GCC compiler is buggy due to no LFN support in DOSBox).