10 More Discussions You Might Find Interesting
1. Programming
Hi,
does someone know how to make a keyboard data input
in the AWK programming language ?
Regards
Zabo (6 Replies)
Discussion started by: Zabo
6 Replies
2. Shell Programming and Scripting
Hi,
I am working on a script, which requests users to enter input.
Ex: read -p "Please enter your email id:" email
I don't want users skipping this entry, this has to be mandatory.I dont want to proceed without input.
I can do a check if variable $email is empty and proceed if not.But, i... (7 Replies)
Discussion started by: aravindadla
7 Replies
3. Shell Programming and Scripting
Hello,
i`m trying to create an network monitoring script and i dont know how to make affect that script by pressing an key from keyboard and that script runs not in while or for or any other loop, but with bash command watch
for example: i have created an file (for example check) with content... (0 Replies)
Discussion started by: bacarrdy
0 Replies
4. Shell Programming and Scripting
hi all
i'm new in shell scripting and now i'm working on project and i wanna make a function take input from user and test it's datatype then if correct write it to file
i wounder what is the best way to do this ?
can i use awk ?
edit by bakunin: Please give your threads a meaningful... (5 Replies)
Discussion started by: mohamed91
5 Replies
5. Homework & Coursework Questions
I need to Write a shell script that allows some system-administration tasks to be preformed automatically from a menu-driven interface. with automated following tasks:
Copy directory tree
Delete files or directories
Output Information (this part is done )
*Copy directory tree
The “Copy... (2 Replies)
Discussion started by: femchi
2 Replies
6. Shell Programming and Scripting
> sed ''
Hello
hi
Hello output
How
hi output
^D
How
>
sed should take each line as input, process and output the result. In the above scenario the input is passed from keyboard and the output of 'Hello' as you can see is displayed on the screen after 'hi' is passed as input but not as... (1 Reply)
Discussion started by: loggedin.ksh
1 Replies
7. Shell Programming and Scripting
How would I change up a script that currently has something like:
bash script
echo what's 1 2 3 4?
then using read 1 2 3 4
I type 1 2 3 4.
so in the script i can do stuff like
echo $1 $2 $3 $4
and such...
i was just doing echo "1 2 3 4"|bash script
But was wondering how could I... (5 Replies)
Discussion started by: biopulse
5 Replies
8. Shell Programming and Scripting
Hello, i know how to retrieve a user input (read), and how to manage the different options (case statement).
But... could anybody show me a script that, if the user option is incorrect, don't allow to continue the excution, i.e., if the value entered is not 1 or 2, the script shows a question.
... (2 Replies)
Discussion started by: aristegui
2 Replies
9. Programming
Does anyone know how do you determine the user idle time of STDIN in order to log the user out for being idle too long. I would like to write a c program to do this but I it is not clear upon how to determine idle time from keyboard input. I have found that the "who.c" source file uses the last... (4 Replies)
Discussion started by: cpaquette
4 Replies
10. Shell Programming and Scripting
Setup Info:
This User Id and Password mention below are being used with the ISQL command to connect to a sybase database so they are likely to not be the same as those that were signed on from the session.
Situation:
Using a korn shell, the shell prompts for a User Id and Password. During the... (1 Reply)
Discussion started by: anthreedhr
1 Replies
itemap(1M) itemap(1M)
NAME
itemap - load an ITE (Internal Terminal Emulator) keyboard mapping.
SYNOPSIS
[options]
DESCRIPTION
The command loads a keyboard mapping into the ITE (the graphics console driver), or displays ITE keyboard mappings. is run by automati-
cally. It is not usually explicitly invoked by the user.
Options
Dump a keymap to standard output in hexadecimal notation.
Load the specified keymap into the kernel mapping table
used for keyboards.
Interactively prompt for a
keyboard mapping. scans the keymap database file for all mapping names beginning with a prefix. Each of these names is
displayed, and one must be selected.
The name of the keymap database file to be used for input.
The default is
Load the appropriate keymap.
scans the hardware for a keyboard, determines the language of that keyboard, and loads the keymap corresponding to that
keyboard.
Because cannot determine the language of keyboards, use the option when using with keyboards.
Load a specified keyboard map.
Once loaded, ITE uses the specified mapping.
When loading a keyboard mapping with the option, matches the suffix of the name of the specified keyboard mapping with
those found in to determine the keyboard language. This information is used by the ITE to perform ISO 7-to-8 bit conver-
sion. Keymap names added by users, via
should use the same suffixes as those already used in For example, a French keyboard mapping can be named for consistency
with existing and mappings. A mapping called would not match any suffix patterns found by itemap, and would result in
incorrect ISO 7-to-8 bit conversion.
Load the specified keymap into the kernel mapping table
used for keyboards.
Perform actions verbosely.
If a keymap for a
keyboard is loaded, write its name to file_name.
EXAMPLES
To automatically install the correct mapping for an keyboard:
To explicitly load the mapping for an keyboard:
To explicitly load the mapping for a keyboard:
To interactively choose a keyboard mapping:
To generate a list of the available keyboard mappings:
FILES
Keymap database editor
System keymap database
Contains mapping name configured for keyboards
SEE ALSO
ps2(7), termio(7), keymap_ed(1X111).
itemap(1M)