diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-07-24 17:08:25 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-07-24 17:08:25 +0000 |
commit | 83536ff93164b36edca06b2e2317d6d47c48855a (patch) | |
tree | 2bcc9795e9dd112d388ef22feb0adf385b27850b | |
parent | 08098b9e622a0e78513e53415f33e2a60a79d99b (diff) |
libpanel from ncurses-4.2-980718
-rw-r--r-- | lib/libpanel/p_above.c | 57 | ||||
-rw-r--r-- | lib/libpanel/p_below.c | 57 | ||||
-rw-r--r-- | lib/libpanel/p_bottom.c | 57 | ||||
-rw-r--r-- | lib/libpanel/p_delete.c | 57 | ||||
-rw-r--r-- | lib/libpanel/p_hidden.c | 57 | ||||
-rw-r--r-- | lib/libpanel/p_hide.c | 57 | ||||
-rw-r--r-- | lib/libpanel/p_move.c | 57 | ||||
-rw-r--r-- | lib/libpanel/p_new.c | 57 | ||||
-rw-r--r-- | lib/libpanel/p_replace.c | 57 | ||||
-rw-r--r-- | lib/libpanel/p_show.c | 57 | ||||
-rw-r--r-- | lib/libpanel/p_top.c | 57 | ||||
-rw-r--r-- | lib/libpanel/p_update.c | 57 | ||||
-rw-r--r-- | lib/libpanel/p_user.c | 57 | ||||
-rw-r--r-- | lib/libpanel/p_win.c | 59 | ||||
-rw-r--r-- | lib/libpanel/panel.3 | 39 | ||||
-rw-r--r-- | lib/libpanel/panel.c | 57 | ||||
-rw-r--r-- | lib/libpanel/panel.h | 55 | ||||
-rw-r--r-- | lib/libpanel/panel.priv.h | 5 |
18 files changed, 580 insertions, 376 deletions
diff --git a/lib/libpanel/p_above.c b/lib/libpanel/p_above.c index 30d35b06a5a..4c090d0fdbb 100644 --- a/lib/libpanel/p_above.c +++ b/lib/libpanel/p_above.c @@ -1,32 +1,43 @@ -/* $OpenBSD: p_above.c,v 1.1 1997/12/03 05:17:51 millert Exp $ */ +/* $OpenBSD: p_above.c,v 1.2 1998/07/24 17:08:05 millert Exp $ */ -/*************************************************************************** -* COPYRIGHT NOTICE * -**************************************************************************** -* panels is copyright (C) 1995 * -* Zeyd M. Ben-Halim * -* zmbenhal@netcom.com * -* Eric S. Raymond * -* esr@snark.thyrsus.com * -* * -* All praise to the original author, Warren Tucker. * -* * -* Permission is hereby granted to reproduce and distribute panels * -* by any means and for any fee, whether alone or as part of a * -* larger distribution, in source or in binary form, PROVIDED * -* this notice is included with any such distribution, and is not * -* removed from any of its header files. Mention of panels in any * -* applications linked with it is highly appreciated. * -* * -* panels comes AS IS with no warranty, implied or expressed. * -* * -***************************************************************************/ +/**************************************************************************** + * Copyright (c) 1998 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * + * "Software"), to deal in the Software without restriction, including * + * without limitation the rights to use, copy, modify, merge, publish, * + * distribute, distribute with modifications, sublicense, and/or sell * + * copies of the Software, and to permit persons to whom the Software is * + * furnished to do so, subject to the following conditions: * + * * + * The above copyright notice and this permission notice shall be included * + * in all copies or substantial portions of the Software. * + * * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * + * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * + * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * + * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * + * * + * Except as contained in this notice, the name(s) of the above copyright * + * holders shall not be used in advertising or otherwise to promote the * + * sale, use or other dealings in this Software without prior written * + * authorization. * + ****************************************************************************/ + +/**************************************************************************** + * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1995 * + * and: Eric S. Raymond <esr@snark.thyrsus.com> * + ****************************************************************************/ /* p_above.c */ #include "panel.priv.h" -MODULE_ID("Id: p_above.c,v 1.1 1997/10/12 13:16:22 juergen Exp $") +MODULE_ID("$From: p_above.c,v 1.2 1998/02/11 12:14:01 tom Exp $") PANEL* panel_above(const PANEL *pan) diff --git a/lib/libpanel/p_below.c b/lib/libpanel/p_below.c index 10b380f97b8..02287a88565 100644 --- a/lib/libpanel/p_below.c +++ b/lib/libpanel/p_below.c @@ -1,32 +1,43 @@ -/* $OpenBSD: p_below.c,v 1.1 1997/12/03 05:17:51 millert Exp $ */ +/* $OpenBSD: p_below.c,v 1.2 1998/07/24 17:08:06 millert Exp $ */ -/*************************************************************************** -* COPYRIGHT NOTICE * -**************************************************************************** -* panels is copyright (C) 1995 * -* Zeyd M. Ben-Halim * -* zmbenhal@netcom.com * -* Eric S. Raymond * -* esr@snark.thyrsus.com * -* * -* All praise to the original author, Warren Tucker. * -* * -* Permission is hereby granted to reproduce and distribute panels * -* by any means and for any fee, whether alone or as part of a * -* larger distribution, in source or in binary form, PROVIDED * -* this notice is included with any such distribution, and is not * -* removed from any of its header files. Mention of panels in any * -* applications linked with it is highly appreciated. * -* * -* panels comes AS IS with no warranty, implied or expressed. * -* * -***************************************************************************/ +/**************************************************************************** + * Copyright (c) 1998 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * + * "Software"), to deal in the Software without restriction, including * + * without limitation the rights to use, copy, modify, merge, publish, * + * distribute, distribute with modifications, sublicense, and/or sell * + * copies of the Software, and to permit persons to whom the Software is * + * furnished to do so, subject to the following conditions: * + * * + * The above copyright notice and this permission notice shall be included * + * in all copies or substantial portions of the Software. * + * * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * + * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * + * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * + * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * + * * + * Except as contained in this notice, the name(s) of the above copyright * + * holders shall not be used in advertising or otherwise to promote the * + * sale, use or other dealings in this Software without prior written * + * authorization. * + ****************************************************************************/ + +/**************************************************************************** + * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1995 * + * and: Eric S. Raymond <esr@snark.thyrsus.com> * + ****************************************************************************/ /* p_below.c */ #include "panel.priv.h" -MODULE_ID("Id: p_below.c,v 1.1 1997/10/12 13:16:22 juergen Exp $") +MODULE_ID("$From: p_below.c,v 1.2 1998/02/11 12:14:01 tom Exp $") PANEL* panel_below(const PANEL *pan) diff --git a/lib/libpanel/p_bottom.c b/lib/libpanel/p_bottom.c index 52b666aad9e..c7490d6f836 100644 --- a/lib/libpanel/p_bottom.c +++ b/lib/libpanel/p_bottom.c @@ -1,33 +1,44 @@ -/* $OpenBSD: p_bottom.c,v 1.1 1997/12/03 05:17:52 millert Exp $ */ +/* $OpenBSD: p_bottom.c,v 1.2 1998/07/24 17:08:07 millert Exp $ */ -/*************************************************************************** -* COPYRIGHT NOTICE * -**************************************************************************** -* panels is copyright (C) 1995 * -* Zeyd M. Ben-Halim * -* zmbenhal@netcom.com * -* Eric S. Raymond * -* esr@snark.thyrsus.com * -* * -* All praise to the original author, Warren Tucker. * -* * -* Permission is hereby granted to reproduce and distribute panels * -* by any means and for any fee, whether alone or as part of a * -* larger distribution, in source or in binary form, PROVIDED * -* this notice is included with any such distribution, and is not * -* removed from any of its header files. Mention of panels in any * -* applications linked with it is highly appreciated. * -* * -* panels comes AS IS with no warranty, implied or expressed. * -* * -***************************************************************************/ +/**************************************************************************** + * Copyright (c) 1998 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * + * "Software"), to deal in the Software without restriction, including * + * without limitation the rights to use, copy, modify, merge, publish, * + * distribute, distribute with modifications, sublicense, and/or sell * + * copies of the Software, and to permit persons to whom the Software is * + * furnished to do so, subject to the following conditions: * + * * + * The above copyright notice and this permission notice shall be included * + * in all copies or substantial portions of the Software. * + * * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * + * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * + * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * + * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * + * * + * Except as contained in this notice, the name(s) of the above copyright * + * holders shall not be used in advertising or otherwise to promote the * + * sale, use or other dealings in this Software without prior written * + * authorization. * + ****************************************************************************/ + +/**************************************************************************** + * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1995 * + * and: Eric S. Raymond <esr@snark.thyrsus.com> * + ****************************************************************************/ /* p_bottom.c * Place a panel on bottom of the stack; may already be in the stack */ #include "panel.priv.h" -MODULE_ID("Id: p_bottom.c,v 1.1 1997/10/12 13:16:22 juergen Exp $") +MODULE_ID("$From: p_bottom.c,v 1.2 1998/02/11 12:14:01 tom Exp $") int bottom_panel(PANEL *pan) diff --git a/lib/libpanel/p_delete.c b/lib/libpanel/p_delete.c index 1ba076de2a5..a9af2bc28db 100644 --- a/lib/libpanel/p_delete.c +++ b/lib/libpanel/p_delete.c @@ -1,33 +1,44 @@ -/* $OpenBSD: p_delete.c,v 1.1 1997/12/03 05:17:52 millert Exp $ */ +/* $OpenBSD: p_delete.c,v 1.2 1998/07/24 17:08:08 millert Exp $ */ -/*************************************************************************** -* COPYRIGHT NOTICE * -**************************************************************************** -* panels is copyright (C) 1995 * -* Zeyd M. Ben-Halim * -* zmbenhal@netcom.com * -* Eric S. Raymond * -* esr@snark.thyrsus.com * -* * -* All praise to the original author, Warren Tucker. * -* * -* Permission is hereby granted to reproduce and distribute panels * -* by any means and for any fee, whether alone or as part of a * -* larger distribution, in source or in binary form, PROVIDED * -* this notice is included with any such distribution, and is not * -* removed from any of its header files. Mention of panels in any * -* applications linked with it is highly appreciated. * -* * -* panels comes AS IS with no warranty, implied or expressed. * -* * -***************************************************************************/ +/**************************************************************************** + * Copyright (c) 1998 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * + * "Software"), to deal in the Software without restriction, including * + * without limitation the rights to use, copy, modify, merge, publish, * + * distribute, distribute with modifications, sublicense, and/or sell * + * copies of the Software, and to permit persons to whom the Software is * + * furnished to do so, subject to the following conditions: * + * * + * The above copyright notice and this permission notice shall be included * + * in all copies or substantial portions of the Software. * + * * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * + * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * + * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * + * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * + * * + * Except as contained in this notice, the name(s) of the above copyright * + * holders shall not be used in advertising or otherwise to promote the * + * sale, use or other dealings in this Software without prior written * + * authorization. * + ****************************************************************************/ + +/**************************************************************************** + * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1995 * + * and: Eric S. Raymond <esr@snark.thyrsus.com> * + ****************************************************************************/ /* p_delete.c * Remove a panel from stack, if in it, and free struct */ #include "panel.priv.h" -MODULE_ID("Id: p_delete.c,v 1.1 1997/10/12 13:16:22 juergen Exp $") +MODULE_ID("$From: p_delete.c,v 1.2 1998/02/11 12:14:01 tom Exp $") int del_panel(PANEL *pan) diff --git a/lib/libpanel/p_hidden.c b/lib/libpanel/p_hidden.c index 7da81ac0a95..f1368f0810b 100644 --- a/lib/libpanel/p_hidden.c +++ b/lib/libpanel/p_hidden.c @@ -1,33 +1,44 @@ -/* $OpenBSD: p_hidden.c,v 1.1 1997/12/03 05:17:52 millert Exp $ */ +/* $OpenBSD: p_hidden.c,v 1.2 1998/07/24 17:08:09 millert Exp $ */ -/*************************************************************************** -* COPYRIGHT NOTICE * -**************************************************************************** -* panels is copyright (C) 1995 * -* Zeyd M. Ben-Halim * -* zmbenhal@netcom.com * -* Eric S. Raymond * -* esr@snark.thyrsus.com * -* * -* All praise to the original author, Warren Tucker. * -* * -* Permission is hereby granted to reproduce and distribute panels * -* by any means and for any fee, whether alone or as part of a * -* larger distribution, in source or in binary form, PROVIDED * -* this notice is included with any such distribution, and is not * -* removed from any of its header files. Mention of panels in any * -* applications linked with it is highly appreciated. * -* * -* panels comes AS IS with no warranty, implied or expressed. * -* * -***************************************************************************/ +/**************************************************************************** + * Copyright (c) 1998 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * + * "Software"), to deal in the Software without restriction, including * + * without limitation the rights to use, copy, modify, merge, publish, * + * distribute, distribute with modifications, sublicense, and/or sell * + * copies of the Software, and to permit persons to whom the Software is * + * furnished to do so, subject to the following conditions: * + * * + * The above copyright notice and this permission notice shall be included * + * in all copies or substantial portions of the Software. * + * * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * + * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * + * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * + * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * + * * + * Except as contained in this notice, the name(s) of the above copyright * + * holders shall not be used in advertising or otherwise to promote the * + * sale, use or other dealings in this Software without prior written * + * authorization. * + ****************************************************************************/ + +/**************************************************************************** + * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1995 * + * and: Eric S. Raymond <esr@snark.thyrsus.com> * + ****************************************************************************/ /* p_hidden.c * Test whether or not panel is hidden */ #include "panel.priv.h" -MODULE_ID("Id: p_hidden.c,v 1.1 1997/10/12 13:16:22 juergen Exp $") +MODULE_ID("$From: p_hidden.c,v 1.2 1998/02/11 12:14:01 tom Exp $") int panel_hidden(const PANEL *pan) diff --git a/lib/libpanel/p_hide.c b/lib/libpanel/p_hide.c index 9891e640212..9ba369d1b15 100644 --- a/lib/libpanel/p_hide.c +++ b/lib/libpanel/p_hide.c @@ -1,33 +1,44 @@ -/* $OpenBSD: p_hide.c,v 1.1 1997/12/03 05:17:53 millert Exp $ */ +/* $OpenBSD: p_hide.c,v 1.2 1998/07/24 17:08:11 millert Exp $ */ -/*************************************************************************** -* COPYRIGHT NOTICE * -**************************************************************************** -* panels is copyright (C) 1995 * -* Zeyd M. Ben-Halim * -* zmbenhal@netcom.com * -* Eric S. Raymond * -* esr@snark.thyrsus.com * -* * -* All praise to the original author, Warren Tucker. * -* * -* Permission is hereby granted to reproduce and distribute panels * -* by any means and for any fee, whether alone or as part of a * -* larger distribution, in source or in binary form, PROVIDED * -* this notice is included with any such distribution, and is not * -* removed from any of its header files. Mention of panels in any * -* applications linked with it is highly appreciated. * -* * -* panels comes AS IS with no warranty, implied or expressed. * -* * -***************************************************************************/ +/**************************************************************************** + * Copyright (c) 1998 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * + * "Software"), to deal in the Software without restriction, including * + * without limitation the rights to use, copy, modify, merge, publish, * + * distribute, distribute with modifications, sublicense, and/or sell * + * copies of the Software, and to permit persons to whom the Software is * + * furnished to do so, subject to the following conditions: * + * * + * The above copyright notice and this permission notice shall be included * + * in all copies or substantial portions of the Software. * + * * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * + * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * + * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * + * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * + * * + * Except as contained in this notice, the name(s) of the above copyright * + * holders shall not be used in advertising or otherwise to promote the * + * sale, use or other dealings in this Software without prior written * + * authorization. * + ****************************************************************************/ + +/**************************************************************************** + * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1995 * + * and: Eric S. Raymond <esr@snark.thyrsus.com> * + ****************************************************************************/ /* p_hide.c * Remove a panel from the stack */ #include "panel.priv.h" -MODULE_ID("Id: p_hide.c,v 1.1 1997/10/12 13:16:22 juergen Exp $") +MODULE_ID("$From: p_hide.c,v 1.2 1998/02/11 12:14:01 tom Exp $") /*+------------------------------------------------------------------------- __panel_unlink(pan) - unlink panel from stack diff --git a/lib/libpanel/p_move.c b/lib/libpanel/p_move.c index 3aa49f62a87..2a6b228af3f 100644 --- a/lib/libpanel/p_move.c +++ b/lib/libpanel/p_move.c @@ -1,33 +1,44 @@ -/* $OpenBSD: p_move.c,v 1.1 1997/12/03 05:17:53 millert Exp $ */ +/* $OpenBSD: p_move.c,v 1.2 1998/07/24 17:08:12 millert Exp $ */ -/*************************************************************************** -* COPYRIGHT NOTICE * -**************************************************************************** -* panels is copyright (C) 1995 * -* Zeyd M. Ben-Halim * -* zmbenhal@netcom.com * -* Eric S. Raymond * -* esr@snark.thyrsus.com * -* * -* All praise to the original author, Warren Tucker. * -* * -* Permission is hereby granted to reproduce and distribute panels * -* by any means and for any fee, whether alone or as part of a * -* larger distribution, in source or in binary form, PROVIDED * -* this notice is included with any such distribution, and is not * -* removed from any of its header files. Mention of panels in any * -* applications linked with it is highly appreciated. * -* * -* panels comes AS IS with no warranty, implied or expressed. * -* * -***************************************************************************/ +/**************************************************************************** + * Copyright (c) 1998 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * + * "Software"), to deal in the Software without restriction, including * + * without limitation the rights to use, copy, modify, merge, publish, * + * distribute, distribute with modifications, sublicense, and/or sell * + * copies of the Software, and to permit persons to whom the Software is * + * furnished to do so, subject to the following conditions: * + * * + * The above copyright notice and this permission notice shall be included * + * in all copies or substantial portions of the Software. * + * * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * + * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * + * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * + * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * + * * + * Except as contained in this notice, the name(s) of the above copyright * + * holders shall not be used in advertising or otherwise to promote the * + * sale, use or other dealings in this Software without prior written * + * authorization. * + ****************************************************************************/ + +/**************************************************************************** + * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1995 * + * and: Eric S. Raymond <esr@snark.thyrsus.com> * + ****************************************************************************/ /* p_move.c * Move a panel to a new location */ #include "panel.priv.h" -MODULE_ID("Id: p_move.c,v 1.1 1997/10/12 13:16:22 juergen Exp $") +MODULE_ID("$From: p_move.c,v 1.2 1998/02/11 12:14:01 tom Exp $") int move_panel(PANEL *pan, int starty, int startx) diff --git a/lib/libpanel/p_new.c b/lib/libpanel/p_new.c index 80c02a5a452..765b9c8f3a1 100644 --- a/lib/libpanel/p_new.c +++ b/lib/libpanel/p_new.c @@ -1,33 +1,44 @@ -/* $OpenBSD: p_new.c,v 1.1 1997/12/03 05:17:54 millert Exp $ */ +/* $OpenBSD: p_new.c,v 1.2 1998/07/24 17:08:13 millert Exp $ */ -/*************************************************************************** -* COPYRIGHT NOTICE * -**************************************************************************** -* panels is copyright (C) 1995 * -* Zeyd M. Ben-Halim * -* zmbenhal@netcom.com * -* Eric S. Raymond * -* esr@snark.thyrsus.com * -* * -* All praise to the original author, Warren Tucker. * -* * -* Permission is hereby granted to reproduce and distribute panels * -* by any means and for any fee, whether alone or as part of a * -* larger distribution, in source or in binary form, PROVIDED * -* this notice is included with any such distribution, and is not * -* removed from any of its header files. Mention of panels in any * -* applications linked with it is highly appreciated. * -* * -* panels comes AS IS with no warranty, implied or expressed. * -* * -***************************************************************************/ +/**************************************************************************** + * Copyright (c) 1998 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * + * "Software"), to deal in the Software without restriction, including * + * without limitation the rights to use, copy, modify, merge, publish, * + * distribute, distribute with modifications, sublicense, and/or sell * + * copies of the Software, and to permit persons to whom the Software is * + * furnished to do so, subject to the following conditions: * + * * + * The above copyright notice and this permission notice shall be included * + * in all copies or substantial portions of the Software. * + * * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * + * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * + * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * + * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * + * * + * Except as contained in this notice, the name(s) of the above copyright * + * holders shall not be used in advertising or otherwise to promote the * + * sale, use or other dealings in this Software without prior written * + * authorization. * + ****************************************************************************/ + +/**************************************************************************** + * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1995 * + * and: Eric S. Raymond <esr@snark.thyrsus.com> * + ****************************************************************************/ /* p_new.c * Creation of a new panel */ #include "panel.priv.h" -MODULE_ID("Id: p_new.c,v 1.1 1997/10/12 13:16:22 juergen Exp $") +MODULE_ID("$From: p_new.c,v 1.2 1998/02/11 12:14:01 tom Exp $") /*+------------------------------------------------------------------------- Get root (i.e. stdscr's) panel. diff --git a/lib/libpanel/p_replace.c b/lib/libpanel/p_replace.c index e9a30b8ed1d..2d074c33d3f 100644 --- a/lib/libpanel/p_replace.c +++ b/lib/libpanel/p_replace.c @@ -1,33 +1,44 @@ -/* $OpenBSD: p_replace.c,v 1.1 1997/12/03 05:17:54 millert Exp $ */ +/* $OpenBSD: p_replace.c,v 1.2 1998/07/24 17:08:14 millert Exp $ */ -/*************************************************************************** -* COPYRIGHT NOTICE * -**************************************************************************** -* panels is copyright (C) 1995 * -* Zeyd M. Ben-Halim * -* zmbenhal@netcom.com * -* Eric S. Raymond * -* esr@snark.thyrsus.com * -* * -* All praise to the original author, Warren Tucker. * -* * -* Permission is hereby granted to reproduce and distribute panels * -* by any means and for any fee, whether alone or as part of a * -* larger distribution, in source or in binary form, PROVIDED * -* this notice is included with any such distribution, and is not * -* removed from any of its header files. Mention of panels in any * -* applications linked with it is highly appreciated. * -* * -* panels comes AS IS with no warranty, implied or expressed. * -* * -***************************************************************************/ +/**************************************************************************** + * Copyright (c) 1998 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * + * "Software"), to deal in the Software without restriction, including * + * without limitation the rights to use, copy, modify, merge, publish, * + * distribute, distribute with modifications, sublicense, and/or sell * + * copies of the Software, and to permit persons to whom the Software is * + * furnished to do so, subject to the following conditions: * + * * + * The above copyright notice and this permission notice shall be included * + * in all copies or substantial portions of the Software. * + * * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * + * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * + * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * + * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * + * * + * Except as contained in this notice, the name(s) of the above copyright * + * holders shall not be used in advertising or otherwise to promote the * + * sale, use or other dealings in this Software without prior written * + * authorization. * + ****************************************************************************/ + +/**************************************************************************** + * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1995 * + * and: Eric S. Raymond <esr@snark.thyrsus.com> * + ****************************************************************************/ /* p_replace.c * Replace a panels window. */ #include "panel.priv.h" -MODULE_ID("Id: p_replace.c,v 1.1 1997/10/12 13:16:22 juergen Exp $") +MODULE_ID("$From: p_replace.c,v 1.2 1998/02/11 12:14:01 tom Exp $") int replace_panel(PANEL *pan, WINDOW *win) diff --git a/lib/libpanel/p_show.c b/lib/libpanel/p_show.c index 6de44075bd1..e67ce71800c 100644 --- a/lib/libpanel/p_show.c +++ b/lib/libpanel/p_show.c @@ -1,33 +1,44 @@ -/* $OpenBSD: p_show.c,v 1.1 1997/12/03 05:17:54 millert Exp $ */ +/* $OpenBSD: p_show.c,v 1.2 1998/07/24 17:08:15 millert Exp $ */ -/*************************************************************************** -* COPYRIGHT NOTICE * -**************************************************************************** -* panels is copyright (C) 1995 * -* Zeyd M. Ben-Halim * -* zmbenhal@netcom.com * -* Eric S. Raymond * -* esr@snark.thyrsus.com * -* * -* All praise to the original author, Warren Tucker. * -* * -* Permission is hereby granted to reproduce and distribute panels * -* by any means and for any fee, whether alone or as part of a * -* larger distribution, in source or in binary form, PROVIDED * -* this notice is included with any such distribution, and is not * -* removed from any of its header files. Mention of panels in any * -* applications linked with it is highly appreciated. * -* * -* panels comes AS IS with no warranty, implied or expressed. * -* * -***************************************************************************/ +/**************************************************************************** + * Copyright (c) 1998 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * + * "Software"), to deal in the Software without restriction, including * + * without limitation the rights to use, copy, modify, merge, publish, * + * distribute, distribute with modifications, sublicense, and/or sell * + * copies of the Software, and to permit persons to whom the Software is * + * furnished to do so, subject to the following conditions: * + * * + * The above copyright notice and this permission notice shall be included * + * in all copies or substantial portions of the Software. * + * * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * + * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * + * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * + * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * + * * + * Except as contained in this notice, the name(s) of the above copyright * + * holders shall not be used in advertising or otherwise to promote the * + * sale, use or other dealings in this Software without prior written * + * authorization. * + ****************************************************************************/ + +/**************************************************************************** + * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1995 * + * and: Eric S. Raymond <esr@snark.thyrsus.com> * + ****************************************************************************/ /* p_show.c * Place a panel on top of the stack; may already be in the stack */ #include "panel.priv.h" -MODULE_ID("Id: p_show.c,v 1.1 1997/10/12 13:16:22 juergen Exp $") +MODULE_ID("$From: p_show.c,v 1.2 1998/02/11 12:14:01 tom Exp $") static void panel_link_top(PANEL *pan) diff --git a/lib/libpanel/p_top.c b/lib/libpanel/p_top.c index cff6d711377..6a68804f1c5 100644 --- a/lib/libpanel/p_top.c +++ b/lib/libpanel/p_top.c @@ -1,33 +1,44 @@ -/* $OpenBSD: p_top.c,v 1.1 1997/12/03 05:17:55 millert Exp $ */ +/* $OpenBSD: p_top.c,v 1.2 1998/07/24 17:08:16 millert Exp $ */ -/*************************************************************************** -* COPYRIGHT NOTICE * -**************************************************************************** -* panels is copyright (C) 1995 * -* Zeyd M. Ben-Halim * -* zmbenhal@netcom.com * -* Eric S. Raymond * -* esr@snark.thyrsus.com * -* * -* All praise to the original author, Warren Tucker. * -* * -* Permission is hereby granted to reproduce and distribute panels * -* by any means and for any fee, whether alone or as part of a * -* larger distribution, in source or in binary form, PROVIDED * -* this notice is included with any such distribution, and is not * -* removed from any of its header files. Mention of panels in any * -* applications linked with it is highly appreciated. * -* * -* panels comes AS IS with no warranty, implied or expressed. * -* * -***************************************************************************/ +/**************************************************************************** + * Copyright (c) 1998 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * + * "Software"), to deal in the Software without restriction, including * + * without limitation the rights to use, copy, modify, merge, publish, * + * distribute, distribute with modifications, sublicense, and/or sell * + * copies of the Software, and to permit persons to whom the Software is * + * furnished to do so, subject to the following conditions: * + * * + * The above copyright notice and this permission notice shall be included * + * in all copies or substantial portions of the Software. * + * * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * + * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * + * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * + * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * + * * + * Except as contained in this notice, the name(s) of the above copyright * + * holders shall not be used in advertising or otherwise to promote the * + * sale, use or other dealings in this Software without prior written * + * authorization. * + ****************************************************************************/ + +/**************************************************************************** + * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1995 * + * and: Eric S. Raymond <esr@snark.thyrsus.com> * + ****************************************************************************/ /* p_top.c * Place a panel on top of the stack. */ #include "panel.priv.h" -MODULE_ID("Id: p_top.c,v 1.1 1997/10/12 13:16:22 juergen Exp $") +MODULE_ID("$From: p_top.c,v 1.2 1998/02/11 12:14:01 tom Exp $") int top_panel(PANEL *pan) diff --git a/lib/libpanel/p_update.c b/lib/libpanel/p_update.c index bef2a08b049..4e0d66f5917 100644 --- a/lib/libpanel/p_update.c +++ b/lib/libpanel/p_update.c @@ -1,33 +1,44 @@ -/* $OpenBSD: p_update.c,v 1.1 1997/12/03 05:17:55 millert Exp $ */ +/* $OpenBSD: p_update.c,v 1.2 1998/07/24 17:08:17 millert Exp $ */ -/*************************************************************************** -* COPYRIGHT NOTICE * -**************************************************************************** -* panels is copyright (C) 1995 * -* Zeyd M. Ben-Halim * -* zmbenhal@netcom.com * -* Eric S. Raymond * -* esr@snark.thyrsus.com * -* * -* All praise to the original author, Warren Tucker. * -* * -* Permission is hereby granted to reproduce and distribute panels * -* by any means and for any fee, whether alone or as part of a * -* larger distribution, in source or in binary form, PROVIDED * -* this notice is included with any such distribution, and is not * -* removed from any of its header files. Mention of panels in any * -* applications linked with it is highly appreciated. * -* * -* panels comes AS IS with no warranty, implied or expressed. * -* * -***************************************************************************/ +/**************************************************************************** + * Copyright (c) 1998 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * + * "Software"), to deal in the Software without restriction, including * + * without limitation the rights to use, copy, modify, merge, publish, * + * distribute, distribute with modifications, sublicense, and/or sell * + * copies of the Software, and to permit persons to whom the Software is * + * furnished to do so, subject to the following conditions: * + * * + * The above copyright notice and this permission notice shall be included * + * in all copies or substantial portions of the Software. * + * * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * + * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * + * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * + * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * + * * + * Except as contained in this notice, the name(s) of the above copyright * + * holders shall not be used in advertising or otherwise to promote the * + * sale, use or other dealings in this Software without prior written * + * authorization. * + ****************************************************************************/ + +/**************************************************************************** + * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1995 * + * and: Eric S. Raymond <esr@snark.thyrsus.com> * + ****************************************************************************/ /* p_update.c * wnoutrefresh windows in an orderly fashion */ #include "panel.priv.h" -MODULE_ID("Id: p_update.c,v 1.1 1997/10/12 13:16:22 juergen Exp $") +MODULE_ID("$From: p_update.c,v 1.2 1998/02/11 12:14:01 tom Exp $") void update_panels(void) diff --git a/lib/libpanel/p_user.c b/lib/libpanel/p_user.c index 46b29b74ced..30b4e08580b 100644 --- a/lib/libpanel/p_user.c +++ b/lib/libpanel/p_user.c @@ -1,33 +1,44 @@ -/* $OpenBSD: p_user.c,v 1.1 1997/12/03 05:17:55 millert Exp $ */ +/* $OpenBSD: p_user.c,v 1.2 1998/07/24 17:08:18 millert Exp $ */ -/*************************************************************************** -* COPYRIGHT NOTICE * -**************************************************************************** -* panels is copyright (C) 1995 * -* Zeyd M. Ben-Halim * -* zmbenhal@netcom.com * -* Eric S. Raymond * -* esr@snark.thyrsus.com * -* * -* All praise to the original author, Warren Tucker. * -* * -* Permission is hereby granted to reproduce and distribute panels * -* by any means and for any fee, whether alone or as part of a * -* larger distribution, in source or in binary form, PROVIDED * -* this notice is included with any such distribution, and is not * -* removed from any of its header files. Mention of panels in any * -* applications linked with it is highly appreciated. * -* * -* panels comes AS IS with no warranty, implied or expressed. * -* * -***************************************************************************/ +/**************************************************************************** + * Copyright (c) 1998 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * + * "Software"), to deal in the Software without restriction, including * + * without limitation the rights to use, copy, modify, merge, publish, * + * distribute, distribute with modifications, sublicense, and/or sell * + * copies of the Software, and to permit persons to whom the Software is * + * furnished to do so, subject to the following conditions: * + * * + * The above copyright notice and this permission notice shall be included * + * in all copies or substantial portions of the Software. * + * * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * + * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * + * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * + * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * + * * + * Except as contained in this notice, the name(s) of the above copyright * + * holders shall not be used in advertising or otherwise to promote the * + * sale, use or other dealings in this Software without prior written * + * authorization. * + ****************************************************************************/ + +/**************************************************************************** + * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1995 * + * and: Eric S. Raymond <esr@snark.thyrsus.com> * + ****************************************************************************/ /* p_user.c * Set/Get panels user pointer */ #include "panel.priv.h" -MODULE_ID("Id: p_user.c,v 1.2 1997/11/08 18:30:08 tom Exp $") +MODULE_ID("$From: p_user.c,v 1.3 1998/02/11 12:14:01 tom Exp $") int set_panel_userptr(PANEL *pan, NCURSES_CONST void *uptr) diff --git a/lib/libpanel/p_win.c b/lib/libpanel/p_win.c index 77ca4262ff1..ad62dbcc3e4 100644 --- a/lib/libpanel/p_win.c +++ b/lib/libpanel/p_win.c @@ -1,33 +1,44 @@ -/* $OpenBSD: p_win.c,v 1.1 1997/12/03 05:17:56 millert Exp $ */ - -/*************************************************************************** -* COPYRIGHT NOTICE * -**************************************************************************** -* panels is copyright (C) 1995 * -* Zeyd M. Ben-Halim * -* zmbenhal@netcom.com * -* Eric S. Raymond * -* esr@snark.thyrsus.com * -* * -* All praise to the original author, Warren Tucker. * -* * -* Permission is hereby granted to reproduce and distribute panels * -* by any means and for any fee, whether alone or as part of a * -* larger distribution, in source or in binary form, PROVIDED * -* this notice is included with any such distribution, and is not * -* removed from any of its header files. Mention of panels in any * -* applications linked with it is highly appreciated. * -* * -* panels comes AS IS with no warranty, implied or expressed. * -* * -***************************************************************************/ +/* $OpenBSD: p_win.c,v 1.2 1998/07/24 17:08:20 millert Exp $ */ + +/**************************************************************************** + * Copyright (c) 1998 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * + * "Software"), to deal in the Software without restriction, including * + * without limitation the rights to use, copy, modify, merge, publish, * + * distribute, distribute with modifications, sublicense, and/or sell * + * copies of the Software, and to permit persons to whom the Software is * + * furnished to do so, subject to the following conditions: * + * * + * The above copyright notice and this permission notice shall be included * + * in all copies or substantial portions of the Software. * + * * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * + * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * + * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * + * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * + * * + * Except as contained in this notice, the name(s) of the above copyright * + * holders shall not be used in advertising or otherwise to promote the * + * sale, use or other dealings in this Software without prior written * + * authorization. * + ****************************************************************************/ + +/**************************************************************************** + * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1995 * + * and: Eric S. Raymond <esr@snark.thyrsus.com> * + ****************************************************************************/ /* p_win.c * Return a panels window. */ #include "panel.priv.h" -MODULE_ID("Id: p_win.c,v 1.1 1997/10/12 13:16:22 juergen Exp $") +MODULE_ID("$From: p_win.c,v 1.2 1998/02/11 12:14:01 tom Exp $") WINDOW* panel_window(const PANEL *pan) diff --git a/lib/libpanel/panel.3 b/lib/libpanel/panel.3 index 0bfa6279222..1d4021c4c0b 100644 --- a/lib/libpanel/panel.3 +++ b/lib/libpanel/panel.3 @@ -1,5 +1,34 @@ -.\" $OpenBSD: panel.3,v 1.5 1997/12/14 23:19:07 millert Exp $ -.\" Id: panel.3x,v 1.8 1997/12/14 01:49:25 tom Exp $ +.\" $OpenBSD: panel.3,v 1.6 1998/07/24 17:08:21 millert Exp $ +.\" +.\"*************************************************************************** +.\" Copyright (c) 1998 Free Software Foundation, Inc. * +.\" * +.\" Permission is hereby granted, free of charge, to any person obtaining a * +.\" copy of this software and associated documentation files (the * +.\" "Software"), to deal in the Software without restriction, including * +.\" without limitation the rights to use, copy, modify, merge, publish, * +.\" distribute, distribute with modifications, sublicense, and/or sell * +.\" copies of the Software, and to permit persons to whom the Software is * +.\" furnished to do so, subject to the following conditions: * +.\" * +.\" The above copyright notice and this permission notice shall be included * +.\" in all copies or substantial portions of the Software. * +.\" * +.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * +.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * +.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * +.\" IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * +.\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * +.\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * +.\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. * +.\" * +.\" Except as contained in this notice, the name(s) of the above copyright * +.\" holders shall not be used in advertising or otherwise to promote the * +.\" sale, use or other dealings in this Software without prior written * +.\" authorization. * +.\"*************************************************************************** +.\" +.\" $From: panel.3x,v 1.9 1998/03/11 21:12:53 juergen Exp $ .TH panel 3 "" .ds n 5 .ds d /usr/share/terminfo @@ -8,7 +37,7 @@ panel - panel stack extension for curses .SH SYNOPSIS \fB#include <panel.h>\fR .P -\fBcc [flags] sourcefiles -lpanel -lcurses -ltermlib\fR +\fBcc [flags] sourcefiles -lpanel -lcurses\fR .P \fBPANEL *new_panel(WINDOW *win)\fR .br @@ -98,7 +127,7 @@ to move a panel window. .TP \fBreplace_panel(pan,window)\fR replaces the current window of panel with \fBwindow\fR (useful, for -example if you want to resize a panel; if you're using \fBcurses\fR, +example if you want to resize a panel; if you're using \fBncurses\fR, you can call \fBreplace_panel\fR on the output of \fBwresize\fR(3)). It does not change the position of the panel in the stack. .TP @@ -148,7 +177,7 @@ interface for the panels library libpanel.a the panels library itself .SH SEE ALSO -\fBcurses\fR(3X) +\fBcurses\fR(3) .SH AUTHOR Originally written by Warren Tucker <wht@n4hgf.mt-park.ga.us>, primarily to assist in porting u386mon to systems without a native diff --git a/lib/libpanel/panel.c b/lib/libpanel/panel.c index a97a1fadb6e..5cf72649694 100644 --- a/lib/libpanel/panel.c +++ b/lib/libpanel/panel.c @@ -1,31 +1,42 @@ -/* $OpenBSD: panel.c,v 1.3 1997/12/03 05:17:56 millert Exp $ */ +/* $OpenBSD: panel.c,v 1.4 1998/07/24 17:08:22 millert Exp $ */ -/*************************************************************************** -* COPYRIGHT NOTICE * -**************************************************************************** -* panels is copyright (C) 1995 * -* Zeyd M. Ben-Halim * -* zmbenhal@netcom.com * -* Eric S. Raymond * -* esr@snark.thyrsus.com * -* * -* All praise to the original author, Warren Tucker. * -* * -* Permission is hereby granted to reproduce and distribute panels * -* by any means and for any fee, whether alone or as part of a * -* larger distribution, in source or in binary form, PROVIDED * -* this notice is included with any such distribution, and is not * -* removed from any of its header files. Mention of panels in any * -* applications linked with it is highly appreciated. * -* * -* panels comes AS IS with no warranty, implied or expressed. * -* * -***************************************************************************/ +/**************************************************************************** + * Copyright (c) 1998 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * + * "Software"), to deal in the Software without restriction, including * + * without limitation the rights to use, copy, modify, merge, publish, * + * distribute, distribute with modifications, sublicense, and/or sell * + * copies of the Software, and to permit persons to whom the Software is * + * furnished to do so, subject to the following conditions: * + * * + * The above copyright notice and this permission notice shall be included * + * in all copies or substantial portions of the Software. * + * * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * + * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * + * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * + * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * + * * + * Except as contained in this notice, the name(s) of the above copyright * + * holders shall not be used in advertising or otherwise to promote the * + * sale, use or other dealings in this Software without prior written * + * authorization. * + ****************************************************************************/ + +/**************************************************************************** + * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1995 * + * and: Eric S. Raymond <esr@snark.thyrsus.com> * + ****************************************************************************/ /* panel.c -- implementation of panels library, some core routines */ #include "panel.priv.h" -MODULE_ID("Id: panel.c,v 1.14 1997/10/18 18:34:31 tom Exp $") +MODULE_ID("$From: panel.c,v 1.15 1998/02/11 12:14:01 tom Exp $") #ifdef TRACE #ifndef TRACE_TXT diff --git a/lib/libpanel/panel.h b/lib/libpanel/panel.h index e371ed84085..dd04bf696f3 100644 --- a/lib/libpanel/panel.h +++ b/lib/libpanel/panel.h @@ -1,26 +1,37 @@ -/* $OpenBSD: panel.h,v 1.3 1997/12/03 05:17:57 millert Exp $ */ +/* $OpenBSD: panel.h,v 1.4 1998/07/24 17:08:23 millert Exp $ */ -/*************************************************************************** -* COPYRIGHT NOTICE * -**************************************************************************** -* panels is copyright (C) 1995 * -* Zeyd M. Ben-Halim * -* zmbenhal@netcom.com * -* Eric S. Raymond * -* esr@snark.thyrsus.com * -* * -* All praise to the original author, Warren Tucker. * -* * -* Permission is hereby granted to reproduce and distribute panels * -* by any means and for any fee, whether alone or as part of a * -* larger distribution, in source or in binary form, PROVIDED * -* this notice is included with any such distribution, and is not * -* removed from any of its header files. Mention of panels in any * -* applications linked with it is highly appreciated. * -* * -* panels comes AS IS with no warranty, implied or expressed. * -* * -***************************************************************************/ +/**************************************************************************** + * Copyright (c) 1998 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * + * copy of this software and associated documentation files (the * + * "Software"), to deal in the Software without restriction, including * + * without limitation the rights to use, copy, modify, merge, publish, * + * distribute, distribute with modifications, sublicense, and/or sell * + * copies of the Software, and to permit persons to whom the Software is * + * furnished to do so, subject to the following conditions: * + * * + * The above copyright notice and this permission notice shall be included * + * in all copies or substantial portions of the Software. * + * * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * + * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * + * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * + * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * + * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * + * * + * Except as contained in this notice, the name(s) of the above copyright * + * holders shall not be used in advertising or otherwise to promote the * + * sale, use or other dealings in this Software without prior written * + * authorization. * + ****************************************************************************/ + +/**************************************************************************** + * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1995 * + * and: Eric S. Raymond <esr@snark.thyrsus.com> * + ****************************************************************************/ /* panel.h -- interface file for panels library */ diff --git a/lib/libpanel/panel.priv.h b/lib/libpanel/panel.priv.h index e2365b2f702..a8d8d182867 100644 --- a/lib/libpanel/panel.priv.h +++ b/lib/libpanel/panel.priv.h @@ -1,6 +1,5 @@ -/* $OpenBSD: panel.priv.h,v 1.2 1997/12/03 05:17:57 millert Exp $ */ - -/* Id: panel.priv.h,v 1.8 1997/10/21 10:19:37 juergen Exp $ */ +/* $OpenBSD: panel.priv.h,v 1.3 1998/07/24 17:08:24 millert Exp $ */ +/* $From: panel.priv.h,v 1.8 1997/10/21 10:19:37 juergen Exp $ */ #ifndef _PANEL_PRIV_H #define _PANEL_PRIV_H |