This is related to the thread `Aq macro' on tech@ from before the
release lock (Feb 15):

https://marc.info/?t=142399129000001&r=1&w=2

In the UTF-8 locale `.Aq', `\(la' and `\(ra' are rendered as
mathematical angle brackets, not as less-than and greater-than signs.
This is kind of confusing in the vi(1) manual, hence I suggest to alter
the wording explaining the `<key name>' notation in the manual slightly
so as to apply to all locales.

Also, using `\(la' and `\(ra' leads to an incorrect display of the regex
word boundaries `\<' and `\>' in the UTF-8 locale, which surely should
be rendered as escaped less-than and greater-than signs.

Index: usr.bin/vi/docs/USD.doc/vi.man/vi.1
===================================================================
RCS file: /cvs/src/usr.bin/vi/docs/USD.doc/vi.man/vi.1,v
retrieving revision 1.58
diff -u -p -r1.58 vi.1
--- usr.bin/vi/docs/USD.doc/vi.man/vi.1 13 Mar 2015 19:58:41 -0000      1.58
+++ usr.bin/vi/docs/USD.doc/vi.man/vi.1 17 Mar 2015 07:25:00 -0000
@@ -198,7 +198,7 @@ and that is the
 .Aq escape
 key.
 .Pp
-Key names are written using less-than and greater-than signs, e.g.\&
+Key names are written using angle brackets, e.g.\&
 .Aq escape
 means the
 .Dq escape
@@ -348,10 +348,10 @@ version of regular expressions:
 .It
 An empty regular expression is equivalent to the last regular expression used.
 .It
-.Sq \e\(la
+.Sq \e<
 matches the beginning of the word.
 .It
-.Sq \e\(ra
+.Sq \e>
 matches the end of the word.
 .It
 .Sq \(a~

Reply via email to