<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ttytype: couldn't open /dev/tty for reading | stty: : Not a typewriter in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6291045#M496345</link>
    <description>&lt;P&gt;&amp;gt;Now how can we resolve this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What issue?&amp;nbsp; Your original one?&amp;nbsp; Bill and I already told you how to do it.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Dec 2013 10:17:28 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2013-12-02T10:17:28Z</dc:date>
    <item>
      <title>ttytype: couldn't open /dev/tty for reading  |  stty: : Not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6243891#M496327</link>
      <description>&lt;P&gt;Hello Expert,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am getting below error when using crontab jobs. Please help me to fix this issue.&lt;/P&gt;
&lt;P&gt;I am using Hp-UX 11.23.... The cron job was running fine from past many days suddenly from 1 weeks this error start coming&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;shutdown the PROD Instance for 20-10-2013&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sun Oct 20 23:59:00 WAT 2013&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ttytype: couldn't open /dev/tty for reading&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;stty: : Not a typewriter&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;(c)Copyright 1983-2003 Hewlett-Packard Development Company, L.P.&lt;/P&gt;
&lt;P&gt;(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California (c)Copyright 1980, 1984, 1986 Novell, Inc.&lt;/P&gt;
&lt;P&gt;(c)Copyright 1986-2000 Sun Microsystems, Inc.&lt;/P&gt;
&lt;P&gt;(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology (c)Copyright 1989-1993&amp;nbsp; The Open Software Foundation, Inc.&lt;/P&gt;
&lt;P&gt;(c)Copyright 1990 Motorola, Inc.&lt;/P&gt;
&lt;P&gt;(c)Copyright 1990, 1991, 1992 Cornell University (c)Copyright 1989-1991 The University of Maryland (c)Copyright 1988 Carnegie Mellon University (c)Copyright 1991-2003 Mentat Inc.&lt;/P&gt;
&lt;P&gt;(c)Copyright 1996 Morning Star Technologies, Inc.&lt;/P&gt;
&lt;P&gt;(c)Copyright 1996 Progressive Systems, Inc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause in DFARS 252.227-7013.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hewlett-Packard Company&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3000 Hanover Street&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Palo Alto, CA 94304 U.S.A.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rights for non-DOD U.S. Government Departments and Agencies are as set forth in FAR 52.227-19(c)(1,2).&lt;/P&gt;
&lt;P&gt;Not a terminal&lt;/P&gt;
&lt;P&gt;stty: : Not a typewriter&lt;/P&gt;
&lt;P&gt;stty: : Not a typewriter&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are running addlnctl.sh version 115.7&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Logfile: /u01/proddb/9.2.0/appsutil/log/PROD_gfhdbp/addlnctl.txt&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Shutting down listener process prod ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;addlnctl.sh: exiting with status 0&lt;/P&gt;
&lt;P&gt;logout&lt;/P&gt;
&lt;P&gt;ttytype: couldn't open /dev/tty for reading&lt;/P&gt;
&lt;P&gt;stty: : Not a typewriter&lt;/P&gt;
&lt;P&gt;(c)Copyright 1983-2003 Hewlett-Packard Development Company, L.P.&lt;/P&gt;
&lt;P&gt;(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California (c)Copyright 1980, 1984, 1986 Novell, Inc.&lt;/P&gt;
&lt;P&gt;(c)Copyright 1986-2000 Sun Microsystems, Inc.&lt;/P&gt;
&lt;P&gt;(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology (c)Copyright 1989-1993&amp;nbsp; The Open Software Foundation, Inc.&lt;/P&gt;
&lt;P&gt;(c)Copyright 1990 Motorola, Inc.&lt;/P&gt;
&lt;P&gt;(c)Copyright 1990, 1991, 1992 Cornell University (c)Copyright 1989-1991 The University of Maryland (c)Copyright 1988 Carnegie Mellon University (c)Copyright 1991-2003 Mentat Inc.&lt;/P&gt;
&lt;P&gt;(c)Copyright 1996 Morning Star Technologies, Inc.&lt;/P&gt;
&lt;P&gt;(c)Copyright 1996 Progressive Systems, Inc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause in DFARS 252.227-7013.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hewlett-Packard Company&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3000 Hanover Street&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Palo Alto, CA 94304 U.S.A.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rights for non-DOD U.S. Government Departments and Agencies are as set forth in FAR 52.227-19(c)(1,2).&lt;/P&gt;
&lt;P&gt;Not a terminal&lt;/P&gt;
&lt;P&gt;stty: : Not a typewriter&lt;/P&gt;
&lt;P&gt;stty: : Not a typewriter&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are running addbctl.sh version 115.10&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Shutting down database PROD ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SQL*Plus: Release 9.2.0.7.0 - Production on Sun Oct 20 23:59:01 2013&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Copyright (c) 1982, 2002, Oracle Corporation.&amp;nbsp; All rights reserved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Connected.&lt;/P&gt;
&lt;P&gt;Database closed.&lt;/P&gt;
&lt;P&gt;Database dismounted.&lt;/P&gt;
&lt;P&gt;ORACLE instance shut down.&lt;/P&gt;
&lt;P&gt;Disconnected from Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.7.0 - Production&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;addbctl.sh: exiting with status 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;logout&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*************************************************&lt;/P&gt;
&lt;P&gt;Cron: The previous message is the standard output&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and standard error of one of your crontab commands:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/apps_backup/scripts/shutdown.bic # shuts down the PROD database&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S. This thread has been moevd&amp;nbsp;from HP-UX &amp;gt; Secrity to languages. - Hp Forum Moderator&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2013 01:37:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6243891#M496327</guid>
      <dc:creator>Syedfurquan</dc:creator>
      <dc:date>2013-10-23T01:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: ttytype: couldn't open /dev/tty for reading  |  stty: : Not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6244387#M496328</link>
      <description>&lt;P&gt;As with all profiles supplied by HP, they are not suitable for batch jobs. *Every* /etc/profile and *every* .profile needs to be modified to bypass interactive commands, that is, any command that requires a connected terminal. &amp;nbsp;Some of the commands are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ttytype&lt;/P&gt;&lt;P&gt;tabs&lt;/P&gt;&lt;P&gt;stty&lt;/P&gt;&lt;P&gt;tset&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And there are other profile commands that are simply not used in batch mode such as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;news&lt;/P&gt;&lt;P&gt;mail&lt;/P&gt;&lt;P&gt;cat /etc/motd&lt;/P&gt;&lt;P&gt;MANPATH=&lt;/P&gt;&lt;P&gt;cat /etc/copyright&lt;/P&gt;&lt;P&gt;changetape&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the first step is to determine what has been customized in your profiles:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;diff /etc/profile /usr/newconfig/etc/profile
diff &amp;lt;root's $HOME&amp;gt;.profile /usr/newconfig/.profile
diff /etc/skel/.profile /usr/newconfig/etc/skel/.profile&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;Save these differences so you can add them back to the revised profiles.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FIRST: Replace /etc/profile with this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;## /etc/profile&lt;BR /&gt;&lt;BR /&gt;## Handle interactive/terminal sessions here
  if tty -s
  then
     trap "" 1 2 3
     eval $(ttytype -s) # ID the terminal
     export ERASE="^H" # Fix backspace
     LINES=${LINES:-""}    # preset to "" if undefined (GSP/MP/iLO)
     COLUMNS=${COLUMNS:-""}
     if [[ "$LINES" = "" || "$COLUMNS" = "" ]]
     then
       eval $(resize)     # terminal ID is not clean - fixup with resize
       [[ "$LINES" = "" ]] &amp;amp;&amp;amp; LINES=24    # failsafe assignment
       [[ "$COLUMNS" = "" ]] &amp;amp;&amp;amp; COLUMNS=80
     fi
     echo "To read copyright, type: cat /etc/copyright"
     stty erase "^H" kill "^U" intr "^C" eof "^D" -parity ixoff
     stty susp \^Z dsusp \^Y
     tabs
     echo "$(tput rmln)$(tput sgr0)\c"  # Turn off labels
     HN=$(hostname)
     HN=${HN%%.*}   # simple hostname, no FQDN
     [[ $(id -u) -eq 0 ]] &amp;amp;&amp;amp; TAG="#" || TAG="$"
# PS1 shows lowest 2 directories only
     export PS1='$HN ${PWD##${PWD%/*/*}/} $TAG '
     [[ -r /etc/MANPATH ]] &amp;amp;&amp;amp;
        MANPATH=$(cat /etc/MANPATH) ||
        MANPATH=/usr/share/man:/usr/contrib/man:/usr/local/man
     trap 1 2 3
## end of interactive
 fi

## Setup common items here

 if [[ ! -d /usr/sbin ]]
 then
    PATH=$PATH:/sbin
 elif [[ -r /etc/PATH ]]
 then
#  Insure that $PATH includes /usr/bin
   [[ $(grep -c -e "^/usr/bin$" \
             -e "^/usr/bin:" \
             -e ":/usr/bin:" \
             -e ":/usr/bin$" \
      /etc/PATH) -eq 0 ]] &amp;amp;&amp;amp;
     PATH=`cat /etc/PATH` ||
     PATH=$PATH:$(cat /etc/PATH)
 fi&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Then add your custom code from the old /etc/profile such as extra PATH values, and sourcing application variables. Be sure to remove any obsolete code such as TERM=vt100. The above code handles the TERM settings for any common terminal or terminal emulator.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;As far as your&lt;SPAN class="apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;.profile&lt;/SPAN&gt;&lt;/STRONG&gt;, you can replace all the code with just code specific to the user's login. Things unique to a specific user might be aliases and additional PATH settings.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2013 17:17:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6244387#M496328</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2013-10-22T17:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: ttytype: couldn't open /dev/tty for reading  |  stty: : Not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6249053#M496329</link>
      <description>&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following command didn't gave any o/p&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# diff /etc/profile /usr/newconfig/etc/profile&lt;BR /&gt;# diff /etc/skel/.profile /usr/newconfig/etc/skel/.profile&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then as per your suggestion I tried to edit the /etc/profile with the provided script from you&amp;nbsp;in the&amp;nbsp;above post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After editing the /etc/profile still getting the same error. Attaching error logs, /etc/profile o/p and .profile o/p for your reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't done anything to .profile till now&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyhelp how to fix this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Syed&lt;/P&gt;</description>
      <pubDate>Sun, 27 Oct 2013 06:00:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6249053#M496329</guid>
      <dc:creator>Syedfurquan</dc:creator>
      <dc:date>2013-10-27T06:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: ttytype: couldn't open /dev/tty for reading  |  stty: : Not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6249111#M496330</link>
      <description>&lt;P&gt;&amp;gt;After editing the /etc/profile still getting the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're .profile is still broken.&amp;nbsp; Though Bill didn't mention how to fix it.&lt;/P&gt;&lt;P&gt;This is what's broken:&lt;/P&gt;&lt;P&gt;# Be sure that VUE does not invoke tty commands&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if [ ! "$VUE" ]; then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; # Set up the terminal:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Probably the simplest fix is:&lt;/P&gt;&lt;P&gt;if [ ! "$VUE" ] &amp;amp;&amp;amp; tty -s; then&lt;/P&gt;</description>
      <pubDate>Sun, 27 Oct 2013 06:54:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6249111#M496330</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2013-10-27T06:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: ttytype: couldn't open /dev/tty for reading  |  stty: : Not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6249169#M496331</link>
      <description>&lt;P&gt;Hi Dennis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help and prompt response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per your suggestion I have edited the .profile and attached it for your confirmation also.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I will monitor my crontab scheduled job runing at midnight everyday&amp;nbsp;to see if still this error is coming. Will keep you posted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Syed&lt;/P&gt;</description>
      <pubDate>Sun, 27 Oct 2013 11:42:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6249169#M496331</guid>
      <dc:creator>Syedfurquan</dc:creator>
      <dc:date>2013-10-27T11:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: ttytype: couldn't open /dev/tty for reading  |  stty: : Not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6250459#M496332</link>
      <description>&lt;P&gt;Hello Expert,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After editing /etc/profile &amp;amp; .profile as per suggestion still getting the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help out to resolve this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attaching the "/etc/profile" &amp;amp; ".prfoile" and "crontab" error. Please help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Syed&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2013 11:36:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6250459#M496332</guid>
      <dc:creator>Syedfurquan</dc:creator>
      <dc:date>2013-10-28T11:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: ttytype: couldn't open /dev/tty for reading  |  stty: : Not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6250909#M496333</link>
      <description>&lt;P&gt;&amp;gt;After editing /etc/profile &amp;amp; .profile as per suggestion still getting the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're going to have to put an echo in each file to see if you are actually getting the error from that file:&lt;/P&gt;&lt;P&gt;&amp;gt;# /etc/profile&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;echo "In /etc/profile" 1&amp;gt;&amp;amp;2&lt;/P&gt;&lt;P&gt;if tty -s&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; .profile:&lt;/P&gt;&lt;P&gt;echo "In ~/.profile" 1&amp;gt;&amp;amp;2&lt;/P&gt;&lt;P&gt;if [ ! "$VUE" ] &amp;amp;&amp;amp; tty -s; then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or add "set -x" to trace execution.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2013 17:47:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6250909#M496333</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2013-10-28T17:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: ttytype: couldn't open /dev/tty for reading  |  stty: : Not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6251233#M496334</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt; The following command didn't gave any o/p&lt;BR /&gt;&amp;gt;&amp;gt; # diff /etc/profile /usr/newconfig/etc/profile&lt;BR /&gt;&amp;gt;&amp;gt; # diff /etc/skel/.profile /usr/newconfig/etc/skel/.profile&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This means that those two files are not modified.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the /etc/skel/.profile may not be the one used for your Oracle task.&lt;BR /&gt;If your cron job logs in as oracle, then run this command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;diff ~oracle/.profile /usr/newconfig/etc/skel/.profile&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No output means that the oracle user's .profile is the standard local profile and needs replacing too. The default .profile is designed only for interactive logins and does not bypass these special commands. Since the example /etc/profile takes care of the terminal setup, move ~oracle/.profile to ~oracle/.profile_old and then put this short .profile in place for oracle:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;# simple .profile (use with new /etc/profile in place)
echo "In $HOME/.profile"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's all you need ASSUMING that the above diff command showed no output.&lt;BR /&gt;However, most Oracle logins need some environment changes so you need to add those differences to this 2 line script. These Oracle environment setups are critical so make sure they are in place.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2013 01:38:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6251233#M496334</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2013-10-29T01:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: ttytype: couldn't open /dev/tty for reading  |  stty: : Not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6253399#M496335</link>
      <description>&lt;P&gt;Hello Dennis &amp;amp; Bill,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for all your continous support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per Dennis suggestions I have edited and added the requested lines in /etc/profile and .profile. Please find the attachment for same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have removed the .profile from /home/oraprod and created a new file with the O/P you provided. I also added teh difference "diff /home/oraprod/.profile&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /usr/newconfig/etc/skel/.profile" and added the same in new .profile.&lt;/P&gt;&lt;P&gt;Attached is the O/p for your response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please confirm if I have edited correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Syed&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2013 12:24:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6253399#M496335</guid>
      <dc:creator>Syedfurquan</dc:creator>
      <dc:date>2013-10-30T12:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: ttytype: couldn't open /dev/tty for reading  |  stty: : Not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6254507#M496336</link>
      <description>&lt;P&gt;No, this isn't correct at all.&lt;BR /&gt;You simply added the old code back into /etc/profile.&lt;/P&gt;&lt;P&gt;Let me explain:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;There are two files used at login.&lt;BR /&gt;They are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/etc/profile&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.profile&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.profile is in the login directory for each user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your problem is with the process running in cron.&lt;BR /&gt;You haven't told us what user is running when the process gets the errors so I have to guess that maybe it is the oracle user, is that correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If true, then .profile is located in the oracle user's home.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again, I have no idea what the home directory might be on your system but it might be /home/oracle /.profile. That is the file that you or a senior system aadministrator must examine to determine what changes have been made. If you attach the user's .profile, perhaps we can figure it out.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2013 01:24:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6254507#M496336</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2013-10-31T01:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: ttytype: couldn't open /dev/tty for reading  |  stty: : Not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6254599#M496337</link>
      <description>&lt;P&gt;&amp;gt;I have edited and added the requested lines in /etc/profile and .profile.&lt;/P&gt;&lt;P&gt;&amp;gt;echo "In ~/.profile" 1&amp;gt;&amp;amp;2&lt;/P&gt;&lt;P&gt;&amp;gt;if [ ! "$VUE" ] &amp;amp;&amp;amp; tty -s; then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;echo "In /etc/profile" 1&amp;gt;&amp;amp;2&lt;/P&gt;&lt;P&gt;&amp;gt;if tty -s&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Leave out that "if".&amp;nbsp; I only had that to show you where to put that echo.&amp;nbsp; Move the echo up in both files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;su - oraprod -c 'sh /u01/proddb/9.2.0/appsutil/scripts/PROD_gfhdbp/addlnctl.sh s top prod'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will cause execution of the profile files (~oraprod/.profile) from your crontab.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2013 03:37:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6254599#M496337</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2013-10-31T03:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: ttytype: couldn't open /dev/tty for reading  |  stty: : Not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6255351#M496338</link>
      <description>&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks I have confused you with my uploaded O/P. Here I am trying to explain you below what I actually did&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# diff /home/oraprod/.profile /usr/newconfig/etc/skel/.profile&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;27,29d26&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt; #. /u01/proddb/9.2.0/PROD_gfhdbp.env&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt; . /home/oraprod/9i_profile&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The user used to run the crontab is "oraprod" and I have edited its .profile as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;&lt;STRIKE&gt;Original .profile of oraprod&amp;nbsp;is in&amp;nbsp;/home/oraprod/.profile&lt;/STRIKE&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# &lt;STRONG&gt;more /home/oraprod/.profile&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# @(#)B11.23_LR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Default user .profile file (/usr/bin/sh initialization).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Set up the terminal:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if [ "$TERM" = "" ]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; eval ` tset -s -Q -m ':?hp' `&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; eval ` tset -s -Q `&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stty erase "^H" kill "^U" intr "^C" eof "^D"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stty hupcl ixon ixoff&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tabs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Set up the search paths:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PATH=$PATH:.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Set up the shell environment:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set -u&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trap "echo 'logout'" 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...skipping...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# @(#)B11.23_LR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Default user .profile file (/usr/bin/sh initialization).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Set up the terminal:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if [ "$TERM" = "" ]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; eval ` tset -s -Q -m ':?hp' `&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; eval ` tset -s -Q `&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stty erase "^H" kill "^U" intr "^C" eof "^D"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stty hupcl ixon ixoff&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tabs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Set up the search paths:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PATH=$PATH:.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Set up the shell environment:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set -u&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trap "echo 'logout'" 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Set up the shell variables:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EDITOR=vi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; export EDITOR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#. /u01/proddb/9.2.0/PROD_gfhdbp.env&lt;/P&gt;&lt;P&gt;. /home/oraprod/9i_profile&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edited .profile in /home/oraprod/.profile as per your suggestion below:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# more /home/oraprod/.profile&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;echo "In $HOME/.profile"&lt;/P&gt;&lt;P&gt;#. /u01/proddb/9.2.0/PROD_gfhdbp.env&lt;/P&gt;&lt;P&gt;. /home/oraprod/9i_profile&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if it looks fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi Dennis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per your suggestion I have edited the /etc/profile and .profile as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks to both of you for the support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Syed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2013 14:17:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6255351#M496338</guid>
      <dc:creator>Syedfurquan</dc:creator>
      <dc:date>2013-10-31T14:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: ttytype: couldn't open /dev/tty for reading  |  stty: : Not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6255589#M496339</link>
      <description>&lt;P&gt;&amp;gt;Please let me know if it looks fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't see the changes??&lt;/P&gt;&lt;P&gt;What's in /home/oraprod/9i_profile?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2013 18:01:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6255589#M496339</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2013-10-31T18:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: ttytype: couldn't open /dev/tty for reading  |  stty: : Not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6288947#M496340</link>
      <description>&lt;P&gt;Hello Denis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the late response as I was on a long vacation&amp;nbsp;so couldn't work on this issue.&lt;/P&gt;&lt;P&gt;As requested please find&amp;nbsp; O/p&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#&lt;FONT color="#333399"&gt;more /home/oraprod/9i_profile ORACLE_HOME=/u01/proddb/9.2.0 export ORACLE_HOME&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;ORACLE_SID=PROD export ORACLE_SID&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;PATH=$PATH:$ORACLE_HOME/bin; export PATH&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;PATH=$PATH:$ORACLE_HOME/OPatch; export PATH&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;LD_LIBRARY_PATH=/u01/proddb/9.2.0/lib:/usr/dt/lib:/usr/openwin/lib:/u01/proddb/9.2.0/ctx/lib; export LD_LIBRARY_PATH&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;TNS_ADMIN=/u01/proddb/9.2.0/network/admin/PROD_gfhdbp export TNS_ADMIN&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;I have reverted my /etc/profile and .profiel to teh original as I was getting soem other error after editing .&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Please help.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Attaching /etc/profile and .profile also&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Please help to fix this issue&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;Regards&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2013 08:57:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6288947#M496340</guid>
      <dc:creator>Syedfurquan</dc:creator>
      <dc:date>2013-12-02T08:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: ttytype: couldn't open /dev/tty for reading  |  stty: : Not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6290621#M496341</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;gt;#more /home/oraprod/9i_profile&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;gt;ORACLE_HOME=/u01/proddb/9.2.0 export ORACLE_HOME&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;gt;ORACLE_SID=PROD export ORACLE_SID&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;gt;TNS_ADMIN=/u01/proddb/9.2.0/network/admin/PROD_gfhdbp export TNS_ADMIN&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;FONT color="#000000"&gt;These three lines are missing the semicolon before the export keyword.&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;FONT color="#000000"&gt;If you are using a real shell, you should switch to simpler ksh or POSIX shell export syntax:&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;export ORACLE_HOME=/u01/proddb/9.2.0&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;gt;In /etc/profile&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;/etc/profile[54]: Syntax error: `if' is not matched.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;This is the junk that I mentioned in message #11 to remove:&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;if tty -s&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;gt;In ~/.profile&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;.profile[53]: Syntax error: `then' is not matched&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Same here:&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;if [ ! "$VUE" ] &amp;amp;&amp;amp; tty -s; then&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2013 09:01:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6290621#M496341</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2013-12-02T09:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: ttytype: couldn't open /dev/tty for reading  |  stty: : Not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6290711#M496342</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now after editing "&lt;STRONG&gt;/home/oraprod/9i_profile" &lt;/STRONG&gt;it looks as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# more /home/oraprod/9i_profile&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ORACLE_HOME=/u01/proddb/9.2.0;&lt;/P&gt;&lt;P&gt;export ORACLE_HOME&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ORACLE_SID=PROD;&lt;/P&gt;&lt;P&gt;export ORACLE_SID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PATH=$PATH:$ORACLE_HOME/bin; export PATH&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PATH=$PATH:$ORACLE_HOME/OPatch; export PATH&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LD_LIBRARY_PATH=/u01/proddb/9.2.0/lib:/usr/dt/lib:/usr/openwin/lib:/u01/proddb/9.2.0/ctx/lib;&lt;/P&gt;&lt;P&gt;export LD_LIBRARY_PATH&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TNS_ADMIN=/u01/proddb/9.2.0/network/admin/PROD_gfhdbp;&lt;/P&gt;&lt;P&gt;export TNS_ADMIN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then after that I did&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#333399"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;export ORACLE_HOME=/u01/proddb/9.2.0&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;Is it fine now? As mentioned in my last post I have reverted back my /etc/profile and .profile as old and attached for your reference.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;Regards,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;Syed&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2013 09:15:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6290711#M496342</guid>
      <dc:creator>Syedfurquan</dc:creator>
      <dc:date>2013-12-02T09:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: ttytype: couldn't open /dev/tty for reading  |  stty: : Not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6290845#M496343</link>
      <description>&lt;P&gt;&amp;gt;&lt;FONT color="#333399"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;Is it fine now?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;Well, if you have two lines, you don't need that semicolon.&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;And if you don't get those syntax errors, you should be fine.&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;You can check for syntax errors by:&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;ksh -n file&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;&amp;gt;&lt;FONT color="#333399"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;I have reverted back my /etc/profile and .profile as old&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#000000"&gt;So you don't have any changes that Bill and I have mentioned that use "if tty -s; then" to condition the tty setting blocks?&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2013 09:35:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6290845#M496343</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2013-12-02T09:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: ttytype: couldn't open /dev/tty for reading  |  stty: : Not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6290923#M496344</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;Yes it is in 2 lines&lt;/P&gt;&lt;P&gt;&amp;gt; After reverting to old scripts without semicolon i run teh commands as&lt;/P&gt;&lt;P&gt;&amp;nbsp;#ksh -n /home/oraprod/9i_profile&lt;/P&gt;&lt;P&gt;It came to # prompt without any error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now how can we resolve this issue?&lt;/P&gt;&lt;P&gt;Thanks for all your support and really apprecaite it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2013 09:41:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6290923#M496344</guid>
      <dc:creator>Syedfurquan</dc:creator>
      <dc:date>2013-12-02T09:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: ttytype: couldn't open /dev/tty for reading | stty: : Not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6291045#M496345</link>
      <description>&lt;P&gt;&amp;gt;Now how can we resolve this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What issue?&amp;nbsp; Your original one?&amp;nbsp; Bill and I already told you how to do it.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2013 10:17:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6291045#M496345</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2013-12-02T10:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: ttytype: couldn't open /dev/tty for reading  |  stty: : Not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6291065#M496346</link>
      <description>I tried with the provided steps by you and Bill and that also didn't help me.&lt;BR /&gt;Issue still persist&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Mon, 02 Dec 2013 10:32:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ttytype-couldn-t-open-dev-tty-for-reading-stty-not-a-typewriter/m-p/6291065#M496346</guid>
      <dc:creator>Syedfurquan</dc:creator>
      <dc:date>2013-12-02T10:32:28Z</dc:date>
    </item>
  </channel>
</rss>

