diff --git a/dos/pdcscrn.c b/dos/pdcscrn.c index 3b592072..e894451e 100644 --- a/dos/pdcscrn.c +++ b/dos/pdcscrn.c @@ -24,7 +24,7 @@ # include #endif -RCSID("$Id: pdcscrn.c,v 1.33 2006/07/16 19:56:07 wmcbrine Exp $"); +RCSID("$Id: pdcscrn.c,v 1.34 2006/07/17 02:20:48 wmcbrine Exp $"); Regs regs; /* used in various other modules */ @@ -38,14 +38,12 @@ static int saved_cols = 0; physical screen PDCurses Description: - This is a nop for the DOS platform. + May restore the screen to its state before PDC_scr_open(); + miscellaneous cleanup. PDCurses Return Value: This function returns OK on success, otherwise an ERR is returned. - PDCurses Errors: - The DOS platform will never fail. - Portability: PDCurses int PDC_scr_close(void); @@ -100,14 +98,13 @@ int PDC_scr_close(void) physical screen PDCurses Description: - This is a NOP for the DOS platform. + The platform-specific part of initscr() -- allocates SP, does + miscellaneous intialization, and may save the existing screen + for later restoration. PDCurses Return Value: This function returns OK on success, otherwise an ERR is returned. - PDCurses Errors: - The DOS platform will never fail. - Portability: PDCurses int PDC_scr_open(int argc, char **argv); diff --git a/os2/pdcscrn.c b/os2/pdcscrn.c index 85a7a2e5..5f9b790c 100644 --- a/os2/pdcscrn.c +++ b/os2/pdcscrn.c @@ -20,7 +20,7 @@ #include #include -RCSID("$Id: pdcscrn.c,v 1.29 2006/07/16 19:56:07 wmcbrine Exp $"); +RCSID("$Id: pdcscrn.c,v 1.30 2006/07/17 02:20:48 wmcbrine Exp $"); #ifdef EMXVIDEO static unsigned char *saved_screen = NULL; @@ -37,14 +37,11 @@ static USHORT saved_cols = 0; PDC_scr_close() - Internal low-level binding to close the physical screen PDCurses Description: - This is a nop for the DOS platform. + May restore the screen to its state before PDC_scr_open(); + miscellaneous cleanup. PDCurses Return Value: - This function returns OK on success, otherwise an ERR is - returned. - - PDCurses Errors: - The DOS platform will never fail. + This function returns OK on success, otherwise an ERR is returned. Portability: PDCurses int PDC_scr_close(void); @@ -122,14 +119,12 @@ bool PDC_scrn_modes_equal(int mode1, int mode2) PDC_scr_open() - Internal low-level binding to open the physical screen PDCurses Description: - This is a NOP for the DOS platform. + The platform-specific part of initscr() -- allocates SP, does + miscellaneous intialization, and may save the existing screen + for later restoration. PDCurses Return Value: - This function returns OK on success, otherwise an ERR is - returned. - - PDCurses Errors: - The DOS platform will never fail. + This function returns OK on success, otherwise an ERR is returned. Portability: PDCurses int PDC_scr_open(int argc, char **argv); diff --git a/win32/pdcscrn.c b/win32/pdcscrn.c index c419885b..45ddd13a 100644 --- a/win32/pdcscrn.c +++ b/win32/pdcscrn.c @@ -19,7 +19,7 @@ #define INCLUDE_WINDOWS_H #include -RCSID("$Id: pdcscrn.c,v 1.39 2006/07/16 19:56:07 wmcbrine Exp $"); +RCSID("$Id: pdcscrn.c,v 1.40 2006/07/17 02:20:48 wmcbrine Exp $"); #define PDC_RESTORE_NONE 0 #define PDC_RESTORE_BUFFER 1 @@ -45,14 +45,11 @@ static DWORD dwConsoleMode = 0; PDC_scr_close() - Internal low-level binding to close the physical screen PDCurses Description: - This is a nop for the DOS platform. + May restore the screen to its state before PDC_scr_open(); + miscellaneous cleanup. PDCurses Return Value: - This function returns OK on success, otherwise an ERR is - returned. - - PDCurses Errors: - The DOS platform will never fail. + This function returns OK on success, otherwise an ERR is returned. Portability: PDCurses int PDC_scr_close(void); @@ -115,14 +112,12 @@ int PDC_scr_close(void) PDC_scr_open() - Internal low-level binding to open the physical screen PDCurses Description: - This is a NOP for the DOS platform. + The platform-specific part of initscr() -- allocates SP, does + miscellaneous intialization, and may save the existing screen + for later restoration. PDCurses Return Value: - This function returns OK on success, otherwise an ERR is - returned. - - PDCurses Errors: - The DOS platform will never fail. + This function returns OK on success, otherwise an ERR is returned. Portability: PDCurses int PDC_scr_open(int argc, char **argv); diff --git a/x11/pdcscrn.c b/x11/pdcscrn.c index 77c36ed3..0f4f39c4 100644 --- a/x11/pdcscrn.c +++ b/x11/pdcscrn.c @@ -17,7 +17,7 @@ #include "pdcx11.h" -RCSID("$Id: pdcscrn.c,v 1.27 2006/07/16 19:56:07 wmcbrine Exp $"); +RCSID("$Id: pdcscrn.c,v 1.28 2006/07/17 02:20:48 wmcbrine Exp $"); bool GLOBAL_sb_on = FALSE; bool GLOBAL_slk_on = FALSE; @@ -28,14 +28,12 @@ bool GLOBAL_slk_on = FALSE; physical screen PDCurses Description: - This is a nop for the DOS platform. + May restore the screen to its state before PDC_scr_open(); + miscellaneous cleanup. PDCurses Return Value: This function returns OK on success, otherwise an ERR is returned. - PDCurses Errors: - The DOS platform will never fail. - Portability: PDCurses int PDC_scr_close(void); @@ -54,14 +52,13 @@ int PDC_scr_close(void) screen PDCurses Description: - This is a NOP in DOS. + The platform-specific part of initscr() -- allocates SP, does + miscellaneous intialization, and may save the existing screen + for later restoration. PDCurses Return Value: This function returns OK on success, otherwise an ERR is returned. - PDCurses Errors: - The DOS platform will never fail. - Portability: PDCurses int PDC_scr_open(int argc, char **argv);