Drop IS_TTY_SESSION(), pimp OPT_INTERACTIVE..
commit8fc030892c08ad1ccff219cbb14fc7f91faaa59c
authorSteffen (Daode) Nurpmeso <sdaoden@users.sf.net>
Wed, 21 Oct 2015 17:59:30 +0000 (21 19:59 +0200)
committerSteffen (Daode) Nurpmeso <steffen@sdaoden.eu>
Thu, 15 Sep 2016 13:56:40 +0000 (15 15:56 +0200)
treefecd22a474d810a2820aef2e6d0f2f5341172acc
parent4a812d7ab8faf67b6eaebd0f7a077335e3347c03
Drop IS_TTY_SESSION(), pimp OPT_INTERACTIVE..

It doesn't make sense what we do.  Even though it may sometimes be
nice to be able to say

  $ s-nail | less

it is obvious that the above shouldn't count as an interactive
session, not only, but especially regarding our weak (sub)process
(group) and terminal handling.

Therefore simply require "STDIN=TTY + STDOUT=TTY == INTERACTIVE".

However, we should be much smarter regarding when we allow a PAGER
etc. to be used, which is supposed to be a possibly useful thing in

  $ s-nail -Scrt=0 >LOG 2>&1
auxlily.c
cmd1.c
collect.c
main.c
nail.h