11-18-2004
maybe somethign like export TERM=VT350 could makes it possible that the way that the system knows how to send non default text to your telnet session.
Never tried it for that myself mostly used it for wrong layout of screens in telnet.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I saw some people's vi editor show different colors on the text according the nature of text when using it.
It would be nice if I can see diffrerent colors with my vi editor.
Do anybody know how to set it up?
I use PowerTermPro program to access unix machine.
I tried to use vim editor but... (7 Replies)
Discussion started by: whatisthis
7 Replies
2. Shell Programming and Scripting
Hello,
I enjoy using the unix screen utility, but my vi sessions lose the ability to syntax highlight code and split screen(:vs or :sp). When not using screen, I can do those things within vi. Anybody experience this and know the fix?
Thanks (1 Reply)
Discussion started by: geephei
1 Replies
3. 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
4. Shell Programming and Scripting
I have created a dummy file -demo.txt
On my machine-A (oslevel-5300-08) I can display the file content in HEX format through VI editor using :%!xxd but on other machine-B (oslevel - 5300-06) , I get error as "sh: xxd: not found."
machine-A:
$ cat demo.txt
Hello World !
I can display... (7 Replies)
Discussion started by: Rahulpict
7 Replies
5. UNIX for Dummies Questions & Answers
Do you know any text editor (other than Gvim, which I am using) which is made specially for c type languages?
The reason I ask for it is: I just spent 3 hours trying to find out start "if" and its end "if end".:wall:
I hope there is an editor which can link each if with its closing endif . (4 Replies)
Discussion started by: animesharma
4 Replies
6. Shell Programming and Scripting
How to copy the complete content from a file in vi Editor to windows ( notepad ).
I can use " select " and paste it to windows but this is restricted to current page. Not allowing me to scroll down or up when selecting the content.:confused: (1 Reply)
Discussion started by: frintocf
1 Replies
7. HP-UX
Hi All,
I am comfortable working in LINUX and need equivalents for HP-UX for below mentioned,
1. We use TAB key to expand/reveal a name in LINUX. Is there any way to make this work for UNIX, where it is double escape.
2. Also can we use make use of left,down,up,right keys instead... (3 Replies)
Discussion started by: pradebban
3 Replies
8. UNIX for Dummies Questions & Answers
vi: syntax error at line 1: `)' unexpected
when I try to vi into the /etc/vfstab, the return gives me the above error.
how can resolve this so that I can have access into vi. (6 Replies)
Discussion started by: dovestar
6 Replies
9. Homework & Coursework Questions
i need help with this homework. PLEASE
Assignment:
Create a directory "preFinal" in your home directory. Create empty files "a", "b", "c", etc in directory preFinal in the amount that match the number of directories preFinal*
This the code i have within Vi editor. But it is not working all... (3 Replies)
Discussion started by: bcute92
3 Replies
10. What is on Your Mind?
We have asked UNIX.com users over the years what is their favorite editor and why. Here is the top three answers.
Here is a new YT video on this question:
What Editor Does Everyone Use?
https://youtu.be/gqE8RTZZt9g
Of course, vi was the overwhelming favorite.
Credits:
1080 HD... (3 Replies)
Discussion started by: Neo
3 Replies
ED(1) General Commands Manual ED(1)
NAME
ed - editor
SYNOPSIS
ed file
OPTIONS
- Suppress line/byte count messages (for in scripts)
EXAMPLES
ed prog.c # Edit prog.c
echo '1,$p' | ed - file
# Odd way to write 'cat file'
DESCRIPTION
Ed is functionally equivalent to the standard V7 editor, ed. It supports the following commands:
(.) a: append
(.,.)c: change
(.,.)d: delete
e: edit new file"
f: print name of edited file"
(1,$)g: global command
(.) i: insert
(.,.+1)j: join lines together
(.) k: mark
(.) l: print with special characters in octal
(.,.)m: move
(.,.)p: print
q: quit editor"
(.) r: read in new file
(.,.)s: substitute
(1,$)v: like g, except select lines that do not match
(1,$)w: write out edited file
Many of the commands can take one or two addresses, as indicated above. The defaults are shown in parentheses. Thus a appends to the cur-
rent line, and g works on the whole file as default. The dot refers to the current line. Below is a sample editing session with comments
given following the # symbol.
ed prog.c # Edit prog.c
3,20p # Print lines 3 through 20
/whole/ # Find next occurence of whole
s/whole/while/ # Replace whole by while
g/Buf/s//BUF/g # Replace Buf by BUF everywhere
w # Write the file back
q # Exit the editor
Ed is provided for its sentimental value. If you want a line-oriented editor, try ex. If you want a good editor, use elle, elvis, or
mined.
SEE ALSO
elvis(1), elle(9), mined(9).
ED(1)