11-29-2016
Does this help:
man bash:
Quote:
COLUMNS
Used by the select compound command to determine the terminal width when printing selection lists. Automatically set if the checkwinsize option is enabled or in an interactive shell upon receipt of a SIGWINCH.
10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Hi All,
I have installed RH Linux 7.1, windows 2000 and windows ME in the same machine.
There are two booting menu:
Lilo:
Linux
Dos
Dos :
Windows2000
WindowsME
If I want to use windowME, I need to boot lilo and choose dos and final choose windows ME.
Have any... (3 Replies)
Discussion started by: wilsonchan1000
3 Replies
2. Shell Programming and Scripting
I have created a main menu in the following way:
while true; do
echo " "
echo "Main Menu: "
echo "Please Select An Option Using The Options Provided."
echo " "
echo "1 - Search All Files"
echo " "
echo "2 - Search Individual Files"
echo " "
... (1 Reply)
Discussion started by: amatuer_lee_3
1 Replies
3. Shell Programming and Scripting
I am attempting to create a shell script with the following capaciblities:
1. Listed options to choice from
2. Use to perform awk statements
3. Print a report with the awk results
My questions are
1. How do I select more than one file for option #5 and #6
2. How to I create an... (11 Replies)
Discussion started by: jroberson
11 Replies
4. Shell Programming and Scripting
hi i need to perform following task
have to write script to display menu
like 1) login as user1
2) login as user2
3) login as user3
4) go to shell
script will be run through root user user1, user2 will be logged to specific thr account. if 4th option selected it must pass... (3 Replies)
Discussion started by: anup13
3 Replies
5. Shell Programming and Scripting
How do I add the option to change the path in a menu? I have this script. The user chooses a number and had the option of doing something, looking for log files etc. There is a possibility they might want to look at a different path other than what I have given them such as... (2 Replies)
Discussion started by: taekwondo
2 Replies
6. UNIX for Dummies Questions & Answers
i'm confused what this means.
i was asked to design a menu or command line option driven script that reads out of a DB and displays info such as
read_data.pl -u <user> -e <event>
which would print commands run by <user>with the <event> in the db.
any suggestions? i've been using... (2 Replies)
Discussion started by: kpddong
2 Replies
7. Ubuntu
hey all,
I already installed nautilus-actions
now , I want to add "print path" script(option) to the right context menu!..
I did :
http://img853.imageshack.us/img853/6973/59818245.png
http://img847.imageshack.us/img847/8758/37217230.png
the script print located in... (2 Replies)
Discussion started by: eawedat
2 Replies
8. Shell Programming and Scripting
I have a script which uses READ to detect choice of menu option...now I want to change the script without doing whole rewrite such that when user runs ./script.sh 5 it would execute menu option 5 rather than user running ./script.sh waiting for it to load and then pressing "5 enter"
Is it... (1 Reply)
Discussion started by: holyearth
1 Replies
9. Programming
Hello,
I am starting up a tool and one of the initial steps is to select a site/location which is being read from a text file.
Here is the text file contents:
site1
site2
site3
Here is the code:
#!/usr/bin/python
from Tkinter import * (3 Replies)
Discussion started by: tattoostreet
3 Replies
10. Shell Programming and Scripting
I may have asked this before, so forgive OF.
Problem:
I can pass positioning array as -- menu option to whiptail, but it does not show in the whiptail form as an array - only single (first member "lsusb" ) entry / line shows up.
Code:
DynamicEntry=$(whiptail \
--title "DEBUG... (1 Reply)
Discussion started by: annacreek
1 Replies
LEARN ABOUT OSF1
sysman_menu
sysman_menu(8) System Manager's Manual sysman_menu(8)
NAME
sysman_menu - Graphical interface to run system management tasks
SYNOPSIS
/usr/sbin/sysman [-ui cui | gui] [-display displayname] [-menu]
/usr/sbin/sysman [-accel] <accelerator> [arguments]
/usr/sbin/sysman [-menu] <name> [arguments]
/usr/sbin/sysman [-menu] -list
/usr/sbin/sysman [-menu] -help | -h
/usr/sbin/sysman -focus hostname
OPTIONS
Specifies the user interface to be invoked. The choices are: Specifies command line interface. Specifies graphical user interface. Speci-
fies the display screen on where sysman_menu displays its window. If the display option is not specified, sysman_menu uses the display
screen specified by your DISPLAY environment variable. The display option has the format hostname:server.number. The default is :0.0. For
more information, see the X(1X) reference page. In a TruCluster environment, some management tasks effect the cluster as a whole and some
are local to a specific cluster member. If a task requires focus, the "Choose a host to manage" dialog box will be displayed. To launch
the task directly, bypassing this dialog box, you can specify the -focus option. Directly invokes the task with that accelerator. Any
arguments are passed on to the task itself. Use sysman -list for a list of the accelerators.
If the accelerator is for a branch of the menu and not an executable task, then the menu hierarchy is expanded to display the con-
tents of the specified branch. Same as -accel option but the name of the task as displayed in the SysMan Menu is specified. For
example, sysman -menu "Manage local users". Any arguments are passed on to the task itself.
The name is for a branch of the menu and not an executable task, then the menu hierarchy is expanded to display the contents of the
specified branch. Displays a list of all the tasks that can be run from the SysMan Menu and their accelerators. Displays help for
the SysMan Menu.
DESCRIPTION
SysMan Menu is used by the system administrator to obtain system management data and run selected system management tasks. SysMan Menu pro-
vides a menu of system management tasks in a tree type display, with branches of management categories and leaves of actual tasks. Select-
ing a leaf or tasks invokes a task, which displays a dialog for performing the task.
SysMan Menu and its associated tasks can be run on an X Windows display, a terminal with curses capability, locally on a PC, or from a Web
browser. For detailed information in running SysMan Menu from a PC or a Web browser, please use your Web browser and go to:
http://your_machine_name:2301/SYSMAN/index.html.
Online help is available for the SysMan Menu. To get help, select the Help button.
RESTRICTIONS
You must have root privileges to perform most tasks with this application. You can grant root privileges for specific users or groups of
users using the Division of Privileges (DOP) application. See the dop(8) reference page and the online help in the sysman dopconfig appli-
cation for additional information.
You must have the root privileges to execute some of the tasks on the SysMan Menu.
EXAMPLES
The following example shows how to launch the Manage local users task from the command line using an accelerator name: sysman -accel users
The following example shows how to invoke SysMan Menu in curses mode: sysman -ui cui The following example shows how to get a listing of
tasks and their accelerators: sysman -list The following example, displays the status of the NFS related daemons on a remote cluster mem-
ber: sysman -focus nfs_config_status
SEE ALSO
Commands: sysman_station(8), sysman_cli(8), sysman_clone(8), sysman(8)
System Administration
http://your_machine_name:2301/SYSMAN/index.html
sysman_menu(8)