Introduce an example of using the conduit interface

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