02-08-2002
Hog - thanks! I'm supporting this issue from a thousand miles away, and they ended up calling in their local Unix tech to fix it, so I"m off the hook.
To quote a mafioso, "I keep trying to get out, but they keep pulling me back in."
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
So I'm making a page for one of my web sites that scans the visitors ports (just a few specific ones, not ALL) and tells them if they have any open. Now I made up the code and it worked great. Now instead of having the same chunk of code all over my script, I tried to make my own subroutine so I... (10 Replies)
Discussion started by: l008com
10 Replies
2. SuSE
Hey all,
I've tired installing Suse 9.2 (DVD) on my computer, dual boot. But everytime I do it Linux seems to kill my Windows install.
This is my setup, a 120GB HDD and for 30GB for Windows 60GB for Data and 30 GB for Linux.
Windows works fine, then install SuSe and that works fine. ... (6 Replies)
Discussion started by: woofie
6 Replies
3. Shell Programming and Scripting
Hi all,
I start my application from a shell command-line.
When I exit my application, it kills the shell that its returning too.
Worse yet, since I have init respawning the shell all those subsequent
shells get killed automatically...so I get output like the following
(the >> is the prompt for... (2 Replies)
Discussion started by: q1001001
2 Replies
4. UNIX for Dummies Questions & Answers
what are the header files required for the kills command in kernel version 2.4? (1 Reply)
Discussion started by: shwe
1 Replies
5. Shell Programming and Scripting
Hello everyone,
I'm trying to write a script, i would like to say the child kills the parent,
how would i do that? (2 Replies)
Discussion started by: jessy21
2 Replies
6. UNIX for Advanced & Expert Users
I have a C++ program, running on Fedora Linux, which has to be able to update itself to a new version, which it can obtain from a server. The way I do this is to have it create a shell script which kills it (the parent process), uninstalls it, downloads the new version (actually it does this... (1 Reply)
Discussion started by: BrandonShw
1 Replies
7. Solaris
Hello Guys,
I need a little help here. I have been studying crash dump and per what I am reading, you can dedicate a slice to use as a dump device. Now when you dedicate this slice, do you have to :
1) create a mount point?
2) add entry in /etc/vfstab?
3) is this slice wu or wm?
4) should... (3 Replies)
Discussion started by: cjashu
3 Replies
8. UNIX for Advanced & Expert Users
I'm writing a simple USB driver to drive a stepper motor based on USB Skeleton 2.2 Driver, kernel 3.8. The basic version is running properly. As a advancement, I introduced KTHREAD to call the DEVICE_WRITE (skel_write) (), so that the driver will be available for other tasks & requests.
Calling... (0 Replies)
Discussion started by: miteshgaware
0 Replies
LEARN ABOUT SUSE
set_form_term
hook(3FORM) hook(3FORM)
NAME
hook - set hooks for automatic invocation by applications
SYNOPSIS
#include <form.h>
int set_field_init(FORM *form, Form_Hook func);
Form_Hook field_init(const FORM *form);
int set_field_term(FORM *form, Form_Hook func);
Form_Hook field_term(const FORM *form);
int set_form_init(FORM *form, Form_Hook func);
Form_Hook form_init(const FORM *form);
int set_form_term(FORM *form, Form_Hook func);
Form_Hook form_term(const FORM *form);
DESCRIPTION
These functions make it possible to set hook functions to be called at various points in the automatic processing of input event codes by
form_driver.
The function set_field_init sets a hook to be called at form-post time and each time the selected field changes (after the change).
field_init returns the current field init hook, if any (NULL if there is no such hook).
The function set_field_term sets a hook to be called at form-unpost time and each time the selected field changes (before the change).
field_term returns the current field term hook, if any (NULL if there is no such hook).
The function set_form_init sets a hook to be called at form-post time and just after a page change once it is posted. form_init returns
the current form init hook, if any (NULL if there is no such hook).
The function set_form_term sets a hook to be called at form-unpost time and just before a page change once it is posted. form_init returns
the current form term hook, if any (NULL if there is no such hook).
RETURN VALUE
Routines that return pointers return NULL on error. Other routines return one of the following:
E_OK The routine succeeded.
E_SYSTEM_ERROR
System error occurred (see errno).
SEE ALSO
ncurses(3NCURSES), form(3FORM).
NOTES
The header file <form.h> automatically includes the header file <curses.h>.
PORTABILITY
These routines emulate the System V forms library. They were not supported on Version 7 or BSD versions.
AUTHORS
Juergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond.
hook(3FORM)