HP3000-L Archives

November 2001, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jeff Woods <[log in to unmask]>
Reply To:
Jeff Woods <[log in to unmask]>
Date:
Wed, 7 Nov 2001 11:18:54 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
At  10:31 AM 11/7/2001, James Ots wrote:
>set +o vi is already set when I log into invent3k (it doesn't lose command
>line editing, it just switches it to vi mode, which I prefer anyway!)

The sh (& ksh) command to enable vi-mode editing in the shell is "set -o
vi" and "set +o vi" disables it.  The command line-edit modes (vi or emacs)
modes in combination with the latency delays over the internet are the problem.

A common internet connection latency to be in the neighborhood of 100ms to
200ms... and since vi-mode in the shell means that *every* character has to
be examined to determine if it's an ESC to enter vi-mode before the
character can be echoed, the shell has no choice but to switch from line at
a time input to single character input... and *that* means the latency is
going to be visible on every keystroke.

You have two choices... either reduce the latency until it disappears from
your perception (which is why this works well on a relatively local
connection) or remain in line-mode by not enabling vi or emacs style
command line editing.  Bummer, eh?  :(

-- Jeff Woods

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2