Sponsored Content
Top Forums Programming get input whithout inputs echoing in screen Post 31038 by Perderabo on Thursday 31st of October 2002 09:20:47 AM
Old 10-31-2002
getpass() is one option. But it's rather limited. Other than that you will need to use the termio or termios stuff. See this post for an example of using them.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

echo not echoing correctly

Here is the file named tuwork.......... 209 200 WZ 6529 SKTNCA01X4X C POI LODI LODI 738 SKTNCA0127T LOD Here is the scipt....... cat tuwork | while read rva do num=`echo $rva | cut -d" " -f1-2` reg=`echo $rva | cut -c10` ocn=`echo $rva | cut -c12-15` x=`echo $rva | cut -c29`... (3 Replies)
Discussion started by: shorty
3 Replies

2. Shell Programming and Scripting

pop out screen with user input

is it possible to have a small screen pop out on text-unix (no gui unix) and wait for user input? i have an EOD process that i need to execute, the problem is the developer needs to be properly remove from the system. the problem is, the developer is the boss, you can't force them out of the... (5 Replies)
Discussion started by: venerayan
5 Replies

3. Shell Programming and Scripting

Echoing

I was just wondering how you would echo out different length variables but still have them all line up. I tried putting tabs between the variables but that didn't work as planned. For example this is in some loop, with different variables in it each time: echo "$1 $2 $3 $4 $5" Appears like... (3 Replies)
Discussion started by: Okema
3 Replies

4. Shell Programming and Scripting

read several inputs and if none input set to 9999

need a script that goes something like this #!/usr/bin/bash echo "input up to TEN values, separated by spaces" read vari1 vari2 vari3 vari4 vari5 vari6 vari7 vari8 vari9 vari10 #set null variables to 9999 (somehow?) #now echo all variables echo $vari1 $vari2 $vari3 $vari4 $vari5 $vari6... (1 Reply)
Discussion started by: ajp7701
1 Replies

5. Shell Programming and Scripting

Needing to wait for a line on screen and then give input repeatedly

So I have a weird question for my unix shell script. I wrote a shell script that does several things, but one of the things it does is call an executable. The executable then proceeds to start asking me questions, which it won't proceed until an input is entered. The answer to the questions is... (4 Replies)
Discussion started by: HelpMeProgram
4 Replies

6. Red Hat

command line tool to disable screen lock and/or screen saver

Hi, I have a simple question : how to disable screen lock and/or sreen saver with command line with RHEL5.4 ? (1 Reply)
Discussion started by: albator1932
1 Replies

7. Shell Programming and Scripting

Echoing silently?

I know, sounds mutually exclusive :-) I have a script where I ask for a password and store it in a variable, and then use it with sudo on an array of other hosts. The password winds up being choed back to my terminal as well as to the process on the remote host, like: Attempting to update... (2 Replies)
Discussion started by: jnojr
2 Replies

8. Shell Programming and Scripting

Echoing only once for each subdir

I have a script that runs from this: for i in * ; do (cd $i && echo $i && /test1/execute/testb);done this is testb: for file in `ls *.txt` do if && && && && && ; then echo "NO"; break 1; else echo "it is there" fi done What is happening is that I can get it to run a... (19 Replies)
Discussion started by: newbie2010
19 Replies

9. Shell Programming and Scripting

View on screen text file and enter input

Is the below correct syntax for if the user enters something other than "GJB2 or MECP2, or PHOX2B", then they are shown on the screen format.txt and allowed to enter in one of those formats? Thank you :). Basically, the user can see which formats are allowed and enter a variant while viewing... (7 Replies)
Discussion started by: cmccabe
7 Replies

10. Shell Programming and Scripting

Update Statement User menu input screen

Hi Guys, Any good reference for me to perform user database update statement on table which has quite number of fields could be updated depend on user specified column name and the value to assign. All the approaches are welcome and appreciated. Thanks. (1 Reply)
Discussion started by: ckwan123
1 Replies
SCREEN-IR(1)							   Axel Beckert 						      SCREEN-IR(1)

NAME
screen-ir -- Interactively Reattach to GNU Screen sessions SYNOPSIS
screen-ir [additional screen options ...] DESCRIPTION
screen-ir uses iSelect(1) to interactively reattach to running screen sessions. Use the screen option -d or -D if you want to reattach to attached screen sessions. Use the screen option -x if you want to attach to screen sessions without detaching them. FILES
screen-ir sources ~/.screen-irrc if it exists. It recognizes two variables: The contents of SCREEN_OPTIONS is given to screen(1) as command-line options. Default is -r. Use e.g. -rd if you always want to reattach to already attached screen sessions. The contents of ISELECT_OPTIONS is given to iselect(1) as command-line options. Default is empty. Use e.g. -f if you always want to see the interactive selection, even if there's only one screen session running, i.e. you have no choice. AUTHOR
Axel Beckert <abe@debian.org> SEE ALSO
screen(1), iselect(1) EN
2011-09-04 SCREEN-IR(1)
All times are GMT -4. The time now is 08:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy