VOGONS

Common searches


First post, by rolloLG

User metadata
Rank Member
Rank
Member

DOSBox has an internal Type command, to display for example a HELP.TXT ASCII file contents...
My problem is "Type HELP.TXT | more" doesn't work and won't pause the page as expected. This Type version does not have a /P option built-in, so... how can I do if I need to read (with page pause!) a simple txt file from DOS within DOSBox?
A 3rd party Type command alternative?
Upgrade built-in Type command to support /P (pause per page)?

P.S.
I have C:\DOS\MORE.COM in my path, but doesn't work to pause the page as the "fake" internal COMMAND.COM of DOSBox doesn't seem to support it. If I run COMMAND.COM from MSDOS6.22 copied to DOSBox drive (actually a Win dir mounted as a drive) I can use the " | more" trick of course....

Reply 1 of 8, by Errius

User metadata
Rank l33t
Rank
l33t

I just use EDIT.COM in these situations.

However, this doesn't help if you want to capture a program's /? usage page, or the scrolling output of some other program. The problem isn't with MORE, but the lack of support for piping. However, the developers have said that this isn't going to be added to DOSBox because it isn't directly related to gaming.

ETA: Re: Type |more not working

Just do "more filename"

Is this too much voodoo?

Reply 3 of 8, by rolloLG

User metadata
Rank Member
Rank
Member

After some research I've found that Less177e.zip from https://www.mmnt.net/db/0/1/ftp.cc.umanitoba. … are/pc_migrate/
seems to work fine (press 'q' to quit text view, and you can also move up/down with PgUP/Down, Home/End)

Other good source of old programs for 16-bit: https://www.bttr-software.de/freesoft/txtutil1.htm#less

Reply 4 of 8, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author
rolloLG wrote on 2022-07-18, 18:34:

I have C:\DOS\MORE.COM in my path, but doesn't work to pause the page as the "fake" internal COMMAND.COM of DOSBox doesn't seem to support it. If I run COMMAND.COM from MSDOS6.22 copied to DOSBox drive (actually a Win dir mounted as a drive) I can use the " | more" trick of course....

Use the redirection form (MORE < HELP.TXT) rather than the piping form (TYPE HELP.TXT | MORE)

Reply 5 of 8, by BloodyCactus

User metadata
Rank Oldbie
Rank
Oldbie

grab list.com from https://github.com/sebras/buerg/tree/master/list/9.6y1

rename it to t.com (it behaves different if its called list.com), t.com file to read a file or just t.com to get a directory list and pick a file. hex mode, colours, whatever.
in file list mode, press 1/2/3 etc to change column displayed..

its so versatile. more/less is like darkage living.

--/\-[ Stu : Bloody Cactus :: [ https://bloodycactus.com :: http://kråketær.com ]-/\--

Reply 6 of 8, by rolloLG

User metadata
Rank Member
Rank
Member
ripsaw8080 wrote on 2022-07-18, 21:17:
rolloLG wrote on 2022-07-18, 18:34:

I have C:\DOS\MORE.COM in my path, but doesn't work to pause the page as the "fake" internal COMMAND.COM of DOSBox doesn't seem to support it. If I run COMMAND.COM from MSDOS6.22 copied to DOSBox drive (actually a Win dir mounted as a drive) I can use the " | more" trick of course....

Use the redirection form (MORE < HELP.TXT) rather than the piping form (TYPE HELP.TXT | MORE)

Oh, nice.

Reply 7 of 8, by sebras

User metadata
Rank Newbie
Rank
Newbie
BloodyCactus wrote on 2022-07-19, 00:48:

Hey! It seems like collecting all of Vernon's tools in one place
wasn't as pointless as I thought it might be while doing it. I'm
happy it was useful to someone. 😀

Reply 8 of 8, by gerry

User metadata
Rank Oldbie
Rank
Oldbie
sebras wrote on 2023-03-27, 02:31:
Hey! It seems like collecting all of Vernon's tools in one place wasn't as pointless as I thought it might be while doing it. I' […]
Show full quote
BloodyCactus wrote on 2022-07-19, 00:48:

Hey! It seems like collecting all of Vernon's tools in one place
wasn't as pointless as I thought it might be while doing it. I'm
happy it was useful to someone. 😀

it's always good to do things like this - eventually someone will find it of use, spread the news and benefit others 😀