04-30-2008
if you run the command
stty intr "^F"
then ^F works as a ^C
you can do the same for ^C
stty intr "^C"
now your ^C will works as you expected, let me know if you face a problem
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello.
I have a question. I need to activate the F1 key for an application, because when i enter by doing "telnet ..." my F1 key doesn't do anything.
Any idea? (2 Replies)
Discussion started by: Elrond
2 Replies
2. Cybersecurity
Hi,
When logging in using SSH access (to a remotely
hosted account), I received a prompt to accept
a server's key fingerprint. Wrote that string
of code down for comparision.
Already emailed my host for their listing of the
string of code for the server's key fingerprint
(for comparison,... (1 Reply)
Discussion started by: Texan
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Whenever i press the backspace key, a new line appears, i.e. it works like a enter key. :confused:
Thanks (2 Replies)
Discussion started by: vibhor_agarwali
2 Replies
4. UNIX for Dummies Questions & Answers
remembering vi or pico commands? (2 Replies)
Discussion started by: kp400sf
2 Replies
5. Linux
Hi All,
I got this message:
# rpm -Uvh perl-suidperl-5.8.5-36.el4_6.3.x86_64.rpm perl-5.8.5-36.el4_6.3.x86_64.rpm
warning: perl-suidperl-5.8.5-36.el4_6.3.x86_64.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ###########################################
1:perl ... (1 Reply)
Discussion started by: itik
1 Replies
6. Shell Programming and Scripting
hi
i remember sometime back working in unix, when u dont recall a complete file name..u hit ESC key couple of times and actual complete name of that file which u looking for , gets visible
For this to be enabled , do we need to make any entry in .profile file.
In my current project, am... (3 Replies)
Discussion started by: sureshg_sampat
3 Replies
7. Solaris
Hi, I've used the following way to set ssh public key authentication and it is working fine on Solaris 10, RedHat Linux and SuSE Linux servers without any problem. But I got error 'Server refused our key' on Solaris 8 system. Solaris 8 uses SSH2 too. Why? Please help. Thanks.
... (1 Reply)
Discussion started by: aixlover
1 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
STTY(3) BSD Library Functions Manual STTY(3)
NAME
stty, gtty -- set and get terminal state (defunct)
LIBRARY
Compatibility Library (libcompat, -lcompat)
SYNOPSIS
#include <sgtty.h>
stty(int fd, struct sgttyb *buf);
gtty(int fd, struct sgttyb *buf);
DESCRIPTION
These interfaces are obsoleted by ioctl(2). They are available from the compatibility library, libcompat.
The stty() function sets the state of the terminal associated with fd. The gtty() function retrieves the state of the terminal associated
with fd. To set the state of a terminal the call must have write permission.
The stty() call is actually 'ioctl(fd, TIOCSETP, buf)', while the gtty() call is 'ioctl(fd, TIOCGETP, buf)'. See ioctl(2) and tty(4) for an
explanation.
DIAGNOSTICS
If the call is successful 0 is returned, otherwise -1 is returned and the global variable errno contains the reason for the failure.
SEE ALSO
ioctl(2), tty(4)
HISTORY
The stty() and gtty() functions appeared in 4.2BSD.
BSD
June 4, 1993 BSD