11-30-2011
Menu system for terminal like Putty for host /ip list
Is there a way to create a menu in Gnome terminal to have a list of hosts with ip's like in Putty on Windows?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
Could anyone please tell me how to create a basic menu system that enables a user to select and run a script from a list of choices?
I was thinking along the lines of "push 1 to start script 1", "push 2 to start script 2" etc
If anyone could help that would be great, thank you (2 Replies)
Discussion started by: straight_edge
2 Replies
2. Programming
is it possible in the first place?
if so, how should I go about it? (0 Replies)
Discussion started by: finalight
0 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I'm Windows XP, and im running a PuTTY .exe file from chiark.greenend.org and i do not have the puttyTel .exe file. To obtain putty i got that address from the 'Visual Quickstart Guide' for UNIX ofcourse. After i've followed their instructions; being: "Type: 'frazz.raycomm.com' into the... (8 Replies)
Discussion started by: oxoxo
8 Replies
4. UNIX for Dummies Questions & Answers
im using the PuTTY configuration and i need a host name!
something that will give a prompt similar to this:
jdoe@theHostName.whatever.net or .com or .org ( im sure your familar )
then i need to login ( hopefully at the website ) and get this upon login:
$
i need this.. (1 Reply)
Discussion started by: oxoxo
1 Replies
5. Shell Programming and Scripting
No longer need help! (3 Replies)
Discussion started by: john123
3 Replies
6. Red Hat
After installing centos iam not able to see the terminal icon in the applications menu to launch the command prompt in Centos.
However iam able to see the Open Terminal menu, when i right click and it is not working.
let me know what are the things i need to check.:b: (1 Reply)
Discussion started by: Kesavan
1 Replies
7. UNIX for Advanced & Expert Users
Hi,
I have installed RHEL4 using vmware workstation..
Host OS: Windows XP
Guest OS: RHEL4
Pls refer step 17 & 18 in below link...
ORACLE-BASE - Red Hat Enterprise Linux 4 and Centos 4 Installation
1) If i choose to assign IP automatically (using DHCP) means, i am able to connect RHEL4... (3 Replies)
Discussion started by: thomasraj87
3 Replies
8. Programming
I'm implementing menu config based on curses terminal. for example:
$ xmake --menu
It automatically gets the options in the project to generate the menu configuration interface to implement the interactive configuration, like make menuconfig based Kconfig
example:
$ git clone... (0 Replies)
Discussion started by: waruqi
0 Replies
9. UNIX for Beginners Questions & Answers
I installed CentOS 8 with Gnome 3.28.2 and I noticed that the "switch user" menu item disappeared from under the system menu of Gnome classic (Both X11 & Wayland). I checked google and this problem seems to have a history going back several releases of Gnome.
Unfortunately, I never found a... (1 Reply)
Discussion started by: bodisha
1 Replies
10. Windows & DOS: Issues & Discussions
I ssh from Windows to Linux server and execute a few commands. I have ssh keys setup between them and works fine.
The commands get executed on the Linux server however I wish to stay on the Linux terminal that was opened by putty.exe. However, the terminal simply does the job and closes.
... (10 Replies)
Discussion started by: mohtashims
10 Replies
LEARN ABOUT SUSE
tk::menu::item
Menu::Item(3) User Contributed Perl Documentation Menu::Item(3)
NAME
Tk::Menu::Item - Base class for Menu items
SYNOPSIS
require Tk::Menu::Item;
my $but = $menu->Button(...);
$but->configure(...);
my $what = $but->cget();
package Whatever;
require Tk::Menu::Item;
@ISA = qw(Tk::Menu::Item);
sub PreInit
{
my ($class,$menu,$info) = @_;
$info->{'-xxxxx'} = ...
my $y = delete $info->{'-yyyy'};
}
DESCRIPTION
Tk::Menu::Item is the base class from which Tk::Menu::Button, Tk::Menu::Cascade, Tk::Menu::Radiobutton and Tk::Menu::Checkbutton are
derived. There is also a Tk::Menu::Separator.
Constructors are declared so that $menu->Button(...) etc. do what you would expect.
The "-label" option is pre-processed allowing ~ to be prefixed to the character to derive a "-underline" value. Thus
$menu->Button(-label => 'Goto ~Home',...)
is equivalent to
$menu->Button(-label => 'Goto Home', -underline => 6, ...)
The "Cascade" menu item creates a sub-menu and accepts these options:
-menuitems
A list of items for the sub-menu. Within this list (which is also accepted by Menu and Menubutton) the first two elements of each item
should be the "constructor" name and the label:
-menuitems => [
[Button => '~Quit', -command => [destroy => $mw]],
[Checkbutton => '~Oil', -variable => $oil],
]
-postcommand
A callback to be invoked before posting the menu.
-tearoff
Specifies whether sub-menu can be torn-off or not.
-menuvar
Scalar reference that will be set to the newly-created sub-menu.
The returned object is currently a blessed reference to an array of two items: the containing Menu and the 'label'. Methods "configure"
and "cget" are mapped onto underlying "entryconfigure" and "entrycget".
The main purpose of the OO interface is to allow derived item classes to be defined which pre-set the options used to create a more basic
item.
BUGS
This OO interface is very new. Using the label as the "key" is a problem for separaror items which don't have one. The alternative would be
to use an index into the menu but that is a problem if items are deleted (or inserted other than at the end).
There should probably be a PostInit entry point too, or a more widget like defered 'configure'.
perl v5.12.1 2007-05-05 Menu::Item(3)