<?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: not a typewriter in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/not-a-typewriter/m-p/2528936#M867713</link>
    <description>Check in .kshrc for any tty and stty commands. You will find you&lt;BR /&gt;have a few tty and stty in there.&lt;BR /&gt;&lt;BR /&gt;You shouldn't have this type of command in .kshrc, they need to&lt;BR /&gt;be moved to .profile.&lt;BR /&gt;&lt;BR /&gt;1. Removed tty and stty commands from .kshrc and move them to&lt;BR /&gt;   .profile.&lt;BR /&gt;&lt;BR /&gt;2. Log out.&lt;BR /&gt;&lt;BR /&gt;3. Log back in.&lt;BR /&gt;&lt;BR /&gt;4. Run the at command and it should work fine.&lt;BR /&gt;</description>
    <pubDate>Wed, 16 May 2001 07:56:05 GMT</pubDate>
    <dc:creator>eran maor</dc:creator>
    <dc:date>2001-05-16T07:56:05Z</dc:date>
    <item>
      <title>not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-a-typewriter/m-p/2528935#M867712</link>
      <description>Hi All,-&lt;BR /&gt;I get the following mesg when I type the command "mail"&lt;BR /&gt;&lt;BR /&gt;Not a terminal&lt;BR /&gt;stty: : Not a typewriter&lt;BR /&gt;stty: : Not a typewriter&lt;BR /&gt;&lt;BR /&gt;What exactly the error means ?&lt;BR /&gt;Thanks&lt;BR /&gt;Animesh</description>
      <pubDate>Wed, 16 May 2001 07:42:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-a-typewriter/m-p/2528935#M867712</guid>
      <dc:creator>Animesh Chakraborty</dc:creator>
      <dc:date>2001-05-16T07:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-a-typewriter/m-p/2528936#M867713</link>
      <description>Check in .kshrc for any tty and stty commands. You will find you&lt;BR /&gt;have a few tty and stty in there.&lt;BR /&gt;&lt;BR /&gt;You shouldn't have this type of command in .kshrc, they need to&lt;BR /&gt;be moved to .profile.&lt;BR /&gt;&lt;BR /&gt;1. Removed tty and stty commands from .kshrc and move them to&lt;BR /&gt;   .profile.&lt;BR /&gt;&lt;BR /&gt;2. Log out.&lt;BR /&gt;&lt;BR /&gt;3. Log back in.&lt;BR /&gt;&lt;BR /&gt;4. Run the at command and it should work fine.&lt;BR /&gt;</description>
      <pubDate>Wed, 16 May 2001 07:56:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-a-typewriter/m-p/2528936#M867713</guid>
      <dc:creator>eran maor</dc:creator>
      <dc:date>2001-05-16T07:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-a-typewriter/m-p/2528937#M867714</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;This sort of message normally comes when a .profile is executed in background and the stty command does not link to a physical tty.&lt;BR /&gt;&lt;BR /&gt;There should be a check in a .profile not to execute the tty specific commands in background.&lt;BR /&gt;&lt;BR /&gt;example&lt;BR /&gt; mytty=$(tty)&lt;BR /&gt;  if [ "$mytty" = "not a tty" ]; then&lt;BR /&gt;    echo not terminal &amp;gt; /dev/null&lt;BR /&gt;  else&lt;BR /&gt;#&lt;BR /&gt;# commands and environment variables not appropriate for desktop&lt;BR /&gt;#&lt;BR /&gt;# Set up the terminal:&lt;BR /&gt;        if [ "$TERM" = "" ]&lt;BR /&gt;        then&lt;BR /&gt;                eval ` tset -s -Q -m ':?hp' `&lt;BR /&gt;        else&lt;BR /&gt;                eval ` tset -s -Q `&lt;BR /&gt;        fi&lt;BR /&gt;stty "1500:5:b70:3b:0:3:1c:8:15:4:0:0:0:1500:5:b70:3b:3:1c:8:15:4:0:0:0:ff:ff:f&lt;BR /&gt;f:4:0:1a:11:13:0:0:1a:0:0:18:50"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You should check that mail has not been aliased by a whence mail &lt;BR /&gt;&lt;BR /&gt;Normal&lt;BR /&gt;&amp;gt;whence mail&lt;BR /&gt;/usr/bin/mail&lt;BR /&gt;&lt;BR /&gt;alias it&lt;BR /&gt;&lt;BR /&gt;&amp;gt;alias mail="ps -ef"&lt;BR /&gt;&amp;gt;whence mail&lt;BR /&gt;ps -ef&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;However please note that the message you see is in no way damaging.&lt;BR /&gt;&lt;BR /&gt;                regards&lt;BR /&gt;&lt;BR /&gt;                 Steve Steel</description>
      <pubDate>Wed, 16 May 2001 07:56:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-a-typewriter/m-p/2528937#M867714</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2001-05-16T07:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: not a typewriter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-a-typewriter/m-p/2528938#M867715</link>
      <description>Best bet is that you have a stty command in your .kshrc file and it is&lt;BR /&gt;getting executed every time you startup a shell, including the vi escape.&lt;BR /&gt;Possible fix is "test -t &amp;amp;&amp;amp; stty erase ^H".&lt;BR /&gt;</description>
      <pubDate>Wed, 16 May 2001 10:29:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-a-typewriter/m-p/2528938#M867715</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-05-16T10:29:10Z</dc:date>
    </item>
  </channel>
</rss>

