04-06-2008
Perderabo
In your script the key combination for backspace is \\b\\c. How did you get that ? And how do you go about getting the key combination for other characters ?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I tried searching for similar threads. Couldn't get any for Expect scripting.
I am trying automate a task which requires login to a machine. The user
would be prompted for the password. Now, I want this input to be hidden
from being displayed on the screen.
Is there... (1 Reply)
Discussion started by: sudhir_onweb
1 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
Appreciate if anyone can help. I've a script where it does echo function like this
while
do
FILE_ARG="cu0${w}_${FILE}_${DT}.av"
ORACLE_ERROR=`grep "ORA-" ${FILE_ARG}`
if ]; then
Func_Log_Writer "Fail! ${FILE_ARG}\n"
Func_Log_Writer "Error message:... (2 Replies)
Discussion started by: agathaeleanor
2 Replies
3. UNIX for Dummies Questions & Answers
hi,
I have a for loop where in I write some file name to another file.
I want to write all the filenames to another without any newlines. how can i avoid getting new lines with echo?
Thanks,
Srilaxmi (2 Replies)
Discussion started by: srilaxmi
2 Replies
4. HP-UX
hi all,
I am using HP-UX system.
I want echoing * characters while reading password through keyboard instead of blank space.
can u help me for that code?
Thanks (1 Reply)
Discussion started by: hari_uctech
1 Replies
5. Shell Programming and Scripting
hi all,
I am using HP-UX
I want to show password with * instead of space on screen while i entered password through keyboard. can you tell me that shell script code?
i used following code
stty -echo
read pass
stty echo
echo $pass
but this time it wont show anything on... (5 Replies)
Discussion started by: hari_uctech
5 Replies
6. Shell Programming and Scripting
Hi,
I have a test.txt and would like to put in a different file but while putting in the other file, blank spaces are missing.
$ indicates blank spaces
filename: test.txt:
USA$$$840$$$$
Desired output
USA$$$840$$$$
Current output as per the following code.
while read j;
do... (3 Replies)
Discussion started by: techmoris
3 Replies
7. UNIX for Dummies Questions & Answers
Hello every one and thanks in advance for the time you will take to think about my problem.
I would like to know if it's possible (in BASH) to read a text file character after character.
Exactly this is what I would like to do :
Txt file : ATGCAGTTCATTGCCAAA...... (~2.5 millions... (3 Replies)
Discussion started by: sluvah
3 Replies
8. Shell Programming and Scripting
Hi Guys,
I have a big file like this. It has cache group line ( the bold lines ) and then followed by 10 status lines showing either Compelte or Failed. This pattern repeats several time. We can assume all the status lines have either Complete or Failed status for that Cache Group line.
I... (13 Replies)
Discussion started by: MKNENI
13 Replies
9. Shell Programming and Scripting
Hi friend,
i have the following problem:
when i am writting the below command on the command prompt , its working.
while read -n 1 ch; do echo "$ch" ; echo "$ch" ; done<file_name.out.
but when i am executing it after saving it in a ksh file, its not working.
Please helppppppppp .. thankss... (18 Replies)
Discussion started by: neelmani
18 Replies
10. Shell Programming and Scripting
Hi All,
I am trying to read a file character by character,
#!/bin/bash
while read -n1 char; do
echo -e "$char\c"
done < /home/shak/testprogram/words
Newyork is a very good city.
Newyorkisaverygoodcityforliving
I need to preserve the spaces as thats an... (3 Replies)
Discussion started by: Kingcobra
3 Replies
LEARN ABOUT CENTOS
xcb_ungrab_key
xcb_ungrab_key(3) XCB Requests xcb_ungrab_key(3)
NAME
xcb_ungrab_key - release a key combination
SYNOPSIS
#include <xcb/xproto.h>
Request function
xcb_void_cookie_t xcb_ungrab_key(xcb_connection_t *conn, xcb_keycode_t key, xcb_window_t grab_window, uint16_t modifiers);
REQUEST ARGUMENTS
conn The XCB connection to X11.
key The keycode of the specified key combination.
Using the special value XCB_GRAB_ANY means releasing all possible key codes.
grab_window
The window on which the grabbed key combination will be released.
modifiers The modifiers of the specified key combination.
Using the special value XCB_MOD_MASK_ANY means releasing the key combination with every possible modifier combination.
DESCRIPTION
Releases the key combination on grab_window if you grabbed it using xcb_grab_key before.
RETURN VALUE
Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event loop.
If you want to handle errors directly with xcb_request_check instead, use xcb_ungrab_key_checked. See xcb-requests(3) for details.
ERRORS
xcb_window_error_t
The specified grab_window does not exist.
xcb_value_error_t
TODO: reasons?
SEE ALSO
xcb-requests(3), xev(1), xcb_grab_key(3)
AUTHOR
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
XCB
2014-06-10 xcb_ungrab_key(3)