<?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 stty question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-question/m-p/2923816#M715752</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;autocomplete was not set somehow. I guess (yes, I am just guessing because it was not mentioned in the book how it was set) it has something to do with stty just like erase.&lt;BR /&gt;&lt;BR /&gt;Here is output of stty -a:&lt;BR /&gt;$ stty  -a&lt;BR /&gt;speed 300 baud; line = 0;&lt;BR /&gt;rows = 24; columns = 80&lt;BR /&gt;min = 1; time = 0;&lt;BR /&gt;intr = ^C; quit = ^\; erase = DEL; kill = ^U&lt;BR /&gt;eof = ^D; eol = ^@; eol2 &lt;UNDEF&gt;; swtch &lt;UNDEF&gt;&lt;BR /&gt;stop = ^S; start = ^Q; susp = ^Z; dsusp &lt;UNDEF&gt;&lt;BR /&gt;werase &lt;UNDEF&gt;; lnext &lt;UNDEF&gt;&lt;BR /&gt;-parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -crts&lt;BR /&gt;-ignbrk brkint -ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc&lt;BR /&gt;ixon ixany ixoff -imaxbel -rtsxoff -ctsxon -ienqak&lt;BR /&gt;isig icanon -iexten -xcase echo echoe echok -echonl -noflsh&lt;BR /&gt;-echoctl -echoprt -echoke -flusho -pendin&lt;BR /&gt;opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop&lt;BR /&gt;&lt;BR /&gt;Does anyone know which one sets autocomplete? If it is not set here then how is it set? Currently it is working in my csh but not in sh.&lt;BR /&gt;&lt;BR /&gt;Shawn&lt;/UNDEF&gt;&lt;/UNDEF&gt;&lt;/UNDEF&gt;&lt;/UNDEF&gt;&lt;/UNDEF&gt;</description>
    <pubDate>Tue, 11 Mar 2003 01:44:16 GMT</pubDate>
    <dc:creator>Shawn_45</dc:creator>
    <dc:date>2003-03-11T01:44:16Z</dc:date>
    <item>
      <title>stty question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-question/m-p/2923816#M715752</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;autocomplete was not set somehow. I guess (yes, I am just guessing because it was not mentioned in the book how it was set) it has something to do with stty just like erase.&lt;BR /&gt;&lt;BR /&gt;Here is output of stty -a:&lt;BR /&gt;$ stty  -a&lt;BR /&gt;speed 300 baud; line = 0;&lt;BR /&gt;rows = 24; columns = 80&lt;BR /&gt;min = 1; time = 0;&lt;BR /&gt;intr = ^C; quit = ^\; erase = DEL; kill = ^U&lt;BR /&gt;eof = ^D; eol = ^@; eol2 &lt;UNDEF&gt;; swtch &lt;UNDEF&gt;&lt;BR /&gt;stop = ^S; start = ^Q; susp = ^Z; dsusp &lt;UNDEF&gt;&lt;BR /&gt;werase &lt;UNDEF&gt;; lnext &lt;UNDEF&gt;&lt;BR /&gt;-parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -crts&lt;BR /&gt;-ignbrk brkint -ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc&lt;BR /&gt;ixon ixany ixoff -imaxbel -rtsxoff -ctsxon -ienqak&lt;BR /&gt;isig icanon -iexten -xcase echo echoe echok -echonl -noflsh&lt;BR /&gt;-echoctl -echoprt -echoke -flusho -pendin&lt;BR /&gt;opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop&lt;BR /&gt;&lt;BR /&gt;Does anyone know which one sets autocomplete? If it is not set here then how is it set? Currently it is working in my csh but not in sh.&lt;BR /&gt;&lt;BR /&gt;Shawn&lt;/UNDEF&gt;&lt;/UNDEF&gt;&lt;/UNDEF&gt;&lt;/UNDEF&gt;&lt;/UNDEF&gt;</description>
      <pubDate>Tue, 11 Mar 2003 01:44:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-question/m-p/2923816#M715752</guid>
      <dc:creator>Shawn_45</dc:creator>
      <dc:date>2003-03-11T01:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: stty question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-question/m-p/2923817#M715753</link>
      <description>The setting of auto-completion is done in the shell, not in the tty.&lt;BR /&gt;&lt;BR /&gt;Try setting your shell to be 'ksh' from the $ prompt. Once you have use the escape key (twice)</description>
      <pubDate>Tue, 11 Mar 2003 01:48:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-question/m-p/2923817#M715753</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-03-11T01:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: stty question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-question/m-p/2923818#M715754</link>
      <description>For clarification we're talking about ESC ESC for filename expansion and ESC once to vi your command history?&lt;BR /&gt;&lt;BR /&gt;Command recall and filename expansion is a korn shell feature.  It can also be found in POSIX.  Put the line below in your root account's /etc/profile file or in your .profile file for other accounts that use POSIX.&lt;BR /&gt;&lt;BR /&gt;export HISTFILE=$HOME/.sh_history</description>
      <pubDate>Tue, 11 Mar 2003 02:07:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-question/m-p/2923818#M715754</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-03-11T02:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: stty question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-question/m-p/2923819#M715755</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As I said, I can always use the feature in csh. My point was not to use it but to know how to set it.&lt;BR /&gt;&lt;BR /&gt;I am not talking about history so export HISTFILE was not the solution I am afraid :-( I found I am lucky that things always don't work the same way as described in the book.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks for your replies!&lt;BR /&gt;&lt;BR /&gt;Shawn</description>
      <pubDate>Tue, 11 Mar 2003 03:06:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-question/m-p/2923819#M715755</guid>
      <dc:creator>Shawn_45</dc:creator>
      <dc:date>2003-03-11T03:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: stty question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-question/m-p/2923820#M715756</link>
      <description>In csh &lt;BR /&gt;you should use&lt;BR /&gt;&lt;BR /&gt;#set filec&lt;BR /&gt;&lt;BR /&gt;to set that&lt;BR /&gt;&lt;BR /&gt;THanks</description>
      <pubDate>Tue, 11 Mar 2003 04:08:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-question/m-p/2923820#M715756</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-03-11T04:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: stty question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-question/m-p/2923821#M715757</link>
      <description>I am currently having this same problem. One of the users set to use KSH, the autocomplete feature will not work.  Stty -a is the same as a user where it does work and I have run set filec and still no dice.. &lt;BR /&gt;&lt;BR /&gt;any help would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ty</description>
      <pubDate>Fri, 04 Jun 2004 15:27:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-question/m-p/2923821#M715757</guid>
      <dc:creator>Ty Roberts</dc:creator>
      <dc:date>2004-06-04T15:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: stty question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-question/m-p/2923822#M715758</link>
      <description>In ksh and sh I don't think file name completion needs to be turned on. It is always on. ESC ESC or ESC \ should try to complete. Perhaps in your terminal emulation the ESC key is not mapped? Try Ctrl-[ in place of escape. ( thats a control left-square-bracket ).</description>
      <pubDate>Fri, 04 Jun 2004 16:13:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-question/m-p/2923822#M715758</guid>
      <dc:creator>John Kittel</dc:creator>
      <dc:date>2004-06-04T16:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: stty question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-question/m-p/2923823#M715759</link>
      <description>Check seting of variables VISUAL and EDITOR in .profile&lt;BR /&gt;&lt;BR /&gt;For example, I use sh, if $EDITOR=vi, file name completion works with ESC ESC, and ESC \.  BUT, if $EDITOR=emacs, only ESC ESC works. ESC \ does not.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Jun 2004 16:25:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-question/m-p/2923823#M715759</guid>
      <dc:creator>John Kittel</dc:creator>
      <dc:date>2004-06-04T16:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: stty question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stty-question/m-p/2923824#M715760</link>
      <description>For POSIX shells in HP-UX (/usr/bin/sh, /usr/bin/ksh, even bash), you must set HISTFILE and HISTSIZE, and for completeness, set EDITOR=/usr/bin/vi. HISTFILE does not take effect if typed in after starting the shell, it must be set by /etc/profile or .profile, anytime before the first prompt by the shell. If this is a workstation problem, the default is NOT to run /etc/profile or .profile at all. The terminal emulators (hpterm, xterm, dtterm) must be started with the *loginShell:true (Xwindow resource) or -ls option on the command line. Command recall and filename completion will work on all the POSIX shells (once setup with the above env variables) in HP-UX.</description>
      <pubDate>Fri, 04 Jun 2004 20:43:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stty-question/m-p/2923824#M715760</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-06-04T20:43:25Z</dc:date>
    </item>
  </channel>
</rss>

