04-29-2008
replace key function
in my system , the ctrl-C is not work ( ctrl-C should be used to break the running process ) , but ctrl-Z works , I don't know why ctrl-C is not work , I still can't find the reason . Now I would like to replace its function --> if the user press ctrl-Z then it will send the same command as ctrl-C to our system , is it possible ? thx
10 More Discussions You Might Find Interesting
1. Programming
Hi all,
I've got the problem which I can't resolve with my knowledge :)
For xterm terminal we have resource class XTerm*backarrowKey. If we set it to true, backspace code (ASCII 0x8) will be sent to program. We can get it using e.g. getc() function. If it is disabled getc() returns DEL(0x7F). ... (0 Replies)
Discussion started by: dmitryb
0 Replies
2. SuSE
I am using informix RDBMS over SUSE LINUX. In linux if you press control-c it acts as an interrupt key. In my program I have used control-c to perform certain functions but it is being overriden by interrupt function of control-c key combination of SUSE LINUX. Kindly suggest me a solution by which... (1 Reply)
Discussion started by: V.V.KUMAR
1 Replies
3. UNIX for Dummies Questions & Answers
My ncurses program has been displaying "OP" (junk) on pressing F1 (instead of catching it). I have finally discovered that it runs fine (traps F1) when run under screen (program), but not in my login terminal (xterm-color)
I did a check of "Set" and "env" under screen, there is a "TERMCAP"... (0 Replies)
Discussion started by: sentinel
0 Replies
4. UNIX and Linux Applications
hie. i would want to disable the function key F3 from Unix Sco. I could not do this from my apllication due to its limitatation. i included the following line in the .profile file
stty susp .
Unfortunately this is disabling all the function keys.
Is there a way in which i can disable... (1 Reply)
Discussion started by: kud
1 Replies
5. Shell Programming and Scripting
Hi,
I am new to PERL.I want to sort all the lines in a file based on 1,2 and 4th filelds.
Can U suggest me a command/function in perl for this operation.. (5 Replies)
Discussion started by: karthikd214
5 Replies
6. UNIX for Advanced & Expert Users
Hi everyone
I am new to Unix. I got stuck up by small issue.
I have text file something like this
abc 'xyz' '5'
lmn 'pqr' '7'
i want to replace the abc 'xyz' '5' to abc 'xyz' '6'
but i have a key as 'xyz' based on this key i want to do that.
I am not aware of how to use sed... (7 Replies)
Discussion started by: Vijayaragavan
7 Replies
7. Shell Programming and Scripting
Dear Friends,
I am looking for a way how to find and replace a value in two files using a reference a file where are the key to replace.
Basically, I want to keep a copy of the original file and make a new one in order to compare at the end that the change was done whitout change the rest of... (26 Replies)
Discussion started by: jiam912
26 Replies
8. Shell Programming and Scripting
Hi All,
I have a XML file which is looks like as below. <<please see the attachment >>
<?xml version="1.0" encoding="UTF-8"?>
<esites>
<esite>
<name>XXX.com</name>
<storeId>10001</storeId>
<module>
... (4 Replies)
Discussion started by: Rajeev_hbk
4 Replies
9. SuSE
Hello all. We have running one xubuntu VM on VMware. On this Desktop System 12.03 32 BIT we connect us through x2go.
From this System, we go to by rdesktop to an opensuse vm. But there, our <> key does not work. It is an opensuse VM.
The keyboad layout is german, 105 Keys.
Any Idea? (0 Replies)
Discussion started by: ortsvorsteher
0 Replies
10. Shell Programming and Scripting
Hi,
I am new to shell scripting. I have a config file where key and value is stored as below. In my shell script, I want to look for Test ID in the config file and replace the value 1 with another value stored in a variable. How would I do that ?
<Config Key="Test ID" Value="1"/>
I... (6 Replies)
Discussion started by: Vishnuvardhanh
6 Replies