<?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 typewriter in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-typewriter/m-p/3315405#M186414</link>
    <description>Check this thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=85520" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=85520&lt;/A&gt;&lt;BR /&gt;sks</description>
    <pubDate>Fri, 25 Jun 2004 06:19:28 GMT</pubDate>
    <dc:creator>Sanjay Kumar Suri</dc:creator>
    <dc:date>2004-06-25T06:19:28Z</dc:date>
    <item>
      <title>stty : not typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-typewriter/m-p/3315402#M186411</link>
      <description>When I run certain scripts as cron job, I get an email with the following line a top&lt;BR /&gt;stty :: not typewriter . Has anyone seen this and could you suggest any fixes please ?&lt;BR /&gt;Many thnaks</description>
      <pubDate>Fri, 25 Jun 2004 06:15:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-typewriter/m-p/3315402#M186411</guid>
      <dc:creator>Massimo_37</dc:creator>
      <dc:date>2004-06-25T06:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: stty : not typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-typewriter/m-p/3315403#M186412</link>
      <description>I think it is just a warning ... does it , Is it due to the script being interactive .. ?&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Fri, 25 Jun 2004 06:18:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-typewriter/m-p/3315403#M186412</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2004-06-25T06:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: stty : not typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-typewriter/m-p/3315404#M186413</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;this is very common:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=35433" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=35433&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;read what the master, James has to say.&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Fri, 25 Jun 2004 06:19:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-typewriter/m-p/3315404#M186413</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2004-06-25T06:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: stty : not typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-typewriter/m-p/3315405#M186414</link>
      <description>Check this thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=85520" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=85520&lt;/A&gt;&lt;BR /&gt;sks</description>
      <pubDate>Fri, 25 Jun 2004 06:19:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-typewriter/m-p/3315405#M186414</guid>
      <dc:creator>Sanjay Kumar Suri</dc:creator>
      <dc:date>2004-06-25T06:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: stty : not typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-typewriter/m-p/3315406#M186415</link>
      <description>It basically means you don't have a tty attached (as in an interactive session).  It's the "stty" commands in your .profile that are complaining.  Basically it means: -&lt;BR /&gt;&lt;BR /&gt;"how can i configure what keys do what if you haven't got a keyboard!!"&lt;BR /&gt;&lt;BR /&gt;When seen through cron, these errors can happily be ignored.  If you really don't want to see them, redirect output to /dev/null</description>
      <pubDate>Fri, 25 Jun 2004 06:21:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-typewriter/m-p/3315406#M186415</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2004-06-25T06:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: stty : not typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-typewriter/m-p/3315407#M186416</link>
      <description>This is the script that I think causes problem:&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh                                                                                                                                                       tty -s                                                                          if [ "$?" != "0" ]                                                              then                                                                                . /etc/profile                                                              fi                                                            exp FILE=/disc5/Exports/Full_Prod0.dmp GRANTS=Y CONSTRAINTS=Y FULL=Y USERID=system/passwd                                                                                                                                                 exit 0   &lt;BR /&gt;&lt;BR /&gt;                                         And in /etc/profile I have&lt;BR /&gt;  tty -s                                        istty=$?                                      [ "$istty" = "0" ] &amp;amp;&amp;amp; trap "echo logout" 0                                                                                                                                   Coul you please suggest wether there is any way of rewriting this which will get rid of my error -                                                          ~</description>
      <pubDate>Fri, 25 Jun 2004 06:48:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-typewriter/m-p/3315407#M186416</guid>
      <dc:creator>Massimo_37</dc:creator>
      <dc:date>2004-06-25T06:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: stty : not typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-typewriter/m-p/3315408#M186417</link>
      <description>Create a resource file, separate from your profile,&lt;BR /&gt;that contains all your common environment variable that&lt;BR /&gt;your scripts need. Source *that*, and quit sourcing the profile.&lt;BR /&gt;&lt;BR /&gt;Either that, or rewrite the profile so that stty command&lt;BR /&gt;execution is conditional on being sourced via tty.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Jun 2004 07:05:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-typewriter/m-p/3315408#M186417</guid>
      <dc:creator>Chris Watkins_1</dc:creator>
      <dc:date>2004-06-25T07:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: stty : not typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-typewriter/m-p/3315409#M186418</link>
      <description>Thank you all- I changed profile to&lt;BR /&gt;  tty -s                                [ "$?" = "0" ] &amp;amp;&amp;amp; stty erase '^?'   &lt;BR /&gt;and it is okay now&lt;BR /&gt;Many Thanks</description>
      <pubDate>Fri, 25 Jun 2004 08:17:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-not-typewriter/m-p/3315409#M186418</guid>
      <dc:creator>Massimo_37</dc:creator>
      <dc:date>2004-06-25T08:17:16Z</dc:date>
    </item>
  </channel>
</rss>

