delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/06/08:22:09

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 6 Nov 2009 14:21:50 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Pseudo-terminal will not be allocated because stdin is not a terminal.
Message-ID: <20091106132150.GJ26344@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1ef5a52f0911060453t726dfc5bwd7793b0346f9eb13 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <1ef5a52f0911060453t726dfc5bwd7793b0346f9eb13@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Nov  6 13:53, Csaba Raduly wrote:
> Hi all,
> I'm about to pack my bags and move from 1.5 to 1.7 (CYGWIN_NT-6.0
> EV0017A4D11749 1.7.0(0.217/5/3) 2009-11-03 15:06 i686 Cygwin) on Vista
> SP1, but one thing got me stumped.
> 
> I log in to different machines (e.g. lab1) via SSH. For this purpose I
> created a number of desktop shortcuts, like this:
> Target: C:\cygwin\bin\run.exe rxvt --geometry 170x60+0+0 -e ssh -Y lab1
> Start in: C:\cygwin\bin
> 
> These work fine.
> 
> So I created a copy of this shortcut and edited it to
> Target: C:\cygwin17\bin\run.exe rxvt --geometry 170x60+0+0 -e ssh -Y lab1
> Start in: C:\cygwin17\bin
> 
> When I double-click the shortcut to 1.7, the rxvt window comes up but
> the above error message (Pseudo-terminal will not be allocated because
> stdin is not a terminal.) is displayed at the top and
> * the prompt does not appear although I can type commands
> * DISPLAY is not set correctly
> * joe does not run (Couldn't load termcap/terminfo entry), necause
> TERM is not set
> * vim displays a warning:
> Vim: Warning: Output is not to a terminal
> Vim: Warning: Input is not from a terminal

I tried this, too, and I can't reproduce it.  Is it possible that,
when you copied the desktop shortcut, you didn't fix the "Start In:"
directory in the shortcut, so that it still points to the Cygwin 1.5
bin directory?  In that case you have different processes running
under different Cygwin DLLs within the same session, which is not
going to work as expected.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019