Subject: Re: pkg/8277 rlogin + vi + cursorkeys problem
To: None <>
From: Frederick Bruckman <>
List: tech-userlevel
Date: 04/30/2002 12:08:34
This problem, that of "vi" failing, at times, to recognize the
mappings that start with <escape>, is common enough that there's
already a work-around in the "vi" binary, it's just not well
documented. There is something about it in viref.13, but it's not that
clear, and viref.13 isn't very accesible. So how about if I add the
following to the "vi" manpage?

Index: vi.1
RCS file: /cvsroot/basesrc/usr.bin/vi/docs/USD.doc/,v
retrieving revision 1.7
diff -u -r1.7 vi.1
--- vi.1	2002/02/08 01:36:37	1.7
+++ vi.1	2002/04/30 16:43:49
@@ -1107,6 +1107,18 @@
 Announce error messages with a bell.
+.B "escapetime [1]"
+The 10th's of a second
+.I ex/vi
+waits for a subsequent key to complete an
+key mapping.
+Over a link with high latency,
+the default may cause arrow and function keys
+to introduce artifacts.
+If that's the case,
+try increasing this to a value between 3 and 6.
 .B "exrc, ex [off]"
 Read the startup files in the local directory.

This should close the PR, too. Comments? Objections?