10-02-2008
Disable Function Key F3 from Unix
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 [fk3].
Unfortunately this is disabling all the function keys.
Is there a way in which i can disable only the F3 key.
9 More Discussions You Might Find Interesting
1. 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
2. UNIX for Advanced & Expert Users
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... (1 Reply)
Discussion started by: ust
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. Shell Programming and Scripting
Hello Guys,
I need your help. I am trying to create a script to change password for multipls servers but having problem when it comes to ssh key authentication. Does anyone have a sample script that will disable ssh key authentication for multiple servers?;) (3 Replies)
Discussion started by: youdexter
3 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. Shell Programming and Scripting
Hi All,
I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:(
Thanks,
Rico (1 Reply)
Discussion started by: carnegiex
1 Replies
7. Shell Programming and Scripting
Hi Experts,
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
6 Replies
8. Red Hat
Hi,
We all know as we can connect remote system through ssh without entering username and password by copy the public key to remote host using ssh-copy-id. But my query is to i want to restrict the user as do not implement this feature.Whenever he is trying to login, he has to enter his/her... (1 Reply)
Discussion started by: mastansaheb
1 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
LEARN ABOUT DEBIAN
emvendor
EMVENDOR(1) User Contributed Perl Documentation EMVENDOR(1)
Name
emvendor - retrieve vendor-specific package configuration strings
Synopsis
emvendor -V|--vendor VENDOR -p|--package PACKAGE -k|--key KEY
emvendor -?|-h|--help|--version
Commands
-v|--vendor VENDOR: the vendor name from dpkg-vendor
-p|--package PACKAGE: the package name (usually source)
-k|--key KEY: arbitrary string for the key of the data
All commands must be specified every time.
On success, the string is printed and emvendor exits with zero.
In the case of error, emvendor dies with an empty string on STDERR and exits with a non-zero return value.
Description
emvendor provides a way for debian/rules to call in a string for a particular package that fits into the rules for that package and
conforms to the requirements of the vendor.
http://wiki.debian.org/EmdebianAuditDetail#Vendor
It is fairly obvious that specifying each vendor in the debian/rules file of each package is not going to be particularly flexible.
DEB_VENDOR=$(shell dpkg-vendor --query vendor)
ifeq (Debian,$(DEB_VENDOR))
# Debian build
EXCONFARGS=--disable-mono --disable-monodoc
else
# any-vendor build
EXCONFARGS=$(shell emvendor --vendor $(DEB_VENDOR) --package avahi --key EXCONFARGS)
endif
or use the short options:
EXCONFARGS=$(shell foo-bar -V $(DEB_VENDOR) -p avahi -k EXCONFARGS)
The values themselves are in a vendor-specific conf file in /etc/emvendor.d/
$ cat /etc/foo-bar.d/emdebian-crush
[avahi]
EXCONFARGS=--disable-mono --disable-monodoc --disable-python
--disable-doxygen-doc --disable-pygtk --disable-python-dbus
--disable-core-docs --disable-qt3 --disable-qt4 --disable-gobject
--with-distro debian
[busybox]
foo=
(Note that the value has to be all on one line which is a little awkward - also note that values are not able to include the equals sign
which could be more of an issue.)
Packages that need two strings can do so - the key string is entirely arbitrary as long as it fits in the style of a typical ini file.
Therefore, the key can be matched to the needs of the relevant package.
"emdebian-buildsupport" provides /etc/emvendor.d/emdebian-crush with all the content for all packages that need such details.
emvendor and dpkg-vendor
dpkg-vendor supports vendor functionality but emvendor adds an extra hierarchy, organised by Debian source package name. It would be
possible to include the relevant strings in /etc/dpkg/origins/vendor but each identifier string would need to be unique across all packages
for each vendor, which is an unrealistic limitation.
perl v5.14.2 2012-09-26 EMVENDOR(1)