menu_pattern.3x (166125) | menu_pattern.3x (184989) |
---|---|
1.\"*************************************************************************** | 1.\"*************************************************************************** |
2.\" Copyright (c) 1998-2003,2006 Free Software Foundation, Inc. * | 2.\" Copyright (c) 1998-2006,2008 Free Software Foundation, Inc. * |
3.\" * 4.\" Permission is hereby granted, free of charge, to any person obtaining a * 5.\" copy of this software and associated documentation files (the * 6.\" "Software"), to deal in the Software without restriction, including * 7.\" without limitation the rights to use, copy, modify, merge, publish, * 8.\" distribute, distribute with modifications, sublicense, and/or sell * 9.\" copies of the Software, and to permit persons to whom the Software is * 10.\" furnished to do so, subject to the following conditions: * --- 10 unchanged lines hidden (view full) --- 21.\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. * 22.\" * 23.\" Except as contained in this notice, the name(s) of the above copyright * 24.\" holders shall not be used in advertising or otherwise to promote the * 25.\" sale, use or other dealings in this Software without prior written * 26.\" authorization. * 27.\"*************************************************************************** 28.\" | 3.\" * 4.\" Permission is hereby granted, free of charge, to any person obtaining a * 5.\" copy of this software and associated documentation files (the * 6.\" "Software"), to deal in the Software without restriction, including * 7.\" without limitation the rights to use, copy, modify, merge, publish, * 8.\" distribute, distribute with modifications, sublicense, and/or sell * 9.\" copies of the Software, and to permit persons to whom the Software is * 10.\" furnished to do so, subject to the following conditions: * --- 10 unchanged lines hidden (view full) --- 21.\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. * 22.\" * 23.\" Except as contained in this notice, the name(s) of the above copyright * 24.\" holders shall not be used in advertising or otherwise to promote the * 25.\" sale, use or other dealings in this Software without prior written * 26.\" authorization. * 27.\"*************************************************************************** 28.\" |
29.\" $Id: menu_pattern.3x,v 1.10 2006/11/04 18:25:24 tom Exp $ | 29.\" $Id: menu_pattern.3x,v 1.11 2008/06/21 21:58:20 tom Exp $ |
30.TH menu_pattern 3X "" 31.SH NAME 32\fBmenu_pattern\fR - get and set a menu's pattern buffer 33.SH SYNOPSIS 34\fB#include <menu.h>\fR 35.br 36int set_menu_pattern(MENU *menu, const char *pattern); 37.br 38char *menu_pattern(const MENU *menu); 39.br 40.SH DESCRIPTION 41Every menu has an associated pattern match buffer. As input events that are | 30.TH menu_pattern 3X "" 31.SH NAME 32\fBmenu_pattern\fR - get and set a menu's pattern buffer 33.SH SYNOPSIS 34\fB#include <menu.h>\fR 35.br 36int set_menu_pattern(MENU *menu, const char *pattern); 37.br 38char *menu_pattern(const MENU *menu); 39.br 40.SH DESCRIPTION 41Every menu has an associated pattern match buffer. As input events that are |
42printable ASCII characters come in, they are appended to this match buffer | 42printable characters come in, they are appended to this match buffer |
43and tested for a match, as described in \fBmenu_driver\fR(3X). 44.PP 45The function \fBset_menu_pattern\fR sets the pattern buffer for the given menu 46and tries to find the first matching item. If it succeeds, that item becomes 47current; if not, the current item does not change. 48.PP 49The function \fBmenu_pattern\fR returns the pattern buffer of the given 50\fImenu\fR. --- 41 unchanged lines hidden --- | 43and tested for a match, as described in \fBmenu_driver\fR(3X). 44.PP 45The function \fBset_menu_pattern\fR sets the pattern buffer for the given menu 46and tries to find the first matching item. If it succeeds, that item becomes 47current; if not, the current item does not change. 48.PP 49The function \fBmenu_pattern\fR returns the pattern buffer of the given 50\fImenu\fR. --- 41 unchanged lines hidden --- |