<?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 issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-issue/m-p/3493194#M823136</link>
    <description>&lt;BR /&gt;&lt;BR /&gt;With the backspace key, I've noticed that a lot depends on which shell you are running AND the program you are using (eg telnet vs putty).&lt;BR /&gt;&lt;BR /&gt;ie backspace key for a user works from putty, but not from telnet?&lt;BR /&gt;&lt;BR /&gt;Also, the shell makes a difference.  For example, the root user runs the posix shell, but ordinary users use the korn shell.  it seems the posix shell handles backspaces better than the korn shell does.  Why is this?  Is there a way to fix the korn shell so that it maps the backspace key properly (so I don't have to change the default shell for all our users to posix shell)?&lt;BR /&gt;&lt;BR /&gt;for example, if I use the korn shell and telnet from windows, the backspace key doesn't work.  But if I change the shell to posix, then the backspace key works.&lt;BR /&gt;&lt;BR /&gt;If I use putty for ssh, then the backspace key works with either shell though?&lt;BR /&gt;&lt;BR /&gt;Is there a way to get the backspace key working no matter what terminal program you are using (telnet vs putty vs rlogin)?&lt;BR /&gt;&lt;BR /&gt;Ta&lt;BR /&gt;&lt;BR /&gt;- Andy&lt;BR /&gt;</description>
    <pubDate>Mon, 15 Aug 2005 02:07:53 GMT</pubDate>
    <dc:creator>support_5</dc:creator>
    <dc:date>2005-08-15T02:07:53Z</dc:date>
    <item>
      <title>stty issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-issue/m-p/3493186#M823128</link>
      <description>Hi Gurus,&lt;BR /&gt;&lt;BR /&gt;We have a problem with a certain user on one of our systems with when they type the "@" symbol, it deletes all of the line that they were typing on the command line.  &lt;BR /&gt;&lt;BR /&gt;I checked stty -a as this user and see that the following as the probably cause:&lt;BR /&gt;&lt;BR /&gt;kill=@.&lt;BR /&gt;&lt;BR /&gt;This is obviously undesirable and i'm not sure how I go about removing this after looking through the Man Pages.   Can anyone assist?</description>
      <pubDate>Thu, 24 Feb 2005 21:17:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-issue/m-p/3493186#M823128</guid>
      <dc:creator>KPS</dc:creator>
      <dc:date>2005-02-24T21:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: stty issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-issue/m-p/3493187#M823129</link>
      <description>not too familiar with all the functions of stty but here is what I found in the man pages which might help??&lt;BR /&gt;&lt;BR /&gt;MPLES&lt;BR /&gt;The command:&lt;BR /&gt;&lt;BR /&gt;stty kill '^X' intr '^C'&lt;BR /&gt;sets the delete-line character to ^X (Ctrl-X) and the interrupt&lt;BR /&gt;character to ^C.  This command is usually found in the .login or&lt;BR /&gt;.profile file so that ^X and ^C need not be set by the user at each&lt;BR /&gt;login session.&lt;BR /&gt;&lt;BR /&gt;The command:&lt;BR /&gt;&lt;BR /&gt;stty kill '^X' intr '^C' werase '^W' &lt;BR /&gt;sets the default values for the delete-line character to ^X (Ctrl-X),&lt;BR /&gt;the interrupt character to ^C, and the word erase character to ^W.&lt;BR /&gt;Any terminal port opened after this command is issued will see these&lt;BR /&gt;new default values for the kill, intr, and werase control characters.</description>
      <pubDate>Thu, 24 Feb 2005 21:27:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-issue/m-p/3493187#M823129</guid>
      <dc:creator>lawrenzo</dc:creator>
      <dc:date>2005-02-24T21:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: stty issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-issue/m-p/3493188#M823130</link>
      <description>Ken,&lt;BR /&gt;you can set the stty behaviour at login by editing the /etc/profile file and adding&lt;BR /&gt;lawrenzo information.&lt;BR /&gt;Or customise each user in their startup scripts (depending on their shell &lt;BR /&gt;.profile ,.cshrc...)&lt;BR /&gt;&lt;BR /&gt;Just be aware that not all users may use the same terminal type.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Feb 2005 03:19:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-issue/m-p/3493188#M823130</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-02-25T03:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: stty issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-issue/m-p/3493189#M823131</link>
      <description>$stty kill ^U&lt;BR /&gt;&lt;BR /&gt;Also check the profile of this user incase you require this persistent.</description>
      <pubDate>Fri, 25 Feb 2005 03:30:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-issue/m-p/3493189#M823131</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2005-02-25T03:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: stty issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-issue/m-p/3493190#M823132</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;$ stty kill ^U&lt;BR /&gt;&lt;BR /&gt;Should solve your problem. Remeber while ^U is combination of CNTRL key and U key.&lt;BR /&gt;&lt;BR /&gt;Also if you want to set it up for all users better to put it in /etc/profile otherwise you can use individuals .profile file.&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Fri, 25 Feb 2005 03:42:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-issue/m-p/3493190#M823132</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2005-02-25T03:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: stty issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-issue/m-p/3493191#M823133</link>
      <description>Thanks everyone, &lt;BR /&gt;&lt;BR /&gt;Your ideas of putting this fix into the /etc/profile fixed my issues.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;-Ken</description>
      <pubDate>Fri, 25 Feb 2005 16:22:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-issue/m-p/3493191#M823133</guid>
      <dc:creator>KPS</dc:creator>
      <dc:date>2005-02-25T16:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: stty issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-issue/m-p/3493192#M823134</link>
      <description>Hey Ken,&lt;BR /&gt;Define the delete line character to Ctrl-X by doing the following:&lt;BR /&gt;# stty kill ^X&lt;BR /&gt;&lt;BR /&gt;Also, if that doesn't work, try:&lt;BR /&gt;# stty sane&lt;BR /&gt;&lt;BR /&gt;The second one should definitely do it.</description>
      <pubDate>Fri, 25 Feb 2005 16:40:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-issue/m-p/3493192#M823134</guid>
      <dc:creator>Dani Seely</dc:creator>
      <dc:date>2005-02-25T16:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: stty issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-issue/m-p/3493193#M823135</link>
      <description>Sorry, that should fix your immediate problem ... the second problem is preventing this from happening again ...&lt;BR /&gt;&lt;BR /&gt;You should define the delete-line character for all of your users, individually, or better yet, put it in the startup files (edit the profile or login, depending on the shells your users use).  The second is a better way to start, as new users added to the system will not have to have their user startup files changed, however, if they define it in their own startup file it will override the system startup file.&lt;BR /&gt;&lt;BR /&gt;That said, if you have problems after setting this in the system startup file then you will know something got changed with the users startup file.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.  Good luck, ther's no telling what those crazy users will do!</description>
      <pubDate>Fri, 25 Feb 2005 16:47:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-issue/m-p/3493193#M823135</guid>
      <dc:creator>Dani Seely</dc:creator>
      <dc:date>2005-02-25T16:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: stty issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-issue/m-p/3493194#M823136</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;With the backspace key, I've noticed that a lot depends on which shell you are running AND the program you are using (eg telnet vs putty).&lt;BR /&gt;&lt;BR /&gt;ie backspace key for a user works from putty, but not from telnet?&lt;BR /&gt;&lt;BR /&gt;Also, the shell makes a difference.  For example, the root user runs the posix shell, but ordinary users use the korn shell.  it seems the posix shell handles backspaces better than the korn shell does.  Why is this?  Is there a way to fix the korn shell so that it maps the backspace key properly (so I don't have to change the default shell for all our users to posix shell)?&lt;BR /&gt;&lt;BR /&gt;for example, if I use the korn shell and telnet from windows, the backspace key doesn't work.  But if I change the shell to posix, then the backspace key works.&lt;BR /&gt;&lt;BR /&gt;If I use putty for ssh, then the backspace key works with either shell though?&lt;BR /&gt;&lt;BR /&gt;Is there a way to get the backspace key working no matter what terminal program you are using (telnet vs putty vs rlogin)?&lt;BR /&gt;&lt;BR /&gt;Ta&lt;BR /&gt;&lt;BR /&gt;- Andy&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Aug 2005 02:07:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-issue/m-p/3493194#M823136</guid>
      <dc:creator>support_5</dc:creator>
      <dc:date>2005-08-15T02:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: stty issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-issue/m-p/3493195#M823137</link>
      <description>The backspace key is defined first by the terminal and then stty defines it's effect. Why is the terminal important? Because there are HUNDREDS of terminals, each one with potentially difference behavior. To see how many terminals are defined in HP/UX, try this:&lt;BR /&gt; &lt;BR /&gt;ls /usr/lib/terminfo/*&lt;BR /&gt; &lt;BR /&gt;It is quite common for some emulators to default to sending the DEL character when you press the backspace key. Putty, like Hypertermianl, Reflection for HP, QCterm and dozens of termnnal emulators, define what to do with special keys. While you might assume that the backspace key on your terminal or your PC will send the ASCII code 0x08, many emulators default to the Tru64/DEC standard of DEL which is code 0x7f and will sometimes be displayed as ^? via the shell. &lt;BR /&gt; &lt;BR /&gt;While many Unix users assume that all terminals are VT100, this is far from the case and a PC is not a terminal!! A PC can be used as a terminal by running a special program which may or may not be a true vt100 emulation. To understand what a 'real' vt100 looks like, visit: &lt;A href="http://vt100.net/" target="_blank"&gt;http://vt100.net/&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;SO take a look at your ssh and Putty client setup to see how to configure special keys like backspace. Once HP-UX sees the backspace character, then the stty setting will work.</description>
      <pubDate>Mon, 15 Aug 2005 08:12:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-issue/m-p/3493195#M823137</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-08-15T08:12:38Z</dc:date>
    </item>
  </channel>
</rss>

