Introduce an example to show conduit interface

Also fix a query overflow regression and drop the dependency on `stty`