zoomsh: do not use readline for stdin (no tty) YAZ-724
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 15 Jan 2014 14:04:11 +0000 (15:04 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 15 Jan 2014 14:06:12 +0000 (15:06 +0100)
commit02b9296d9a65ff5b325cedbd4d9455ba2edd9365
treec02c0a760847539e7e4b8ec52af437456a3854cb
parentc44b53d5d69b1aa73ca1561de1b83392527c7233
zoomsh: do not use readline for stdin (no tty) YAZ-724

Just use fgets in that case. If the user hits Ctrl-D a new-line
is also printed.
zoom/zoomsh.c