[88] in Athena Bugs
/source/4.3/ucb/ex/ex_data.c all versions
daemon@ATHENA.MIT.EDU (geer@ATHENA.MIT.EDU)
Sun Mar 27 17:16:50 1988
From: <geer@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
Date: Sun, 27 Mar 88 17:15:15 EST
the macros for moving between sections and paragraphs
in vi/ex are wrong. the code below is right. the point
is that the -me macro set fails to include the .np (numbered
paragraph) as a findable construct, and uses .nh (end
hyphenation) where it means .uh (unnumbered section).
--dan
*** ex_data.old.c Sun Mar 27 12:30:34 1988
- --- ex_data.new.c Sun Mar 27 12:39:36 1988
***************
*** 24,36 ****
char paragraphs[ONMSZ] = {
'I', 'P', 'L', 'P', 'P', 'P', 'Q', 'P', /* -ms macros */
'P', ' ', 'L', 'I', /* -mm macros */
! 'p', 'p', 'l', 'p', 'i', 'p', /* -me macros */
'b', 'p' /* bare nroff */
};
char sections[ONMSZ] = {
'N', 'H', 'S', 'H', /* -ms macros */
'H', ' ', 'H', 'U', /* -mm macros */
! 'n', 'h', 's', 'h' /* -me macros */
};
char shell[ONMSZ] =
{ '/', 'b', 'i', 'n', '/', 's', 'h' };
- --- 24,36 ----
char paragraphs[ONMSZ] = {
'I', 'P', 'L', 'P', 'P', 'P', 'Q', 'P', /* -ms macros */
'P', ' ', 'L', 'I', /* -mm macros */
! 'p', 'p', 'l', 'p', 'i', 'p', 'n', 'p', /* -me macros */
'b', 'p' /* bare nroff */
};
char sections[ONMSZ] = {
'N', 'H', 'S', 'H', /* -ms macros */
'H', ' ', 'H', 'U', /* -mm macros */
! 'u', 'h', 's', 'h' /* -me macros */
};
char shell[ONMSZ] =
{ '/', 'b', 'i', 'n', '/', 's', 'h' };
------- End of Forwarded Message