06-25-2005
I agree that vi is the way to go. And if you know vi, you'll be able to use line editors such as ex and ed when you're using some screwy old terminal or coming in via a really slow modem or serial link.
Learning vi is a *huge* investment, and will be an invaluable skill to add to your Unix skillset....
BTW for those who are unsure - vi is pronounced Vee Eye. We've got people at work who pronounce it "Vie" and that is
definitely not the done thing
How we snigger
Cheers
ZB
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello everybody,
My question is: how to add /tmp/work at the end of line in vi editor.
my file looks like:
cp file1
cp file2
cp file3
****
I need to add " /tmp/work" at the end of each line.
I tried this
:%s/$/" /tmp/work"
and this
:%s/$/\ /tmp/work\/
but it does not work. (2 Replies)
Discussion started by: billy5
2 Replies
2. HP-UX
I'd like to find some editor for HP-UX, something like notepad, but not VI editor. Can someone have some ideas which one?
thx (6 Replies)
Discussion started by: diamond
6 Replies
3. UNIX for Advanced & Expert Users
Hi,
how can I add at the begining and at the end of all of the lines of my text file in VI editor ? Many thanks before.
for exemple if in my file i have
line 1
line 2
I want to have :
start line 1 end
start line 2 end (3 Replies)
Discussion started by: alain123456
3 Replies
4. UNIX Desktop Questions & Answers
We work on AIX 5L
We use vi as text editor (only scripts to create and modifiy).
What do you think of emacs ? Where can I find it ?
Do you know better text editor for scripts ?
Thank you for all answers. (1 Reply)
Discussion started by: annemar
1 Replies
5. HP-UX
I am new in hp ux and I want work with vi editor, but in hp ux vi editor the backspaes and del keys doesn't work.
how can I enable them.
thanks (3 Replies)
Discussion started by: hkoolivand
3 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I knw its a silly question, but am a newbie to 'vi' editor. I'm forced to use this, hence kindly help me with this question.
How can i paste a chunk 'copied from' a different editor(gedit) in 'vi editor'?
As i see, p & P options does work only within 'vi'. (10 Replies)
Discussion started by: harishmitty
10 Replies
7. Shell Programming and Scripting
Hi All,
I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by
set EDITOR=vi it does not open a vi editor , rather it do as below.....
/////////////////////////////////////////////////////
$ set... (6 Replies)
Discussion started by: aarora_98
6 Replies
8. Solaris
Epic Editor was not able to obtain a license for your use. Feature Epic Editor :License server is down (1 Reply)
Discussion started by: durgaprasadr13
1 Replies
9. Shell Programming and Scripting
How can ` character be printed on vi editor ?
empl_id=`echo $line | awk ' { print $1; } '` (2 Replies)
Discussion started by: senem
2 Replies
10. Shell Programming and Scripting
Hello All,
Need one Help for one issue.
I am using a French Keyboard, so @ sign is on key 0 and i have to use right Alt + 0 to print it.
It is working everywhere but not inside Vi editor. I can type @ in shell, in notepad. But inside Vi editor it is not working, another problem is that if... (2 Replies)
Discussion started by: yadavricky
2 Replies
TERM(1) General Commands Manual TERM(1)
NAME
term - turn PC into a dumb terminal [IBM]
SYNOPSIS
term [baudrate] [parity] [bits_per_character] [-dial_string] [device]
EXAMPLES
term 2400 # Talk to modem at 2400 baud
term 1200 7 even # 1200 baud, 7 bits/char, even parity
term 8 9600 /dev/tty01
# 9600 baud, 8 bits/char, no parity, use tty01
term -atdt12345 /dev/tty01
# Start with a command to dial out
DESCRIPTION
Term allows MINIX to talk to a terminal or modem over RS232 port 1. The program first sets the baudrate, parity and character length, and
then forks. The parent sits in a loop copying from stdin (usually the console's keyboard), to the terminal or modem (/dev/tty00). The
child sits in a loop copying from the terminal or modem (/dev/tty00) to standard output. Thus when RS232 port 1 is connected to a modem,
every keystroke typed on the keyboard is sent to the modem, and every character arriving from the modem is displayed. Standard input and
output may be redirected, to provide a primitive file transfer program, with no checking. Any argument that starts with a minus ('-') is
sent out to the modem, usually to dial out. Term accepts several commands that are formed by typing the escape character, CTRL-], and a
letter. Type CTRL-]? to see a list of commands. The subshell command is very important, it allows you to type in a ZMODEM command to
transfer data. Do not quit term to do this, or your modem line will be reset! Term keeps the modem line open on file descriptor 9 while
running the subshell, so you can type
<&9 >&9
at the end of your ZMODEM command to connect it to the modem.
Important note: to use term, it is essential that /etc/ttytab is configured so that there is no shell hanging on /dev/tty01. If there is,
both the shell and term will try to read from /dev/tty01, and nothing will work.
SEE ALSO
rz(1), sz(1).
TERM(1)