TYPE /P behaves strangely with piped/redirected input

Charles Dye

Super Moderator
Staff member
May 20, 2008
3,586
46
Albuquerque, NM
prospero.unm.edu
#1
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.