By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

TYPE /P behaves strangely with piped/redirected input

Charles Dye

Super Moderator
Staff member
When input is piped or redirected into TYPE /P, pagination behaves oddly. Sometimes output isn't paginated at all. Other times, Esc is ignored, space is echoed, and A isn't processed until Enter is pressed....

Of course, TYPE's support for redirected input is not documented, so I can't fairly call this a bug. On the other hand, piping and redirection into TYPE wouldn't work at all if you hadn't deliberately coded support for it, and I don't think this behavior is quite what you had in mind.

Similar threads