[mythtv-commits] Ticket #10090: isatty() not working via ssh, or on OS X?

MythTV noreply at mythtv.org
Wed Oct 12 10:34:17 UTC 2011


#10090: isatty() not working via ssh, or on OS X?
--------------------------------------+------------------------
     Reporter:  nigel                 |      Owner:
         Type:  Bug Report - General  |     Status:  new
     Priority:  minor                 |  Milestone:  unknown
    Component:  MythTV - General      |    Version:  Trunk Head
     Severity:  medium                |   Keywords:
Ticket locked:  0                     |
--------------------------------------+------------------------
 The !FindDatabase() and database schema upgrade code tries to work out if
 it is run from an interactive console, and if so, prompts the user for
 values. Ticket #9174 reported that this no longer works on Mac OS X, but
 it definitely used to work when I wrote the code — I think the failure is
 due to mythbackend's main.cpp now doing this:
 {{{
 ///////////////////////////////////////////////////////////////////////
     // Don't listen to console input
     close(0);
 }}}
 for some reason I don't understand. [[br]]
 Either way, failing to work in an ssh shell is still a problem.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10090>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list