DC_In, Read from CLI

Register parameters

RST 20H, DEFW $0E0C
IN:
    BC = timeout for OS_Cli ( CL_RIM / OS_Pbt )

OUT, if call successful:
    DE = cli_instreamT 
OUT, if call failed:
    Fc = 1
    A = Error code (RC_Eof, RC_Time, RC_Susp, RC_Esc)

Registers affected after return:
    ..BC..HL/IXIY same
    AF..DE../.... different

Notes

Internal operating system usage. 

 Handles .[;*<>=DJST] and [#|~] and also produces input tee. cli_instreamT stream might have been closed before returning.

Bugs

".T[;DS]" are not flagged as errors but act like ".[;DS]" 
".." doesn't stand for "." as documented.

Related calls

DC_Icl, Invoke new CLI
DC_Out, Write to CLI
DC_Prt, Print to CLI
DC_Xin, Examine CLI input
DC_Rbd, Rebind streams
DC_Gen, screen driver SOH call
OS_Cli, CLI interface