1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

TYPE /P behaves strangely with piped/redirected input

Discussion in 'Support' started by Charles Dye, Sep 12, 2012.

  1. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,300
    Likes Received:
    39
    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.
     

Share This Page