<?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: stty::not a typewriter in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852000#M275097</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;just better: change the statement&lt;BR /&gt;if [ ! "$VUE" ]; then&lt;BR /&gt;to&lt;BR /&gt;if [ ! "$CDE" -o ! -t 1 ]; then&lt;BR /&gt;&lt;BR /&gt;so just every condition, where stdout is not available is caught.&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
    <pubDate>Wed, 30 Aug 2006 07:19:57 GMT</pubDate>
    <dc:creator>Peter Nikitka</dc:creator>
    <dc:date>2006-08-30T07:19:57Z</dc:date>
    <item>
      <title>stty::not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3851993#M275090</link>
      <description>hi get this message everytime when a login using ssh,when i use normal telnet its fine.This happens when there is about 10 users on the system - stty::not a typewriter</description>
      <pubDate>Tue, 29 Aug 2006 01:10:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3851993#M275090</guid>
      <dc:creator>Mohammed_Sirkhot</dc:creator>
      <dc:date>2006-08-29T01:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: stty::not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3851994#M275091</link>
      <description>You have somrthing in profile that expects a erminal, but doesn't get one.&lt;BR /&gt;set -vx in your profile (may be it is in /etc/profile) and check where the message is coming from.</description>
      <pubDate>Tue, 29 Aug 2006 01:19:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3851994#M275091</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2006-08-29T01:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: stty::not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3851995#M275092</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Guess the below ulr should answer your query..&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=891850&amp;amp;admit=-682735245+1156832713212+28353475" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=891850&amp;amp;admit=-682735245+1156832713212+28353475&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Prashanth</description>
      <pubDate>Tue, 29 Aug 2006 01:27:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3851995#M275092</guid>
      <dc:creator>Prashanth.D.S</dc:creator>
      <dc:date>2006-08-29T01:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: stty::not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3851996#M275093</link>
      <description>attached is my profile&lt;BR /&gt;&lt;BR /&gt; @(#)B.11.11_LR     &lt;BR /&gt;&lt;BR /&gt;# Default (example of) system-wide profile file (/usr/bin/sh initialization).&lt;BR /&gt;# This should be kept to the bare minimum every user needs.&lt;BR /&gt;&lt;BR /&gt;# Ignore HUP, INT, QUIT now.&lt;BR /&gt;&lt;BR /&gt;        trap "" 1 2 3&lt;BR /&gt;&lt;BR /&gt;# Set the default paths - Do NOT modify these.&lt;BR /&gt;# Modify the variables through /etc/PATH and /etc/MANPATH &lt;BR /&gt;&lt;BR /&gt;        PATH=/usr/bin:/usr/ccs/bin:/usr/contrib/bin &lt;BR /&gt;        MANPATH=/usr/share/man:/usr/contrib/man:/usr/local/man&lt;BR /&gt;&lt;BR /&gt;# Insure PATH contains either /usr/bin or /sbin (if /usr/bin is not available).&lt;BR /&gt;&lt;BR /&gt;        if [ ! -d /usr/sbin ]&lt;BR /&gt;        then&lt;BR /&gt;                PATH=$PATH:/sbin&lt;BR /&gt;&lt;BR /&gt;        else    if [ -r /etc/PATH ]&lt;BR /&gt;                then&lt;BR /&gt;&lt;BR /&gt;                # Insure that $PATH includes /usr/bin .  If /usr/bin is &lt;BR /&gt;                # present in /etc/PATH then $PATH is set to the contents &lt;BR /&gt;                # of /etc/PATH.  Otherwise, add the contents of /etc/PATH &lt;BR /&gt;                # to the end of the default $PATH definition above.&lt;BR /&gt;&lt;BR /&gt;                        grep -q -e "^/usr/bin$" -e "^/usr/bin:" -e ":/usr/bin:"\&lt;BR /&gt;                                -e ":/usr/bin$" /etc/PATH&lt;BR /&gt;                        if [ $? -eq 0 ]&lt;BR /&gt;                        then&lt;BR /&gt;                                PATH=`cat /etc/PATH`&lt;BR /&gt;                        else&lt;BR /&gt;                                PATH=$PATH:`cat /etc/PATH`&lt;BR /&gt;                        fi&lt;BR /&gt;                fi&lt;BR /&gt;        fi&lt;BR /&gt;&lt;BR /&gt;        export PATH&lt;BR /&gt;&lt;BR /&gt;# Set MANPATH to the contents of /etc/MANPATH, if it exists.&lt;BR /&gt;&lt;BR /&gt;        if [ -r /etc/MANPATH ]&lt;BR /&gt;        then&lt;BR /&gt;                MANPATH=`cat /etc/MANPATH`&lt;BR /&gt;        fi&lt;BR /&gt;&lt;BR /&gt;        export MANPATH&lt;BR /&gt;&lt;BR /&gt;# Set the TIMEZONE&lt;BR /&gt;&lt;BR /&gt;        if [ -r /etc/TIMEZONE ]&lt;BR /&gt;        then&lt;BR /&gt;           . /etc/TIMEZONE&lt;BR /&gt;        else&lt;BR /&gt;            TZ=MST7MDT               # change this for local time.  &lt;BR /&gt;            export TZ&lt;BR /&gt;        fi&lt;BR /&gt;&lt;BR /&gt;# Be sure that VUE does not invoke tty commands&lt;BR /&gt;&lt;BR /&gt;   if [ ! "$VUE" ]; then&lt;BR /&gt;&lt;BR /&gt;   # set term if it's not set&lt;BR /&gt;&lt;BR /&gt;        if [ "$TERM" = "" -o "$TERM" = "unknown" -o "$TERM" = "dialup"  \&lt;BR /&gt;             -o "$TERM" = "network" ]&lt;BR /&gt;        then&lt;BR /&gt;                eval `ttytype -s -a`&lt;BR /&gt;        fi&lt;BR /&gt;&lt;BR /&gt;        export TERM&lt;BR /&gt;&lt;BR /&gt;   # set erase to ^H, if ERASE is not set&lt;BR /&gt;        if [ "$ERASE" = "" ]&lt;BR /&gt;        then&lt;BR /&gt;                ERASE="^H"&lt;BR /&gt;                export ERASE&lt;BR /&gt;        fi&lt;BR /&gt;        stty erase $ERASE&lt;BR /&gt;&lt;BR /&gt;   # Set up shell environment:&lt;BR /&gt;&lt;BR /&gt;        trap "echo logout" 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   # This is to meet legal requirements...&lt;BR /&gt;&lt;BR /&gt;        cat /etc/copyright&lt;BR /&gt;&lt;BR /&gt;   # Message of the day&lt;BR /&gt;&lt;BR /&gt;        if [ -r /etc/motd ]&lt;BR /&gt;        then&lt;BR /&gt;                cat /etc/motd&lt;BR /&gt;        fi&lt;BR /&gt;&lt;BR /&gt;   # Notify if there is mail&lt;BR /&gt;&lt;BR /&gt;        if [ -f /usr/bin/mail ]&lt;BR /&gt;        then&lt;BR /&gt;                if mail -e&lt;BR /&gt;                then    echo "You have mail."&lt;BR /&gt;                fi&lt;BR /&gt;        fi&lt;BR /&gt;&lt;BR /&gt;   # Notify if there is news&lt;BR /&gt;&lt;BR /&gt;        if [ -f /usr/bin/news ]&lt;BR /&gt;        then news -n&lt;BR /&gt;        fi&lt;BR /&gt;&lt;BR /&gt;   # Change the backup tape&lt;BR /&gt;&lt;BR /&gt;        if [ -r /tmp/changetape ]&lt;BR /&gt;        then    echo "\007\nYou are the first to log in since backup:"&lt;BR /&gt;                echo "Please change the backup tape.\n"&lt;BR /&gt;                rm -f /tmp/changetape&lt;BR /&gt;        fi&lt;BR /&gt;&lt;BR /&gt;   fi                                           # if !VUE&lt;BR /&gt;&lt;BR /&gt;# Leave defaults in user environment.&lt;BR /&gt;&lt;BR /&gt;   trap 1 2 3&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Aug 2006 02:17:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3851996#M275093</guid>
      <dc:creator>Mohammed_Sirkhot</dc:creator>
      <dc:date>2006-08-29T02:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: stty::not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3851997#M275094</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;change the statement&lt;BR /&gt; if [ ! "$VUE" ]; then&lt;BR /&gt;to&lt;BR /&gt; if [ ! "$CDE" ]; then&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Wed, 30 Aug 2006 06:08:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3851997#M275094</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-08-30T06:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: stty::not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3851998#M275095</link>
      <description>hi i am still getting the error messages.&lt;BR /&gt;After i have commented out the vue line.&lt;BR /&gt;As soon as i login the error message "ttytype: couldn't open /dev/tty for reading&lt;BR /&gt;                                           stty: : Not a typewriter&lt;BR /&gt;&lt;BR /&gt;above appears &amp;amp; the entire screen is scrambled&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Aug 2006 06:45:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3851998#M275095</guid>
      <dc:creator>Mohammed_Sirkhot</dc:creator>
      <dc:date>2006-08-30T06:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: stty::not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3851999#M275096</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=72142" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=72142&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=891850" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=891850&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;rgs,&lt;BR /&gt;&lt;BR /&gt;rariasn</description>
      <pubDate>Wed, 30 Aug 2006 07:00:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3851999#M275096</guid>
      <dc:creator>rariasn</dc:creator>
      <dc:date>2006-08-30T07:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: stty::not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852000#M275097</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;just better: change the statement&lt;BR /&gt;if [ ! "$VUE" ]; then&lt;BR /&gt;to&lt;BR /&gt;if [ ! "$CDE" -o ! -t 1 ]; then&lt;BR /&gt;&lt;BR /&gt;so just every condition, where stdout is not available is caught.&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Wed, 30 Aug 2006 07:19:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852000#M275097</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-08-30T07:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: stty::not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852001#M275098</link>
      <description>The problem is that when you use ssh, somehow there is no terminal assigned to your session. You can verify this with the tty command. It should report something like this:&lt;BR /&gt; &lt;BR /&gt;$ tty&lt;BR /&gt;/dev/pts/ta&lt;BR /&gt; &lt;BR /&gt;If instead you get something like "not a pty" then your login is non-standard. Are you running ssh similar to remsh, that is, simply running a remote or batch command and not an interactive session with a shell prompt?&lt;BR /&gt; &lt;BR /&gt;If so, that is the problem. There are several commands in your profiles that require a 'real' terminal. Among these are:&lt;BR /&gt; &lt;BR /&gt;stty ttytype tset tput tabs&lt;BR /&gt; &lt;BR /&gt;All of them will report "not a typewriter" when you are connected in batch mode. Now this is a common error because cron jobs and other batch or background jobs that perform a profile'd login will not have a tty/pty device. And the fix is to always protect these terminal-only commands:&lt;BR /&gt; &lt;BR /&gt;if tty -s&lt;BR /&gt;then&lt;BR /&gt;  ttytype -s  &lt;BR /&gt;  stty ...&lt;BR /&gt;  tabs ...&lt;BR /&gt;fi&lt;BR /&gt; &lt;BR /&gt;Now if this conditin exists only when more than 10 users on the system, I would suspect that your maximum pty/tty kernel parameter does not match your device files, or someone has removed one or more of these files. To fix this, run SAM and change the 3 parameters:&lt;BR /&gt; &lt;BR /&gt;npty nstrtel nstrpty&lt;BR /&gt; &lt;BR /&gt;all equal to 70 or so (actual number depends on the maximum number of connections you expect in the future). SAM will change the parameter and also repair the device files.</description>
      <pubDate>Wed, 30 Aug 2006 07:22:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852001#M275098</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-08-30T07:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: stty::not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852002#M275099</link>
      <description>gwsae02:moe:/users2/BAK # echo $tty&lt;BR /&gt;sh: tty: Parameter not set.&lt;BR /&gt;gwsae02:moe:/users2/BAK # $tty &lt;BR /&gt;sh: tty: Parameter not set.&lt;BR /&gt;&lt;BR /&gt;Thats the output..&lt;BR /&gt;&lt;BR /&gt;Will check the kernel settings</description>
      <pubDate>Wed, 30 Aug 2006 07:31:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852002#M275099</guid>
      <dc:creator>Mohammed_Sirkhot</dc:creator>
      <dc:date>2006-08-30T07:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: stty::not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852003#M275100</link>
      <description>Can't do a kernel change it requires a reboot,my server has not be booted in a long time 2:38pm  up 479 days,  9:58,  9 users.&lt;BR /&gt;&lt;BR /&gt;The kernel figures are all on 60.I have about 100 cron jobs running,most would be averaging around 30 at atime</description>
      <pubDate>Wed, 30 Aug 2006 07:39:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852003#M275100</guid>
      <dc:creator>Mohammed_Sirkhot</dc:creator>
      <dc:date>2006-08-30T07:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: stty::not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852004#M275101</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;just call the tty command, no $ in front!&lt;BR /&gt;&lt;BR /&gt;tty&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Wed, 30 Aug 2006 08:21:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852004#M275101</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-08-30T08:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: stty::not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852005#M275102</link>
      <description>Silly me &lt;BR /&gt;&lt;BR /&gt;get a response&lt;BR /&gt;/dev/pts/21</description>
      <pubDate>Wed, 30 Aug 2006 08:51:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852005#M275102</guid>
      <dc:creator>Mohammed_Sirkhot</dc:creator>
      <dc:date>2006-08-30T08:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: stty::not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852006#M275103</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;so now try =my corrected= entry in .profile:&lt;BR /&gt;&lt;BR /&gt;if [ ! "$CDE" -a -t 1 ]; then&lt;BR /&gt;...&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Wed, 30 Aug 2006 12:31:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852006#M275103</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-08-30T12:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: stty::not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852007#M275104</link>
      <description>Hi Peter,&lt;BR /&gt;&lt;BR /&gt;Even I'm facing the same problem as well. When I manually inserting incidents for a particular message through java consolve the OVO is throwing an error; please check the attachment for ur refernce.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Rama</description>
      <pubDate>Sun, 24 Jun 2007 12:39:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852007#M275104</guid>
      <dc:creator>Ram_31</dc:creator>
      <dc:date>2007-06-24T12:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: stty::not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852008#M275105</link>
      <description>I would suggest to check your entries in /etc/inittab for stty and getty entries.&lt;BR /&gt;&lt;BR /&gt;Be carefull while you modify/apply (init q)anything on /etc/inittab as it can casue a reboot.Check if any other critical services are mentioned in the file as thay also may get initialised.</description>
      <pubDate>Sun, 24 Jun 2007 14:47:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852008#M275105</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-06-24T14:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: stty::not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852009#M275106</link>
      <description>what is the OV version?</description>
      <pubDate>Sun, 24 Jun 2007 14:58:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852009#M275106</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-06-24T14:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: stty::not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852010#M275107</link>
      <description>what is the OS version?</description>
      <pubDate>Sun, 24 Jun 2007 14:58:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852010#M275107</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-06-24T14:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: stty::not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852011#M275108</link>
      <description>As mentioned before, you are trying to run /etc/profile and/or .profile in a batch job, perhaps from cron or at. This will also occur when you use su - oracle, or su - sybase, etc in a batch job.&lt;BR /&gt; &lt;BR /&gt;Standard profiles are badly written. They are not correctly designed for batch operations. You must protect *all* interactive programs so they do not run if there is no tty device. The code would look like this:&lt;BR /&gt; &lt;BR /&gt;if tty -s&lt;BR /&gt;then&lt;BR /&gt;eval $(ttytype -s)&lt;BR /&gt;stty erase "^H" kill "^U" intr "^C" eof "^D" -parity ixoff&lt;BR /&gt;stty susp \^Z dsusp \^Y&lt;BR /&gt;tput reset&lt;BR /&gt;tabs&lt;BR /&gt;TMOUT=3600&lt;BR /&gt;export HISTFILE=${HISTFILE:-$HOME/.sh_history}&lt;BR /&gt;export HISTSIZE=5000&lt;BR /&gt;DISPLAY=$(who -muR | awk '{print $NF}'):0.0&lt;BR /&gt;fi&lt;BR /&gt; &lt;BR /&gt;This should be implemented for any flavor of Unix.</description>
      <pubDate>Sun, 24 Jun 2007 15:58:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852011#M275108</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-06-24T15:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: stty::not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852012#M275109</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm using OVO 8.x and HP-UX hpus01 B.11.11 U 9000/800 versions.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Rama</description>
      <pubDate>Mon, 25 Jun 2007 02:32:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-a-typewriter/m-p/3852012#M275109</guid>
      <dc:creator>Ram_31</dc:creator>
      <dc:date>2007-06-25T02:32:43Z</dc:date>
    </item>
  </channel>
</rss>

