From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 93899 invoked by alias); 7 Jul 2017 13:55:53 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 90360 invoked by uid 89); 7 Jul 2017 13:55:50 -0000 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 Received: from smtp-out-no.shaw.ca (HELO smtp-out-no.shaw.ca) (64.59.134.12) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 07 Jul 2017 13:55:49 +0000 Received: from [192.168.1.100] ([24.64.240.204]) by shaw.ca with SMTP id TTjWdk6CoM9gtTTjXdbG9p; Fri, 07 Jul 2017 07:55:47 -0600 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 Subject: Re: terminal program tty error problem Reply-To: Brian.Inglis@SystematicSw.ab.ca To: cygwin@cygwin.com References: Message-ID: <8f4812b7-362b-c345-e4d6-74193a913440@SystematicSw.ab.ca> Date: Fri, 07 Jul 2017 13:55:00 -0000 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: 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 X-SW-Source: 2017-07/txt/msg00110.txt.bz2 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