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
profile(4) Kernel Interfaces Manual profile(4)
NAME
profile - set up user's environment at login time
DESCRIPTION
If the file exists, it is executed by the shell for every user who logs in. The file should be set up to do only those things that are
desirable for every user on the system, or to set reasonable defaults. If a user's login (home) directory contains a file named that file
is executed (via the shell's before the session begins. files are useful for setting various environment parameters, setting terminal
modes, or overriding some or all of the results of executing
EXAMPLES
The following example is typical (except for the comments):
# Make some environment variables global
export MAIL PATH TERM
# Set file creation mask
umask 22
# Tell me when new mail comes in
MAIL=/var/mail/myname
# Add my /bin directory to the shell search sequence
PATH=$PATH:$HOME/bin
# Set terminal type
echo "terminal: c"
read TERM
case $TERM in
300) stty cr2 nl0 tabs; tabs;;
300s) stty cr2 nl0 tabs; tabs;;
450) stty cr2 nl0 tabs; tabs;;
hp) stty cr0 nl0 tabs; tabs;;
745|735) stty cr1 nl] -tabs; TERM=745;;
43) stty cr1 nl0 -tabs;;
*) echo "$TERM unknown";;
esac
A more complete model can be found in
FILES
SEE ALSO
env(1), login(1), mail(1), sh(1), stty(1), su(1), environ(5), term(5).
profile(4)