VOGONS


more command

Topic actions

First post, by exofreeze

User metadata
Rank Member
Rank
Member

Hello all. I have the need to display large text files screen by screen in dosbox, and back in the real dos days I relied on the more.com command to do this by piping text output to it.

Per the dosbox wiki, I downloaded a copy of more.exe from freedos.

However, I simply can not get it to behave as it should.

I have a folder mounted as my c:\, and in that folder I have more.exe and several text files.

I am typing:
type textfile.txt | more

However it spits the entire text file out without any pauses. If I type more.exe by itself, I get a blinking cursor on the line below my prompt. At this point I can type anything I like, and nothing happens other than the program echoing my typing.

I am using dosbox 0.74 and a standard conf file. Any help is appreciated.

Reply 1 of 6, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

more textfile.txt
or maybe
more < textfile.txt

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 6, by exofreeze

User metadata
Rank Member
Rank
Member

thank you qbix. apparently the old piping method I used to use isn't the way it's done anymore =)

Reply 3 of 6, by Gamecollector

User metadata
Rank Oldbie
Rank
Oldbie

DOSBox just don't support the | pipe. Others (< and >) are supported.
Maybe in 0.75?

Asus P4P800 SE/Pentium4 3.2E/2 Gb DDR400B,
Radeon HD3850 Agp (Sapphire), Catalyst 14.4 (XpProSp3).
Voodoo2 12 MB SLI, Win2k drivers 1.02.00 (XpProSp3).

Reply 4 of 6, by Stiletto

User metadata
Rank l33t++
Rank
l33t++

Aw, no | ? That would screw me up...

"I see a little silhouette-o of a man, Scaramouche, Scaramouche, will you
do the Fandango!" - Queen

Stiletto

Reply 5 of 6, by Joey_sw

User metadata
Rank Oldbie
Rank
Oldbie

yeah, sometime i use the | to automates answering the input prompts.

-fffuuu

Reply 6 of 6, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

If you really need it, you could always try running 4DOS, I think.