LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-13-2001, 12:29 PM   #1
Daniel
Member
 
Registered: Feb 2001
Location: Oregon
Distribution: Mandrake
Posts: 68

Rep: Reputation: 15
Vi Editor From Hell


Either my telnet of my vi editor is screwed up... When i go into vi editing vi has a tendency to screw up. It will do wierd things like print lines on top of other lines when i scroll across a line, it doesnt actualy make this change, it just looks like it is writing over the line, and its difficult to write code when you dotn know what line you are actualy writing to. Is there anyway to fix this, or a vi alternative I could use. I would love to dump vi if there is somthing better.
 
Old 07-13-2001, 12:33 PM   #2
Daniel
Member
 
Registered: Feb 2001
Location: Oregon
Distribution: Mandrake
Posts: 68

Original Poster
Rep: Reputation: 15
I just cant help but show off my new sig.
 
Old 07-13-2001, 01:33 PM   #3
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
What you telnet'ing from?? Windows? In which case it ain't vi - its telnet problem. The windows telnet is really shite, you'll find problems with mose full screen apps (like editors). If you have pine installed then you can use Pico, the key mapping it uses seems to be alright. Vi seems to work here with the default telnet so long as I don't need to use the arrow keys! (not a problem as you can use h, j, k, and l movement when you're not in edit mode).

I use the telnet client that comes with Exceed and everything is fine. I'd suggest you change your telnet client.

HTH

Jamie...
 
Old 07-13-2001, 05:59 PM   #4
Daniel
Member
 
Registered: Feb 2001
Location: Oregon
Distribution: Mandrake
Posts: 68

Original Poster
Rep: Reputation: 15
Thanks, i got Putty. is there any editing program I can get other than vi... Vi seems so cryptic and such a hassle.
 
Old 07-13-2001, 06:04 PM   #5
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Quote:
Originally posted by Daniel
is there any editing program I can get other than vi... Vi seems so cryptic and such a hassle.
Uhm... from my previous post:
Quote:
Originally posted by jharris
If you have pine installed then you can use Pico
Some people also seem to like joe but I can't say I've ever played with it.

cheers

Jamie...
 
Old 07-14-2001, 12:03 AM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Quote:
Originally posted by Daniel
I just cant help but show off my new sig.
looks as if you spend more time on your sig file than your posts!!!! just kidding, it is good but a bit long.

you know, they say shorter speeches make a bigger impact on the audience than long one's. take example lincoln, gettysburg address, about 5 minutes long. the guy before him. about 3 hours. which one do they remember in history.....

okay, its late and i need to leave work, i been here for 18 hours straight now.
 
Old 07-14-2001, 10:51 AM   #7
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 121Reputation: 121
I would guess that it is not a telnet problem nor a vi problem. It is a terminal emulation problem. Most likely your host does not know what type of terminal emulation that you are using or it does not know the correct size of your termal. What type of client are you using on the client side? Windows telnet, linux telnet, console? If you are coming from windoze with that sad telnet that was shipped with NT4 and 98 then try setting:

TERM=vt100
stty rows 24 cols 80

You need to count the number of lines you see in your window, rows and columns and stick the correct values in the stty command. With this properly setup vi should work correctly.

If you do not know what type of terminal emulation you are using you can either try vt100, ansi or linux. They are the most popular.

Most telent clients will tell you what term type they are emulating.

If all else fails you can always use the ex line editor, what fun.

Gary
 
Old 07-19-2001, 01:42 AM   #8
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
actually... i think that "VI : Editor from Hell" was going to be the working title when it was first developed, but they dropped that second part.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
go to hell.... A-dummy General 10 08-30-2006 08:06 PM
What the hell is this?! navarre9 Linux - General 5 04-27-2004 01:12 PM
nu as hell son_oF_jeeves Linux - Newbie 5 12-18-2003 07:09 PM
Why the hell not... X11 General 8 04-17-2002 11:20 PM
hell with it.... Chijtska Linux From Scratch 5 02-15-2002 08:01 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration