<?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: Doubt about frames in a shell script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/doubt-about-frames-in-a-shell-script/m-p/3429773#M859448</link>
    <description>Hi Luciano,&lt;BR /&gt;&lt;BR /&gt;You can do it using 'tput' command. But that would be very tedious and you have to keep track of ROW and COLUMN positions.&lt;BR /&gt;&lt;BR /&gt;I suggest you use tools that are already there. For ex.,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Development/Tools/xenmenu-0.8b/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Development/Tools/xenmenu-0.8b/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It can help you create text based menus.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Wed, 24 Nov 2004 11:10:33 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2004-11-24T11:10:33Z</dc:date>
    <item>
      <title>Doubt about frames in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/doubt-about-frames-in-a-shell-script/m-p/3429771#M859446</link>
      <description>Hi guys,&lt;BR /&gt;&lt;BR /&gt;Does anyone know how can I create frames (not the same, but as frames used in SAM) in a shell script? &lt;BR /&gt;Any tip will help.&lt;BR /&gt;&lt;BR /&gt;thanks in advance.</description>
      <pubDate>Wed, 24 Nov 2004 10:28:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/doubt-about-frames-in-a-shell-script/m-p/3429771#M859446</guid>
      <dc:creator>LucianoCarvalho</dc:creator>
      <dc:date>2004-11-24T10:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about frames in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/doubt-about-frames-in-a-shell-script/m-p/3429772#M859447</link>
      <description>Depending on what exactly you want to do, you could use "dialog".&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Shells/dialog-0.9b/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Shells/dialog-0.9b/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Basically lets you create pretty windows asking questions, input boxes, etc.&lt;BR /&gt;&lt;BR /&gt;Otherwise you'll most likely need to use the ncurses libraries in C.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sy</description>
      <pubDate>Wed, 24 Nov 2004 11:05:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/doubt-about-frames-in-a-shell-script/m-p/3429772#M859447</guid>
      <dc:creator>Howard Palmer</dc:creator>
      <dc:date>2004-11-24T11:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about frames in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/doubt-about-frames-in-a-shell-script/m-p/3429773#M859448</link>
      <description>Hi Luciano,&lt;BR /&gt;&lt;BR /&gt;You can do it using 'tput' command. But that would be very tedious and you have to keep track of ROW and COLUMN positions.&lt;BR /&gt;&lt;BR /&gt;I suggest you use tools that are already there. For ex.,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Development/Tools/xenmenu-0.8b/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Development/Tools/xenmenu-0.8b/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It can help you create text based menus.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 24 Nov 2004 11:10:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/doubt-about-frames-in-a-shell-script/m-p/3429773#M859448</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-24T11:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about frames in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/doubt-about-frames-in-a-shell-script/m-p/3429774#M859449</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Just to give you some idea, I am posting this sample script. It will create a small box on the right hand top corner and prints numbers upto 10 while printing something on the main window.&lt;BR /&gt;&lt;BR /&gt;clear&lt;BR /&gt;&lt;BR /&gt;cols=$(tput cols)&lt;BR /&gt;startx=1&lt;BR /&gt;(( starty = $cols - 10 ))&lt;BR /&gt;endx=7&lt;BR /&gt;endy=$cols&lt;BR /&gt;midx=4&lt;BR /&gt;(( midy = $starty + 4 ))&lt;BR /&gt;&lt;BR /&gt;x=$startx&lt;BR /&gt;y=$starty&lt;BR /&gt;&lt;BR /&gt;while [ $x -le $endx ]&lt;BR /&gt;do&lt;BR /&gt;tput cup $x $starty&lt;BR /&gt;printf "."&lt;BR /&gt;tput cup $x $endy&lt;BR /&gt;printf "."&lt;BR /&gt;(( x = $x + 1 ))&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;while [ $y -le $endy ]&lt;BR /&gt;do&lt;BR /&gt;tput cup $startx $y&lt;BR /&gt;printf "."&lt;BR /&gt;tput cup $endx $y&lt;BR /&gt;printf "."&lt;BR /&gt;(( y = $y + 1 ))&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;I=0&lt;BR /&gt;while [ $I -le 12 ]&lt;BR /&gt;do&lt;BR /&gt;tput cup $midx $midy&lt;BR /&gt;printf "%2d" $I&lt;BR /&gt;tput cup 1 1&lt;BR /&gt;printf "Working on item $I"&lt;BR /&gt;sleep 1&lt;BR /&gt;(( I = $I + 1 ))&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;clear&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Nov 2004 11:43:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/doubt-about-frames-in-a-shell-script/m-p/3429774#M859449</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-24T11:43:46Z</dc:date>
    </item>
  </channel>
</rss>

