Sponsored Content
Full Discussion: accept user input?
Top Forums UNIX for Dummies Questions & Answers accept user input? Post 302310733 by JamieMurry on Sunday 26th of April 2009 09:25:45 PM
Old 04-26-2009
accept user input?

how would i accept user input from the keyboard?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Accept user input - only numbers

I have a situation where I want the user to enter only numbers in response to a READ command. I have some validation to restrict the number to be between 1 and 12, but if the user type in some characters the script echoes some error message and goes to the next command. Below is a snippet of the... (1 Reply)
Discussion started by: pvar
1 Replies

2. Shell Programming and Scripting

Accept input parameters

Dear All, I got a table creation file in a standard format. I need to accept parameters from the user & then based on the input change the data in the file. For. eg. i will accept the database name, dbspace name & user name from the user and accordingly change the same in the table creation... (2 Replies)
Discussion started by: lloydnwo
2 Replies

3. Shell Programming and Scripting

How to prompt for input & accept input in ONE line

hi, am a new learner to shell programming. i have a script which will prompt for user to key in their name & display their name afterwards. script ===== echo "Pls enter your name:" read name echo "Your name is $name." output ===== Pls enter your name: Bob Your name is Bob. what... (2 Replies)
Discussion started by: newbie168
2 Replies

4. UNIX for Dummies Questions & Answers

Command to accept input

I am trying to write a one line command for Oracle grid control. I am using a semi-colon to separate the commands. But, I am having a problem with a shell script accepting input. Wondering if you can help. Here is what I am trying to do: (PGPRD5432)@prd01:/> cd /export/home/postgres ##... (3 Replies)
Discussion started by: rexmabry
3 Replies

5. Shell Programming and Scripting

How to accept multiple input in a same variable

Hi All, I am trying to write a script in which I need to accept multiple value in the same variable. The case Is that I have put a FOR loop and inside the FOR loop I am accepting a variable value. And I require all the values which gets inputted in the variable. To be... (5 Replies)
Discussion started by: rahulmittal87
5 Replies

6. Shell Programming and Scripting

SQL PLUS Command 'ACCEPT' is not waiting for user input with sh shell script

Dear All, The sqlplus 'Accept' command is not waiting for user input when I include the command within a shell script. Note: The 'Accept' command is working fine if I execute it in a SQLPLUS Prompt. Please fins the below sample script which i tried. SCRIPT: -------- #!... (4 Replies)
Discussion started by: little_wonder
4 Replies

7. UNIX for Advanced & Expert Users

Gedit semi-frozen/hangs; does not accept keyboard/mouse input

I have a very weird problem with the gedit 2.30.3 text editor on GNOME 2.30.2 (Ubuntu Linux 10.04 LTS): Any and all mouse clicks and key-presses into the gedit window are summarily ignored. When I say the gedit window, I mean the gedit window proper, the window contents, not the decoration of... (1 Reply)
Discussion started by: ropers
1 Replies

8. Programming

How to accept multiple lines input from User in C?

Hi I want to accept multiple lines input with spaces from User and i have a working code like this. char sRes; char sReq; printf("Please enter request:"); scanf("%",sReq); /* Accept the input from user */ printf("\nPlease enter response:"); scanf("%",sRes); but the... (4 Replies)
Discussion started by: AAKhan
4 Replies

9. Shell Programming and Scripting

accept input on an echo output

echo (some info) read? <&1(not working for me) (1 Reply)
Discussion started by: robin_simple
1 Replies

10. Shell Programming and Scripting

Shell script to accept user input on the fly

I want a shell script that accepts user input simultaneously when performing other tasks. Example: A shell script should echo some messages on the console and when the user presses some keys it should respond to that action. say, when user presses the key A - more information should be printed... (2 Replies)
Discussion started by: Arun_Linux
2 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)
All times are GMT -4. The time now is 10:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy