Re: vi question

From: Stefaan A Eeckels (tengo_at_DELETEMEecc.lu)
Date: 08/11/04


Date: Wed, 11 Aug 2004 12:31:10 +0200

On Wed, 11 Aug 2004 05:37:14 GMT
Eric <notValid@comcast.net> wrote:

> Eric wrote:
>
> > I use vi to edit html pages, i notice that in insert mode if i hit
> > <BackSpace> the whole line jumps to the right about 4 to 6 cols (it
> > removes the unwanted char ok too)
> > Why is that?

That depends on the vi clone and the environment
(console, terminal emulator, vi settings, etc).
If I had to guess, I'd say you're using the wrong
TERM variable, and the vi clone is issuing codes
the terminal emulator doesn't handle properly.

Alternatively, if you're using syntax colouring
(on vim, for example), there might be a buglet in
the HTML syntax script - this would explain it
only happening when editing HTML. If this is the
case, try issuing :syntax off.

> > How do i prevent that from happening?
> >
> It always happens, nowrap has no effect.
> try it yourself, edit an html file, find
> a line that starts with a few spaces,move
> to the middle of a line, switch to insert
> mode and hit backspace and watch the line jump
> to the right (thats "right" not left). Very weird!

I cannot reproduce this behaviour using vim, nvi or
Solaris vi. Please specify the vi clone (nvi, vim,
vile, ...), terminal emulator (xterm, gnome-terminal,
kterm) or console, whether you use syntax colouring,
etc.

-- 
Stefaan
-- 
"What is stated clearly conceives easily."  -- Inspired sales droid


Relevant Pages

  • MSHTML & Submit Buttons
    ... I am trying to write code to hit website, fill in a form, click the ... and then get back the resulting HTML. ... Dim objMSHTML As New MSHTML.HTMLDocument ... Dim inputbox As MSHTML.HTMLInputTextElement ...
    (microsoft.public.vb.controls.internet)
  • MSHTML & Submit Buttons
    ... I am trying to write code to hit website, fill in a form, click the ... and then get back the resulting HTML. ... Dim objMSHTML As New MSHTML.HTMLDocument ... Dim inputbox As MSHTML.HTMLInputTextElement ...
    (microsoft.public.vb.controls.internet)
  • Re: Parsing text file with ASP
    ... > is a web site address, so, in the form of http://www ._____.__ or starting ... >> What exactly is a "hit result?" ... >> depend on what the html looks like and how consistent it remains. ... >>> page of search results from a search engine. ...
    (microsoft.public.inetserver.asp.general)
  • Re: asp.net page read response from another site?
    ... take note that even though the example on this page gets generated HTML, ... I wanted to make a page where I can send a request to another page, ... and read it's response back, can someone point me to an example? ... just a basic page i need to hit, i can hit it directly with my ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to add additional "Edit with" to right click
    ... Right click on that - New Key - name it Shell ... Right click on openas - New Key - command ... > Example, when I right click HTML files now, I can see a list of selections ... I do have Word 2003 installed and wish to use it to edit HTML ...
    (microsoft.public.windowsxp.general)