Sponsored Content
Full Discussion: Select ksh menu question
Top Forums Shell Programming and Scripting Select ksh menu question Post 302552779 by johnsei on Monday 5th of September 2011 03:22:23 PM
Old 09-05-2011
Hi,

You can try the Curses Command Frontend (CCFE), a nice tool
to create menus to call shell scripts or commands.
It's curses based, so you can select items by moving a
cursor using arrow keys.
You can also add a form to ask user for input parameters and options
requested by selected script.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

dynamic Select menu

Hi all is menu driven by SELECT can be a dynamic ? My requirement is that i want SELECT to be created on run time not predefine . The select should be created as per the no of words in a file thanks in advance rawat (2 Replies)
Discussion started by: rawatds
2 Replies

2. Shell Programming and Scripting

Drop down menu in bash for timezone select

Is there any way to implement a drop down menu selection in bash? This is on CDLinux which is a very minimal live CD and I am using it to install an image onto a hard drive. Part of that process is the timezone selection. There are just too many timezones to attempt to use the "select" command.... (1 Reply)
Discussion started by: simonb
1 Replies

3. Shell Programming and Scripting

reappearing menu list using select

is there a way I can make the menu list reappear when I use select ? ----- menulist="Change_title Remove_tag Change_tag Add_line Quit" select word in $menulist #change_title remove_tag change_tag add_line quit do case $word in # first menu option Change Title ... (9 Replies)
Discussion started by: forever_49ers
9 Replies

4. Shell Programming and Scripting

Select command to build menu

Hello everyone. I am using the select command to build a menu, here is my question: Is it possible to generate a menu which contains several sections and have a separator between the sections without having a selection number generated in front of the separator? This is a sample of what I would... (1 Reply)
Discussion started by: gio001
1 Replies

5. Shell Programming and Scripting

Error using select menu command

Hi All, I am trying to use the select command & the menu. below mention is my script #!/bin/bash 2 3 PS3="Is today your birthday? " #PS3 system variable 4 5 echo "\n" 6 7 8 select menu_selection in YES NO QUIT 9 do 10 11 ... (1 Reply)
Discussion started by: milindb
1 Replies

6. Shell Programming and Scripting

reprint the select menu after a selection

Hi, I am using a select in ksh for a script #!/bin/ksh FIRSTLIST='one two three four quit' PS3='Please select a number: ' select i in $FIRSTLIST ; do case $i in one) print 'this is one' ;; two) print 'this is 2' ;; three) print 'this is 3' ;; four) print... (7 Replies)
Discussion started by: omerzzz
7 Replies

7. Shell Programming and Scripting

File Select Menu Script

Hi All, I need to develop a bash script list “list of files” and able to select if any and set as globe variable in script and use for other function. I would like to see in menu format. Example out put Below are the listed files for database clone 1. Sys.txt 2. abc.txt 3. Ddd.txt... (1 Reply)
Discussion started by: ashanabey
1 Replies

8. Shell Programming and Scripting

Format of 'select' generated menu

Oracle Linux 5.6 64-bit Given the below snippet ORACLE_SID='' PS3='Select target (test) database being refreshed: ' # while ]; do select ORACLE_SID in `egrep -i '^FS|^HR' /etc/oratab |\ awk -F\: '{print $1}'|sort` ; do if ]; then echo echo "Please enter a... (19 Replies)
Discussion started by: edstevens
19 Replies

9. Shell Programming and Scripting

Help with 'select' for menu input

A lot of my scripting makes use of the 'select' command to create menu driven input. A typical example of how I use it is as: somevar='' PS3='Select one: ' while ]; do select somevar in $(sqlplus -s $dbuser/$dbpw@mydb <<EOF set echo off feedback off verify off... (7 Replies)
Discussion started by: edstevens
7 Replies

10. Shell Programming and Scripting

Stuck with menu in select

hi i am new to bash scripting .. i created a bunch of folders but only want the folder names with file1. so i go in and make an array to grab the folders the put in a file then i strip the directories so i just have the folder names i need then i would like to make the menu with a selection... (3 Replies)
Discussion started by: lamby22
3 Replies
gs(3erl)						     Erlang Module Definition							  gs(3erl)

NAME
gs - The Graphics System for Erlang. DESCRIPTION
Warning: GS is not recommended for use in new applications. Instead we recommend WX for applications that need a graphical user interface. GS is not maintained and we plan to deprecate and remove it from the distribution as soon as possible, maybe already in the next major release (R15). The Graphics System, GS, is easy to learn and designed to be portable to many different platforms. In the description below, the type gsobj() denotes a reference to a graphical object created with GS. Such a reference is either a GS object identifier or the name of the object (an atom), if such a name exists. The functions all return the specified values or {error,Rea- son} if an error occurs. Please refer to the GS User's Guide for a description of the different object types and possible options. EXPORTS
config(GSObj, Options) -> ok Types GSOBj = gsobj() Options = [Option] | Option Option = {Key,Value} Configures a graphical object according to the specified options. create(ObjType, Parent) -> ObjId create(ObjType, Parent, Options) -> ObjId create(ObjType, Name, Parent, Options) -> ObjId Types ObjType = atom() Parent = gsobj() Name = atom() Options = [Option] | Option Option = {Key,Value} Creates a new graphical object of the specified type as a child to the specified parent object. The object is configured according to the options and its identifier is returned. If no options are provided, default option values are used. If a name is provided, this name can be used to reference the object instead of the object identifier. The name is local to the process which creates the object. The following object types exist: window | button | radiobutton | checkbutton | label | frame | entry | listbox | canvas | arc | image | line | oval | polygon | rectangle | text | menubar | menubutton | menu | menuitem | grid | gridline | editor | scale create_tree(Parent, Tree) -> ok Types Parent = gsobj() Tree = [Object] Object = {ObjType,Options} | {ObjType,Options,Tree} | {ObjType,Name,Options,Tree} Creates a hierarchy of graphical objects. destroy(GSObj) -> void() Types GSObj = gsobj() Destroys a graphical object and all its children. ObjType(Parent) ObjType(Parent, Options) ObjType(Name, Parent, Options) These functions are shorthand equivalents of create/2 , create/3 , and create/4 , respectively. read(GSObj, Key) -> Value Types GSObj = gsobj() Key = atom() Value = term() Returns the value of an option key for the specified graphical object. start() -> ObjId Starts GS, unless it is already started, and returns its object identifier. stop() -> void() Stops GS and closes all windows. This function is not the opposite of start/0 as it will cause all applications to lose their GS objects. Ericsson AB gs 1.5.13 gs(3erl)
All times are GMT -4. The time now is 08:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy