public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* terminal program tty error problem
@ 2017-07-07  3:29 Michael Jun
  2017-07-07  6:49 ` Michael Jun
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Jun @ 2017-07-07  3:29 UTC (permalink / raw)
  To: cygwin

Hello All Cygwiners,

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?

Thank you,

Michael Jun


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: terminal program tty error problem
  2017-07-07  3:29 terminal program tty error problem Michael Jun
@ 2017-07-07  6:49 ` Michael Jun
  2017-07-07 13:55   ` Brian Inglis
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Jun @ 2017-07-07  6:49 UTC (permalink / raw)
  To: cygwin

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.

Best Regards,
Michael Jun

-----Original Message-----
From: Michael Jun 
Sent: Friday, July 07, 2017 12:30 PM
To: 'cygwin@cygwin.com' <cygwin@cygwin.com>
Subject: terminal program tty error problem

Hello All Cygwiners,

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?

Thank you,

Michael Jun


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: terminal program tty error problem
  2017-07-07  6:49 ` Michael Jun
@ 2017-07-07 13:55   ` Brian Inglis
  0 siblings, 0 replies; 3+ messages in thread
From: Brian Inglis @ 2017-07-07 13:55 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-07 13:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-07  3:29 terminal program tty error problem Michael Jun
2017-07-07  6:49 ` Michael Jun
2017-07-07 13:55   ` Brian Inglis

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