menu_mark(3CURSES) Curses Library Functions menu_mark(3CURSES)NAME
menu_mark, set_menu_mark - menus mark string routines
SYNOPSIS
cc [ flag... ] file... -lmenu-lcurses [ library... ]
#include <menu.h>
int set_menu_mark(MENU *menu, char *mark);
char *menu_mark(MENU *menu);
DESCRIPTION
menus displays mark strings to distinguish selected items in a menu (or the current item in a single-valued menu). set_menu_mark() sets the
mark string of menu to mark. menu_mark() returns a pointer to the mark string of menu.
RETURN VALUES
menu_mark() returns NULL on error. set_menu_mark() returns one of the following:
E_OK The routine returned successfully.
E_SYSTEM_ERROR System error.
E_BAD_ARGUMENT An incorrect argument was passed to the routine.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO curses(3CURSES), menus(3CURSES), attributes(5)NOTES
The header <menu.h> automatically includes the headers <eti.h> and <curses.h>.
SunOS 5.11 31 Dec 1996 menu_mark(3CURSES)
Check Out this Related Man Page
menu_mark(3CURSES) Curses Library Functions menu_mark(3CURSES)NAME
menu_mark, set_menu_mark - menus mark string routines
SYNOPSIS
cc [ flag... ] file... -lmenu -lcurses [ library... ]
#include <menu.h>
int set_menu_mark(MENU *menu, char *mark);
char *menu_mark(MENU *menu);
DESCRIPTION
menus displays mark strings to distinguish selected items in a menu (or the current item in a single-valued menu). set_menu_mark() sets the
mark string of menu to mark. menu_mark() returns a pointer to the mark string of menu.
RETURN VALUES
menu_mark() returns NULL on error. set_menu_mark() returns one of the following:
E_OK The routine returned successfully.
E_SYSTEM_ERROR System error.
E_BAD_ARGUMENT An incorrect argument was passed to the routine.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO curses(3CURSES), menus(3CURSES), attributes(5)NOTES
The header <menu.h> automatically includes the headers <eti.h> and <curses.h>.
SunOS 5.10 31 Dec 1996 menu_mark(3CURSES)
I work for a local authority, and have been asked to extend a project I recently worked on
currently there are two (2) menus in operation each menu allows us to allow or deny access to users
the problem the menus are on seperate machines
(Iwant to make these menus sub menus)
I want to... (1 Reply)
hi guys
I am studing unix and I have some questions to ask.
what is the diffrence beteween man and info?
how and when we use ~ mark?
tanks
henk ;) (1 Reply)
Hi,
Please excuse me for posting an "ad" message here.
Over the last few months I have created software called WinSmit, with this tool you can create your own AIX smit menus and corresponding message files.
We all know the smit or smitty menus that IBM provides to maintain the system, the... (6 Replies)
Dear All,
Kindly suggest on how should i proceed with the following requirement
I need to develop an interactive shell script menu which would enable the user to inquire the value of a column based on a key value . The output can be more records..
Also is it possible to do the following
1)... (2 Replies)
Hi all,
I need to mark a file with it's current location in the file system before being moved.
This will enable the file to be restored back to it's original location.
Can anyone provide any ideas about the best way to do this, at present i'm trying to use readlink -m to strip off the... (1 Reply)
As system admin i decided not to give shell access to users and even application admins on production systems.
I give them access via a simple (menu)webpage and the menus are suid capable.
So, even root commands can be granted to someones menu.
I like the fact that no commandline trying or... (1 Reply)
I have tried searching the forum but i haven't found a solution for this.
I have a shell script that presents the users with menus. The menus branch out to sub menus. It is all hunky dory as long as i traverse forward. But if i am in a sub menu and return to the previous menu and choose any... (11 Replies)