07-21-2003
CTRL+H versus ^? versus BACKSPACE
Hi Gurus!
I recently got my shell account (HP UX v11) created by our sysadmin and am having problem deleting with the backspace key.
After doing some reading, I believe I need to enter a custom "STTY..." statement in my profile.
Can someone please help me with the correct "STTY" sequence to put in my .profile? I would like to be able to use the BACKSPACE key instead of CTRL+H.
Thanks in advance for your help!
Al.
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
Can someone explain how to distinguish a LF character and a CR/LF character in a text file from a shell script.
Thanks (1 Reply)
Discussion started by: jerardfjay
1 Replies
2. AIX
HI folks,
Actually i have a network engineer having 2 and 1/2 years of experience in cisco having CCNA certification also. Now my company offering me to move to AIX field. I am new to AIX and do not know more about that field. So i want a suggestion from you peoples, that I have to join AIX or... (5 Replies)
Discussion started by: rawatmohinder
5 Replies
3. UNIX for Advanced & Expert Users
Could anybody tell me how I can disable or enable the backspace key in vi editor.
I would like to feel the essence of the commands of vi editor but as I have the latest version and it is supporting the backspace key.
I do it on promp using the command
stty erase -
This command stops the... (5 Replies)
Discussion started by: mobile01
5 Replies
4. UNIX for Advanced & Expert Users
I am copying a file system to another one. someone suggest me use
find . -print |cpio -pdmv
but I think cp -r should do the same thing. Am I right?
In addition, by using " find . ", I got all the file names,, why do I have to use the -print option?
Thanks a lot! (1 Reply)
Discussion started by: fredao
1 Replies
5. Shell Programming and Scripting
Hello ALL,
I am looking for a comparison in 2 commands using awk and cut that would replicate the following command below.
This is completely for speed reasons checking apache logs for unique IPs.
Contender #1
awk '{!a++}END{for(i in a) if ( a >10 ) print a,i }' access_log
I need a... (6 Replies)
Discussion started by: jaysunn
6 Replies
6. Shell Programming and Scripting
Hi All,
I know difference between shell(s) we are using, ie. sh, bash etc.
But while writing shell script, is there any difference which shell I am using. and if yes, what are they? (4 Replies)
Discussion started by: Deei
4 Replies
7. Solaris
hi guys
In a few days I will be working in a new Job my new chief told I will be using Solaris and since I know Centos-Red Hat-Fedora
I would like to know if Solaris is that different from Centos and my other linux Flavors...
by the way any good solaris manual
thanks a lot (1 Reply)
Discussion started by: karlochacon
1 Replies
8. SCO
Hi,
We have a Unix 3.2v5.0.5.
I installed a printer via scoadmin, HP network printer manager with network peripheral name an ip-adress.
This is the configuration file :
Code:
root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice: /dev/null
Interface:... (2 Replies)
Discussion started by: haezeban
2 Replies
trans(1) General Commands Manual trans(1)
NAME
trans - translation tool for use with source message catalogs
SYNOPSIS
trans [-c] [-o name] file.msg
OPTIONS
Display comment lines beginning with a dollar sign ($) for translation, in addition to messages. Call the output file name. The default is
output file name is trans.msg.
DESCRIPTION
The trans command assists in the translation of source message catalogs. The command reads input from file.msg and writes its output to
either a file named trans.msg or a file you name on the command line. The command displays file.msg in a multiple window screen that lets
you simultaneously see the original message, the translated text you enter, and any messages from the trans command. This multiple window
screen is easier to use for translating messages than a single window screen.
The top window in the multiple window screen displays the text in the message source file file.msg. The editor displays the current message
in reverse video.
In the center window, trans displays a prompt that asks you to enter a translated message. You use a control key editor to move the cursor
and delete text in the center window. The control key sequences are defined as follows:
------------------------------------------
Key Sequence Meaning
------------------------------------------
CTRL/k Display control key help
CTRL/h Back space
CTRL/l Forward space
CTRL/w Back word
CTRL/f Forward word
CTRL/e Move to end of input
CTRL/b Move to beginning of input
CTRL/n Next line
CTRL/p Previous line
CTRL/u Delete input
CTRL/i Insert mode (default)
CTRL/r Replace mode
DEL Delete previous character
------------------------------------------
If you need to span more than one line with the translated text, type a backslash () and press the RETURN key to enable line continuation.
After you finish entering the translated text, press the RETURN key to signal that you have finished translating that message.
The bottom window displays any messages generated by trans. If an error occurs, trans prompts you to re-enter the entire line, including
the message label or number.
RESTRICTIONS
Your terminal must be 80 columns by 24 lines for trans to display its three-window screen.
You cannot interrupt a trans session and restart it at the point you stopped. You must complete the all the changes to a file before exit-
ing a file.
SEE ALSO
extract(1), gencat(1), strextract(1), strmerge(1)
Writing Software for the International Market
trans(1)