10 More Discussions You Might Find Interesting
After I do CTRL-" to show all of my screen sessions, I typically use the up and down arrows to navigate up and down.
Suddenly this has changed, and instead only "j" and "k" seem to work for up and down.
This has changed in the middle of my screen session. First one changed, and then the... (1 Reply)
Discussion started by: akbar
2. Shell Programming and Scripting
This is a bit off the wall, but I often need to run scripts where there are argument values that contain special characters.
$ ./process.exe -t M -N -o temp.mol.s -i ../molfiles/N,N\',N\'\'-trimethylbis\(hexamethylene\)triamine.mol && sfile_space_to_tab.sh temp.mol.s temp.s
It... (1 Reply)
Discussion started by: LMHmedchem
3. Shell Programming and Scripting
I need to know how to test a pressed key is arrowup or arrowdown and etc..
I found that the "echo" won't print anything if i enter the arrowup in the below code:
echo "you pressed $REPLY"
Then i find a way to achieve my goal.
1 #! /bin/bash
3 ARROWUP='\;then... (4 Replies)
Discussion started by: homeboy
4. Shell Programming and Scripting
I have a script in which I want to disable the "Enter" key press. Actually my script executes some process in background. So, till that background process is running, I don't want "Enter" key to be pressed by user. Is this can be achieved using trap command? (6 Replies)
Discussion started by: R0H0N
5. Shell Programming and Scripting
I'm trying to create a script that waits a given amount of time unless a given key is pressed. I found a very useful thread here
however, I cannot figure out a way of avoiding the keypress if the... (2 Replies)
Discussion started by: cue
6. Shell Programming and Scripting
hi Gurus, please why is this happening:
when i run this:
declare -a name
declare -a ph
declare -a eid
echo " name phone email_id"
#if ; then
echo -n "field $i:"; read name ph eid;
... (5 Replies)
Discussion started by: tprayush
7. Shell Programming and Scripting
I want to write a shell script in bash shell .
Working for the script is to detect any key pressed and disply on screen as
"you have pressed: "
For example if user pressed F5 then a messaged has to be displayed as
"you have pressed F5.
Thank you. (4 Replies)
Discussion started by: pradeepreddy
8. UNIX for Dummies Questions & Answers
I couldn't seem to make 'HOME' key work on my remote windows ssh client to a Fedora Core3 server (the home key works perfectly when i'm physically on site.)
To my surprise, using control+V it seems that both my home and insert key send the same escape sequence ^So it must be my windows SSH client... (0 Replies)
Discussion started by: grossgermany
9. Shell Programming and Scripting
I want my program(ksh) to execute further only if the return key is pressed.
i have already tried "\n", "\r", "^M" .
Thanks in advance (2 Replies)
Discussion started by: AiK
i´m making a program, and i would like to know how can i know what key was pressed. i'm using Sun5.7 and C.
is there a keypress/keypressed function in C?
how can i know recognize the keys (enter, tab, shift, etc.)?
can i recognize two keys ? (shift+A, ctrl+C, etc)
any idea.. thanks (4 Replies)
Discussion started by: DebianJ