<?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: At cmd prompt, typing an at sign erases to beginning of line! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/at-cmd-prompt-typing-an-at-sign-erases-to-beginning-of-line/m-p/5574949#M478968</link>
    <description>&lt;P&gt;Matti,&lt;/P&gt;&lt;P&gt;Thank You, Thank You, Thank You!&amp;nbsp; That was the problem; although $TERM was set to vt100.&lt;/P&gt;&lt;P&gt;The .profile in root DID have the stty command but the stty was not in the other user .profile.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again, Lee&lt;/P&gt;</description>
    <pubDate>Tue, 06 Mar 2012 18:25:42 GMT</pubDate>
    <dc:creator>Lee Hallin</dc:creator>
    <dc:date>2012-03-06T18:25:42Z</dc:date>
    <item>
      <title>At cmd prompt, typing an at sign erases to beginning of line!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-cmd-prompt-typing-an-at-sign-erases-to-beginning-of-line/m-p/5573715#M478966</link>
      <description>&lt;P&gt;I have a server running 11i.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One logon (root) works fine..I can type &lt;A target="_blank" href="mailto:username@location"&gt;username@location&lt;/A&gt; with no problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using a different login, if I type username&amp;lt;at-sign&amp;gt;, it INSTANTLY erases what I have typed as soon as I type the &amp;lt;at-sign&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have looked at /etc/password and .profile and both have a&amp;nbsp;modify dates&amp;nbsp;of years ago.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I replaced the contents of .profile with a single echo command.&amp;nbsp; The echo executes but the bad behavior still exists.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on what may be causing this behavior?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, Lee&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2012 23:36:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-cmd-prompt-typing-an-at-sign-erases-to-beginning-of-line/m-p/5573715#M478966</guid>
      <dc:creator>Lee Hallin</dc:creator>
      <dc:date>2012-03-05T23:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: At cmd prompt, typing an at sign erases to beginning of line!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-cmd-prompt-typing-an-at-sign-erases-to-beginning-of-line/m-p/5574191#M478967</link>
      <description>&lt;P&gt;This is a very old behavior, designed back when terminals had a printer instead of a display. A printer terminal cannot (efficiently) erase any previous output, so it needs to have another way of allowing the users to correct their typos. The characters "#" and "@" were the default characters for this purpose: on HP-UX, they are still the kernel default values if terminal type cannot be identified at login time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Run "stty -a". You will most likely see that "@" is currently set as the KILL character: when that character is input, the entire line is erased, just as you've experienced.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may notice that other control characters (mainly INTR and ERASE) are not what you would normally expect, too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might want to check the value of the environment variable $TERM, too: often when stty settings are left to kernel defaults, you'll find that $TERM is set to "dumb" too. You'll want to set it to some value that is a better match to the capabilities of your terminal/emulator.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My own HP-UX .profile usually has this command as a line of defense against possibly badly-maintained global defaults. It will set the terminal control characters to known good values:&lt;/P&gt;&lt;PRE&gt;stty intr ^C kill ^U erase ^? susp ^Z&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Note: depending on how your terminals/terminal emulators are configured, you might want to set the erase character to ^H instead.)&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2012 07:38:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-cmd-prompt-typing-an-at-sign-erases-to-beginning-of-line/m-p/5574191#M478967</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2012-03-06T07:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: At cmd prompt, typing an at sign erases to beginning of line!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-cmd-prompt-typing-an-at-sign-erases-to-beginning-of-line/m-p/5574949#M478968</link>
      <description>&lt;P&gt;Matti,&lt;/P&gt;&lt;P&gt;Thank You, Thank You, Thank You!&amp;nbsp; That was the problem; although $TERM was set to vt100.&lt;/P&gt;&lt;P&gt;The .profile in root DID have the stty command but the stty was not in the other user .profile.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again, Lee&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2012 18:25:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-cmd-prompt-typing-an-at-sign-erases-to-beginning-of-line/m-p/5574949#M478968</guid>
      <dc:creator>Lee Hallin</dc:creator>
      <dc:date>2012-03-06T18:25:42Z</dc:date>
    </item>
  </channel>
</rss>

