X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:subject:reply-to:to:references:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=kD6Djs1cc8EgfbEh
	ZKHhNefNHfOlY0dy6SYg8YMMhA4iMESembmvqthUz/rgnb3k4FZsZHErJ1N+dPbQ
	9oA7OUOmj9kXuZla1j5IxiY/zIMZROdB93rCA1/Er0vRXqfrtXpMTBvFCCCaxzb7
	7TzW/V1b/7D2TX9MXQ6FxwAbU1M=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:subject:reply-to:to:references:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=oNFEIK/PvRWOId4qzKPwQ9
	z+fmk=; b=MMnI0PwH3n5ref6vB7fRB/7xENfRStMM8XN1HS/piRH2Xbly/2A9Jp
	8vwoFQI6Y3roNvcsUzrBoA5BFp/1yrljbpKLjs3GsE6t+A70S/3NYBWL15oBpkLm
	eezaMVvXJleyAILjvnAbEAnSIaABQhrTeKId+rz/Fgh3Gi/R9EIBw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=sk:www.fin, shells, sk:wwwfin, UD:php
X-HELO: smtp-out-no.shaw.ca
X-Authority-Analysis: v=2.2 cv=a+JAzQaF c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=Y6VNswmlAAAA:8 a=720CB18wM0986VoWUc8A:9 a=QEXdDO2ut3YA:10 a=mOZDPwaY2sMA:10 a=v0PR-xc4_bf6Jk7RTykk:22
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Subject: Re: terminal program tty error problem
Reply-To: Brian.Inglis@SystematicSw.ab.ca
To: cygwin@cygwin.com
References: <D733A44DCB98DB4AB49C9B6F9DE26F350B1A02@mbox01.hideep.com> <D733A44DCB98DB4AB49C9B6F9DE26F350B1B74@mbox01.hideep.com>
Message-ID: <8f4812b7-362b-c345-e4d6-74193a913440@SystematicSw.ab.ca>
Date: Fri, 7 Jul 2017 07:55:45 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <D733A44DCB98DB4AB49C9B6F9DE26F350B1B74@mbox01.hideep.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4wfBQFGPrw3caudWb9duOfaygdgjWuXu8zVNFH/qtuii++gTXpsOI3Odrv6qosoEAm+6LVOKqev/3sRPr8M6LfaSXPLokfSUItQBNq24gAmpUeMIzLjWqW 3KboeqzhKei0FP+Dxwoa1+FML7GxzgnW7INaGYL8K3Km6If0ImCo8Th8yVsmwijFpv4AsAeAGZIunw==
X-IsSubscribed: yes

On 2017-07-07 00:49, Michael Jun wrote:
> On Friday, July 07, 2017 12:30 PM, Michael Jun wrote:
> When I invoke system terminal programs from gnome/openbox desktop menu, 
> most of them including gnome-terminal produce the following message.
> Warning: no access to tty (Inappropriate ioctl for device).
> Thus no job control in this shell.
> QTerminal and KConsole does not have this symptom.
> What does cause this message and may be cured?
>> Some information has been missed.
>> The "no access to tty" warning message is produced when login shell is
>> tcsh (csh) only. bash shell does not produce the warning message.
>> For tcsh login shell case, QTerminal and KConsole do not have this "no
>> access to tty" problem. But other terminal programs do have this problem.

Check commands issued in your login and Xwindows startup scripts are appropriate
for tcsh e.g. supported redirections, and do not depend on a tty e.g.
if (-t [012]) stty...

>From http://www.finkproject.org/doc/x11/trouble.php:
Warning: no access to tty (Inappropriate ioctl for device).
Thus no job control in this shell.

Class: Mostly harmless. X11 launches an interactive shell behind the scenes to
run your client startup file (.xinitrc). This was done so that you don't have to
add statements to set up PATH in that file. Some shells complain that they're
not connected to a real terminal, but that can be ignored since that shell
instance is not used for anything that requires job control or the like.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
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

