[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pine



On Tue, 20 Apr 1999, Chris Leishman wrote:

   On Tue, Apr 20, 1999 at 01:53:55PM +0200, scratch wrote:

      JHM,
    
      "ssh -t remotehost pine" works just fine! 
     
      Thanks, this is what i call user support :)
   
   Good to see your happy :)
   
   Can anyone possibly explain what is going on here?  Why is the -t
   necessary?  Just for personal interest.

>From the ssh manpage:

 -t    Force pseudo-tty allocation.  This can be used to execute
       arbitary screen-based programs on a remote machine, which can
       be very useful e.g. when implementing menu services.

Otherwise pine would not have the proper stdin/out to work properly
(ie. a terminal):

stdin: is not a tty
stdin: is not a tty
Can't access terminal or input is not a terminal. Redirection of
standard input is not allowed. For example "pine < file" doesn't work.

Dennis
-- 
Dennis Kelly <dpk@egr.msu.edu>
Network Adminstrator
College of Engineering, MSU
353-4844 (phone)
222-5875 (pager)


Reply to: