10-10-2008
That worked!
I feel kinda dumb. Oh well. Thanks for the assistance!
Chris K.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a main menu
quit=n
while
do
clear
echo
echo "1. General system information"
echo "2. Hardware utilisation information"
echo "3. File management"
echo "4. User information"
echo "5. Information on network connectivity"
echo "6. Information on processes"
echo "Q.Quit" ... (3 Replies)
Discussion started by: AngelFlesh
3 Replies
2. Shell Programming and Scripting
Greetings all,
I'm having some trouble writing a menu drive bash script, actually coding the menu part was not difficult however its a problem with a menu option I'm having trouble with.
My menu has 5 options, when the user selects the second option, they are then prompted to enter a number from... (5 Replies)
Discussion started by: Vitrophyre
5 Replies
3. Shell Programming and Scripting
Hi again :)
This is just a sample whiptail menu.
Works great, but have been trying to get the chosen value into a variable but failing pretty bad...its ther but unsure how to echo it out when needed
#! /bin/bash
#This is the menu
whiptail --title "Menu example" --menu "Choose an... (9 Replies)
Discussion started by: olearydc
9 Replies
4. UNIX for Dummies Questions & Answers
Dear Sir,
May I know how do I go about adding the following feature into the script below:
When user enter values other than 1,2,3,4,
a) Message “Wrong entry !!! Pls select 1,2,3 or 4” is displayed
b) The screen is cleared again and the menu is displayed.
#!/bin/bash
clear
var=1... (2 Replies)
Discussion started by: fusetrips
2 Replies
5. Red Hat
Hi,
In the archives I found this:
And this works fine.
$if mode=vi
"\C-0-": digit-argument
TAB: menu-complete
"\e
But what I want is to reverse this. So I want that tab does reverse menu completion and shift tab does normal menu completion.
Can anyone help me with this? Thanks (0 Replies)
Discussion started by: ozkanb
0 Replies
6. Shell Programming and Scripting
Hello,
Been trying to build a menu with whiptail lately. However, my code doesn't seems to be working even though when i compared to other similar code they looks the same.
#!/bin/bash
clear
whiptail --msgbox "Entering networking sub-menu" 20 78
whiptail --title Networking --menu... (8 Replies)
Discussion started by: malfolozy
8 Replies
7. Open Source
The perl command is not executing? I am trying to run the .pl in my cygwin home directory (C:\cygwin\home\cmccabe) using ${id}.txt.hg19_multianno.txt (located in the annovar directory) as the input file to be formatted and $FILENAME is the output file to be saved. The .pl is attached as... (8 Replies)
Discussion started by: cmccabe
8 Replies
8. Shell Programming and Scripting
I am trying to display the text the user selects from a bash menu. The below will display the menu and allow the user to enter a number, but will not display the choice selected.
bash
while true
do
printf "\n please make a selection from the MENU \n
... (4 Replies)
Discussion started by: cmccabe
4 Replies
9. Shell Programming and Scripting
We have a simple menu with prompt of menu numbers to user.
It is still under construction.
Is there a way to "count" the menu choices so the prompt maximum count can be changed dynamically?
See attached TODO note in code
read_options(){
local choice
# the... (7 Replies)
Discussion started by: annacreek
7 Replies
10. Shell Programming and Scripting
Hi, I'm new to bash, and have an example menu script using Zenity. It works fine if the user enters A B or C, but if the user enters nothing, I can only figure out how to exit the script. How do I get the menu to reappear if no input is selected?
The script is:
title="Select example"... (2 Replies)
Discussion started by: allen11
2 Replies
LEARN ABOUT REDHAT
qmotifplusstyle
QMotifPlusStyle(3qt) QMotifPlusStyle(3qt)
NAME
QMotifPlusStyle - More sophisticated Motif-ish look and feel
SYNOPSIS
#include <qmotifplusstyle.h>
Inherits QMotifStyle.
Public Members
QMotifPlusStyle ( bool hoveringHighlight = TRUE )
DESCRIPTION
The QMotifPlusStyle class provides a more sophisticated Motif-ish look and feel.
This class implements a Motif-ish look and feel with the more sophisticated bevelling as used by the GIMP Toolkit (GTK+) for Unix/X11.
See also Widget Appearance and Style.
MEMBER FUNCTION DOCUMENTATION
QMotifPlusStyle::QMotifPlusStyle ( bool hoveringHighlight = TRUE )
Constructs a QMotifPlusStyle
If hoveringHighlight is TRUE (the default), then the style will not highlight push buttons, checkboxes, radiobuttons, comboboxes,
scrollbars or sliders.
SEE ALSO
http://doc.trolltech.com/qmotifplusstyle.html http://www.trolltech.com/faq/tech.html
COPYRIGHT
Copyright 1992-2001 Trolltech AS, http://www.trolltech.com. See the license file included in the distribution for a complete license
statement.
AUTHOR
Generated automatically from the source code.
BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you.
Thank you.
The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a
web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially
supported by Trolltech.
If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page
(qmotifplusstyle.3qt) and the Qt version (3.1.1).
Trolltech AS 9 December 2002 QMotifPlusStyle(3qt)