After changing my environment with export COLUMNS=50 the menu was displayed in 2 columns.
@mohtashims -- omitting details of your environment means that we often may need to guess at answers. I think that with more than 500 posts that would become almost automatic for you.
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)
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)
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)
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)
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)
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)
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)
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)
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)
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 MINIX
stty
STTY(1) General Commands Manual STTY(1)NAME
stty - set terminal parameters
SYNOPSIS
stty [-ag]
stty encoded-form
stty speed ispeed speed ospeed speed cs5 cs6 cs7 cs8 [-]parenb [-]parodd [-]hupcl [-]cstopb [-]cread [-]clocal [-]ignbrk [-]brkint [-]ign-
par [-]parmrk [-]inpck [-]istrip [-]inlcr [-]igncr [-]icrnl [-]ixon [-]ixoff [-]ixany [-]opost [-]onlcr [-]xtabs [-]onoeot [-]isig
[-]icanon [-]iexten [-]echo [-]echoe [-]echok [-]echonl [-]noflsh [-]lflusho eof=c eol=c erase=c erase=c intr=c kill=c quit=c susp=c
start=c stop=c rprnt=c lnext=c flush=c min=n time=n rows n cols n cooked raw [-]evenp [-]parity [-]oddp [-]nl ek sane
DESCRIPTION
Stty shows or changes the parameters of the terminal connected to standard input. Stty takes a myriad of arguments most of which are
mapped directly to the flags and special characters described in tty(4), so we won't describe them here.
Stty has three forms of operation. First, without any arguments stty shows all terminal attributes that are different from the default
state. Option -a makes stty print all terminal attributes, and -g lets stty print the attributes in a special encoded form, a simple row
of colon separated hexadecimal numbers.
In the second form of operation stty takes an encoded form as produced by the -g option and sets the terminals attributes to its decoded
value.
In the third form stty interprets a series of flags and parameters settings and modifies the terminal attributes accordingly. Flags can be
given as icanon or -icanon for instance, either setting or clearing the ICANON flag. Special character values can by set like intr=^C for
example, which sets the interrupt character to CTRL-C. You can either use a real CTRL-C, or the two characters `^' and `C'. In any case
it is probably necessary to use quotes to guard it from the shell: intr='^C'.
A number alone is interpreted as a baud rate setting for both the input and output rate. The input or the output rate can be set sepa-
rately with use of the ispeed and ospeed prefixes to the number. The character size can be set with cs5, cs6, cs7 or cs8.
The MIN and TIME value, and the number of rows and columns of the window can also be set using one of the keywords min, time, rows or cols,
followed by a decimal number that is the value of the setting.
Stty accepts several keywords that are not named by corresponding flags or parameters in tty(4). They set several attributes at once:
cooked Same as icrnl ixon opost onlcr isig icanon iexten echo, setting all the attributes that are needed for line oriented mode.
raw Same as -icrnl -ixon -opost -onlcr -isig -icanon -iexten -echo, setting all the attributes for a raw data channel.
evenp parity
These synonyms are equal to cs7 parenb -parodd, setting the line to 7 bits even parity.
oddp Same as cs7 parenb parodd, setting the line to 7 bits odd parity.
-parity -evenp -oddp
All synonyms for cs8 -parenb, setting the line to 8 bits, no parity.
nl Same as icrnl, setting carriage return to line feed input translation.
-nl Same as -icrnl -inlcr -igncr, disabling any carriage return or line feed handling.
ek Set the ERASE and KILL special characters back to the default.
sane Set all attributes to the default except things like the line speed and parity, because their "sane" value is probably what it is
right now. The default values are compiled into stty from the <termios.h> include file. Use stty sane; stty -a to know what they
are.
FILES
/etc/ttytab The init field of this file may contain an stty command to set the attributes to match an attached RS232 terminal or modem.
SEE ALSO tty(4), ttytab(5).
NOTES
The cooked, raw, rows and cols keywords are Minix additions beyond the keywords defined by POSIX. Rows and cols are common UNIX exten-
sions, however. There are more Minix specific flags that match the Minix specific attributes described in tty(4).
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
STTY(1)