<?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: xterm window title in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/xterm-window-title/m-p/4462493#M662292</link>
    <description>take a look at this page:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.shelldorado.com/shelltips/beginner.html" target="_blank"&gt;http://www.shelldorado.com/shelltips/beginner.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;several references to that topic there, including the following:&lt;BR /&gt;&lt;BR /&gt;The title of a XTERM window can be set using the following&lt;BR /&gt;escape sequence:&lt;BR /&gt;&lt;BR /&gt;    ESC ] 0 ; title ^G&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;    echo "^[]0;This is a title^G"&lt;BR /&gt;&lt;BR /&gt;Enter the escape character (the first character of the&lt;BR /&gt;string) as CTRL-V ESC. On the screen you will see "^[". The&lt;BR /&gt;last character is entered as CTRL-V CTRL-G.&lt;BR /&gt;</description>
    <pubDate>Sun, 19 Jul 2009 19:52:57 GMT</pubDate>
    <dc:creator>OldSchool</dc:creator>
    <dc:date>2009-07-19T19:52:57Z</dc:date>
    <item>
      <title>xterm window title</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xterm-window-title/m-p/4462492#M662291</link>
      <description>How to dynamically change xterm window title using POSIX sh? What is the correct escape sequence?</description>
      <pubDate>Sun, 19 Jul 2009 18:02:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xterm-window-title/m-p/4462492#M662291</guid>
      <dc:creator>Andy Kosela</dc:creator>
      <dc:date>2009-07-19T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: xterm window title</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xterm-window-title/m-p/4462493#M662292</link>
      <description>take a look at this page:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.shelldorado.com/shelltips/beginner.html" target="_blank"&gt;http://www.shelldorado.com/shelltips/beginner.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;several references to that topic there, including the following:&lt;BR /&gt;&lt;BR /&gt;The title of a XTERM window can be set using the following&lt;BR /&gt;escape sequence:&lt;BR /&gt;&lt;BR /&gt;    ESC ] 0 ; title ^G&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;    echo "^[]0;This is a title^G"&lt;BR /&gt;&lt;BR /&gt;Enter the escape character (the first character of the&lt;BR /&gt;string) as CTRL-V ESC. On the screen you will see "^[". The&lt;BR /&gt;last character is entered as CTRL-V CTRL-G.&lt;BR /&gt;</description>
      <pubDate>Sun, 19 Jul 2009 19:52:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xterm-window-title/m-p/4462493#M662292</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-07-19T19:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: xterm window title</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xterm-window-title/m-p/4462494#M662293</link>
      <description>&lt;!--!*#--&gt;No bets, but I have a DCL procedure which&lt;BR /&gt;does these:&lt;BR /&gt;&lt;BR /&gt;esc+ "]2;"+ "Window Title Text"+ bel&lt;BR /&gt;&lt;BR /&gt;esc+ "]1;"+ "Icon Title Text"+ bel&lt;BR /&gt;&lt;BR /&gt;where esc = 27, and bel = 7.&lt;BR /&gt;&lt;BR /&gt;You'll need to reform the expressions for use&lt;BR /&gt;in a UNIX shell.</description>
      <pubDate>Sun, 19 Jul 2009 19:55:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xterm-window-title/m-p/4462494#M662293</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-07-19T19:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: xterm window title</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xterm-window-title/m-p/4462495#M662294</link>
      <description>OK, this is PS1:&lt;BR /&gt;&lt;BR /&gt;export PS1="^[]0;`hostname | cut -d. -f1`:^G^M`tput bold``hostname | cut -d. \&lt;BR /&gt;-f1``tput rmso`":'$PWD# '&lt;BR /&gt;&lt;BR /&gt;The problem is that when I move cursor to the far right corner of the screen it tries to fold line too early (it seems by the hostname string characters). What is the best way to overcome this and have cursor reach the screen till the end?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Jul 2009 11:28:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xterm-window-title/m-p/4462495#M662294</guid>
      <dc:creator>Andy Kosela</dc:creator>
      <dc:date>2009-07-20T11:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: xterm window title</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xterm-window-title/m-p/4462496#M662295</link>
      <description>The way I handle it is that I only change the title when I do cd, pushd or popd.  And my PS1 is always "$ ".  I have a bunch of real shell functions that handle this.</description>
      <pubDate>Tue, 21 Jul 2009 02:23:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xterm-window-title/m-p/4462496#M662295</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-07-21T02:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: xterm window title</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xterm-window-title/m-p/4462497#M662296</link>
      <description>Dennis,&lt;BR /&gt;&lt;BR /&gt;Ok but that doesn't solve the issue.  With the title line you can just put ^M, but with the hostname in prompt there is still a problem.</description>
      <pubDate>Tue, 21 Jul 2009 09:26:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xterm-window-title/m-p/4462497#M662296</guid>
      <dc:creator>Andy Kosela</dc:creator>
      <dc:date>2009-07-21T09:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: xterm window title</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xterm-window-title/m-p/4462498#M662297</link>
      <description>&amp;gt;with the hostname in prompt there is still a problem.&lt;BR /&gt;&lt;BR /&gt;As I said, there is no reason to waste screen real estate with long prompts.  I put the hostname in the title and the icon title.</description>
      <pubDate>Tue, 21 Jul 2009 14:23:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xterm-window-title/m-p/4462498#M662297</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-07-21T14:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: xterm window title</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xterm-window-title/m-p/4462499#M662298</link>
      <description>Call me old school, but I prefer full screen putty sessions and the most important information I need is hostname and pwd.  I had a similar problem in tcsh, but I managed to get rid of that by correctly formatting prompt variable.  Now if only I were able to do the same in POSIX sh.... Anyone?</description>
      <pubDate>Tue, 21 Jul 2009 17:44:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xterm-window-title/m-p/4462499#M662298</guid>
      <dc:creator>Andy Kosela</dc:creator>
      <dc:date>2009-07-21T17:44:01Z</dc:date>
    </item>
  </channel>
</rss>

