<?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: Wanted: TK admin menu example in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822372#M270307</link>
    <description>These all contain menu examples...&lt;BR /&gt;&lt;BR /&gt;Writing GUI Applications in Perl/Tk:&lt;BR /&gt;&lt;A href="http://www.perl.com/pub/a/2001/03/gui.html" target="_blank"&gt;http://www.perl.com/pub/a/2001/03/gui.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Perl/Tk Menus: Past, Present and Future:&lt;BR /&gt;&lt;A href="http://www.developer.com/lang/other/article.php/615201" target="_blank"&gt;http://www.developer.com/lang/other/article.php/615201&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Perl and the Tk Extension:&lt;BR /&gt;&lt;A href="http://www.lehigh.edu/~sol0/ptk/tpj1.html" target="_blank"&gt;http://www.lehigh.edu/~sol0/ptk/tpj1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;PCS</description>
    <pubDate>Wed, 12 Jul 2006 14:53:05 GMT</pubDate>
    <dc:creator>spex</dc:creator>
    <dc:date>2006-07-12T14:53:05Z</dc:date>
    <item>
      <title>Wanted: TK admin menu example</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822367#M270302</link>
      <description>I would like to create a menu system for my servers for doing administrative stuff using TK.  I have an ascii menu but want something a bit more user friendly.  I would like to have the menu choices and descriptions of each choice,etc.&lt;BR /&gt;Does anyone have an example of what I am looking for?</description>
      <pubDate>Wed, 12 Jul 2006 14:02:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822367#M270302</guid>
      <dc:creator>Craig A. Sharp</dc:creator>
      <dc:date>2006-07-12T14:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Wanted: TK admin menu example</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822368#M270303</link>
      <description>TK, or Perl/Tk?&lt;BR /&gt;I have a perl/Tk menu system (X11). Is that an option?&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Wed, 12 Jul 2006 14:12:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822368#M270303</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2006-07-12T14:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Wanted: TK admin menu example</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822369#M270304</link>
      <description>Craig,&lt;BR /&gt;&lt;BR /&gt;Hope these links help...&lt;BR /&gt;&lt;BR /&gt;Tk::Menu in perl 5.6.1:&lt;BR /&gt;&lt;A href="http://perl.enstimac.fr/perl5.6.1/site_perl/5.6.1/sun4-solaris/Tk/Menu.html" target="_blank"&gt;http://perl.enstimac.fr/perl5.6.1/site_perl/5.6.1/sun4-solaris/Tk/Menu.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Perl/Tk FAQ:&lt;BR /&gt;&lt;A href="http://www.lns.cornell.edu/~pvhp/ptk/ptkFAQ.html" target="_blank"&gt;http://www.lns.cornell.edu/~pvhp/ptk/ptkFAQ.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Various Tcl software:&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Tcl/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Tcl/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Useful ITRC thread:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=184217" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=184217&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also consider doing a web-based front-end instead.&lt;BR /&gt;&lt;BR /&gt;PCS</description>
      <pubDate>Wed, 12 Jul 2006 14:27:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822369#M270304</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-07-12T14:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Wanted: TK admin menu example</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822370#M270305</link>
      <description>Sorry I meant perl/tk...</description>
      <pubDate>Wed, 12 Jul 2006 14:29:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822370#M270305</guid>
      <dc:creator>Craig A. Sharp</dc:creator>
      <dc:date>2006-07-12T14:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Wanted: TK admin menu example</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822371#M270306</link>
      <description>Spex, that Tk::Menu link is about a widget, not an application. That type of widget is used to build menu-bar entries in a window/screen&lt;BR /&gt;&lt;BR /&gt;I can ask my boss if I can release my Tk Menu program as Open Source&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Wed, 12 Jul 2006 14:41:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822371#M270306</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2006-07-12T14:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Wanted: TK admin menu example</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822372#M270307</link>
      <description>These all contain menu examples...&lt;BR /&gt;&lt;BR /&gt;Writing GUI Applications in Perl/Tk:&lt;BR /&gt;&lt;A href="http://www.perl.com/pub/a/2001/03/gui.html" target="_blank"&gt;http://www.perl.com/pub/a/2001/03/gui.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Perl/Tk Menus: Past, Present and Future:&lt;BR /&gt;&lt;A href="http://www.developer.com/lang/other/article.php/615201" target="_blank"&gt;http://www.developer.com/lang/other/article.php/615201&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Perl and the Tk Extension:&lt;BR /&gt;&lt;A href="http://www.lehigh.edu/~sol0/ptk/tpj1.html" target="_blank"&gt;http://www.lehigh.edu/~sol0/ptk/tpj1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;PCS</description>
      <pubDate>Wed, 12 Jul 2006 14:53:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822372#M270307</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-07-12T14:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Wanted: TK admin menu example</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822373#M270308</link>
      <description>Procura, that would be awesome...in the meantime, I will review the suggested links.</description>
      <pubDate>Wed, 12 Jul 2006 15:03:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822373#M270308</guid>
      <dc:creator>Craig A. Sharp</dc:creator>
      <dc:date>2006-07-12T15:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Wanted: TK admin menu example</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822374#M270309</link>
      <description>OK, green light.&lt;BR /&gt;&lt;BR /&gt;Several options now.&lt;BR /&gt;&lt;BR /&gt;1. You give me points :)&lt;BR /&gt;2. I give you the current state, which still has some TODO items&lt;BR /&gt;3. You wait till I packaged it and put it on CPAN. That may take a while though&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Thu, 13 Jul 2006 05:44:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822374#M270309</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2006-07-13T05:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Wanted: TK admin menu example</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822375#M270310</link>
      <description>Ok, points given....Thanks to both for your help.  Please send the code as is and maybe I can also help with the todo's!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Jul 2006 07:40:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822375#M270310</guid>
      <dc:creator>Craig A. Sharp</dc:creator>
      <dc:date>2006-07-13T07:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Wanted: TK admin menu example</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822376#M270311</link>
      <description>I see no given point (yet), but I have finished my first stab at open-sourcing this menu program.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.xs4all.nl/~procura/cshmen-3.50.tgz" target="_blank"&gt;http://www.xs4all.nl/~procura/cshmen-3.50.tgz&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;NO warranty&lt;BR /&gt;It will be available on CPAN (user ID HMBRAND) once PASUE has synced up&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Thu, 13 Jul 2006 08:56:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822376#M270311</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2006-07-13T08:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Wanted: TK admin menu example</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822377#M270312</link>
      <description>Whoops I did not hit submit...only reply..</description>
      <pubDate>Thu, 13 Jul 2006 08:57:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822377#M270312</guid>
      <dc:creator>Craig A. Sharp</dc:creator>
      <dc:date>2006-07-13T08:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Wanted: TK admin menu example</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822378#M270313</link>
      <description>There we are....thank you for the code...I will give it a try!&lt;BR /&gt;&lt;BR /&gt;Craig</description>
      <pubDate>Thu, 13 Jul 2006 08:58:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822378#M270313</guid>
      <dc:creator>Craig A. Sharp</dc:creator>
      <dc:date>2006-07-13T08:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Wanted: TK admin menu example</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822379#M270314</link>
      <description>&lt;!--!*#--&gt;&lt;A href="http://www.xs4all.nl/~hmbrand/cshmen-3.50_01.tgz" target="_blank"&gt;http://www.xs4all.nl/~hmbrand/cshmen-3.50_01.tgz&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I forgot to package the README. Rather important in this stage, as the package has neither a configure nor a Makefile.PL&lt;BR /&gt;&lt;BR /&gt;Please assign points to *all* answers. no points is better than not assign at all. This will inform other readers how useful an answer was.&lt;BR /&gt;&lt;BR /&gt;--8&amp;lt;--- README&lt;BR /&gt;=head1 NAME&lt;BR /&gt;&lt;BR /&gt;cshmen, xamen - Basic menu application in curses or perl/Tk&lt;BR /&gt;&lt;BR /&gt;=head1 SYNOPSYS&lt;BR /&gt;&lt;BR /&gt;  # cshmen [-?] [-a] [-e] [-d] [-v] [-n] [-m dir] [menu]&lt;BR /&gt;&lt;BR /&gt;  # xamen  [-?] [-a] [-e] [-d] [-v] [-n] [-m dir] [menu]&lt;BR /&gt;&lt;BR /&gt;=head1 DESCRIPTION&lt;BR /&gt;&lt;BR /&gt;cshmen is a low level recursive menu program using curses.&lt;BR /&gt;xamen is the perl/Tk translation for cshmen&lt;BR /&gt;&lt;BR /&gt;=head1 INSTALLATION&lt;BR /&gt;&lt;BR /&gt;As this was built for internal use only, there are no serious&lt;BR /&gt;attempts yet made to create a working environment for building&lt;BR /&gt;and installing.&lt;BR /&gt;&lt;BR /&gt; $ make&lt;BR /&gt;&lt;BR /&gt;Should build cshmen in the current folder. You might need to&lt;BR /&gt;change #include &lt;CURSES.H&gt; to #include &lt;NCURSES.H&gt; and maybe&lt;BR /&gt;some lines in the Makefile too.&lt;BR /&gt;&lt;BR /&gt;=head1 DOCUMENTATION&lt;BR /&gt;&lt;BR /&gt;This is seriously missing in this dist, as the only available&lt;BR /&gt;documentation is written in Uniplex. In Dutch. Both pretty&lt;BR /&gt;useless for the OpenSource community.&lt;BR /&gt;&lt;BR /&gt;=head1 Menu format&lt;BR /&gt;&lt;BR /&gt;=head2 The menu files&lt;BR /&gt;&lt;BR /&gt;A menu file consists of menu lines. Each line looks like&lt;BR /&gt;&lt;BR /&gt;ID:MenuText:Command:State[:HelpFile]&lt;BR /&gt;&lt;BR /&gt;=over 4&lt;BR /&gt;&lt;BR /&gt;=item ID&lt;BR /&gt;&lt;BR /&gt;Two ID's are required: "H" for Header, and "Q" for Footer. In these&lt;BR /&gt;two cases, the State is ignored (but still required).&lt;BR /&gt;&lt;BR /&gt;The H-line will be used to display the menu title. The command may&lt;BR /&gt;optionally define a different environment for this menu (and all&lt;BR /&gt;the descendants).&lt;BR /&gt;&lt;BR /&gt;The Q-line will be shown on the last line and is a placeholder for&lt;BR /&gt;the &lt;BACK&gt; action. Text is shown, but Command is ignored.&lt;BR /&gt;&lt;BR /&gt;For all the other lines ID denotes the line to display this item&lt;BR /&gt;on, optionally followed by a letter to use instead (default is the&lt;BR /&gt;line number). Lines 10 though 16 are indicated by 'A' through 'F'.&lt;BR /&gt;&lt;BR /&gt;    H:Home menu      ::1&lt;BR /&gt;    1:Text for line 1:echo line 1:1&lt;BR /&gt;    3=F:Fortune      :fortune:2&lt;BR /&gt;    B:Test menu      :M test_menu:1&lt;BR /&gt;    Q:Stop           ::1&lt;BR /&gt;&lt;BR /&gt;=item MenuText&lt;BR /&gt;&lt;BR /&gt;Free text to show in the menu. The colon is forbidden. and the&lt;BR /&gt;underscores are translated to space.&lt;BR /&gt;&lt;BR /&gt;=item Command&lt;BR /&gt;&lt;BR /&gt;The command to be invoked&lt;BR /&gt;A command can be a series of commands seperated by ' ; '. Whitespace&lt;BR /&gt;matters. Each command can have optional command line arguments,&lt;BR /&gt;redirection and a execution folder. Arguments can be questions.&lt;BR /&gt;&lt;BR /&gt;Commands that start with 'M ' call a menu. No ' ; ' allowed. If you&lt;BR /&gt;*do* have a command 'M', use 'env'.&lt;BR /&gt;&lt;BR /&gt;  proc @Directory 1&amp;gt;/tmp/proc-1.log 2&amp;gt;&amp;gt;/tmp/proc-2.log -&lt;BR /&gt;       ?0QuestText[,[DefaultValue][,[Prefix][,[Options][,[HelpFile]]]]&lt;BR /&gt;&lt;BR /&gt;=item State&lt;BR /&gt;&lt;BR /&gt; 0 = Not shown (hidden). Item cannot be selected&lt;BR /&gt; 1 = Normal, active&lt;BR /&gt; 2 = Normal, but wait after execution finishes with a user prompt&lt;BR /&gt;&lt;BR /&gt;=item HelpFile&lt;BR /&gt;&lt;BR /&gt;Optional help description for this item&lt;BR /&gt;&lt;BR /&gt;=back&lt;BR /&gt;&lt;BR /&gt;=head1 TODO&lt;BR /&gt;&lt;BR /&gt; * Documentation: pod, manual page or serious readme. NO info!&lt;BR /&gt; * A better Makefile&lt;BR /&gt; * Some sort of install procedure&lt;BR /&gt; * example menu's&lt;BR /&gt; * See top of xamen&lt;BR /&gt;&lt;BR /&gt;=head1 AUTHOR&lt;BR /&gt;&lt;BR /&gt;H.Merijn Brand, &lt;H.M.BRAND&gt;&lt;BR /&gt;&lt;BR /&gt;=head1 COPYRIGHT AND LICENSE&lt;BR /&gt;&lt;BR /&gt;Copyright (C) 1986-2006 H.Merijn Brand, PROCURA B.V.&lt;BR /&gt;&lt;BR /&gt;it under the terms of the GNU General Public License as published by&lt;BR /&gt;the Free Software Foundation; either version 2 of the License, or&lt;BR /&gt;(at your option) any later version.&lt;BR /&gt;&lt;BR /&gt;This program is distributed in the hope that it will be useful,&lt;BR /&gt;but WITHOUT ANY WARRANTY; without even the implied warranty of&lt;BR /&gt;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the&lt;BR /&gt;GNU General Public License for more details.&lt;BR /&gt;&lt;BR /&gt;You should have received a copy of the GNU General Public License&lt;BR /&gt;along with this program; if not, write to the Free Software&lt;BR /&gt;Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.&lt;BR /&gt;&lt;BR /&gt;=cut&lt;BR /&gt;--&amp;gt;8---&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn&lt;/H.M.BRAND&gt;&lt;/BACK&gt;&lt;/NCURSES.H&gt;&lt;/CURSES.H&gt;</description>
      <pubDate>Fri, 14 Jul 2006 01:57:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wanted-tk-admin-menu-example/m-p/3822379#M270314</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2006-07-14T01:57:13Z</dc:date>
    </item>
  </channel>
</rss>

