public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: terminal program tty error problem
Date: Fri, 07 Jul 2017 13:55:00 -0000	[thread overview]
Message-ID: <8f4812b7-362b-c345-e4d6-74193a913440@SystematicSw.ab.ca> (raw)
In-Reply-To: <D733A44DCB98DB4AB49C9B6F9DE26F350B1B74@mbox01.hideep.com>

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

      reply	other threads:[~2017-07-07 13:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-07  3:29 Michael Jun
2017-07-07  6:49 ` Michael Jun
2017-07-07 13:55   ` Brian Inglis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8f4812b7-362b-c345-e4d6-74193a913440@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).