home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
thesrc15.zip
/
bsd.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-11-17
|
5KB
|
135 lines
/***********************************************************************/
/* BSD.C - */
/* This file contains pseudo SystemV functions that are missing in BSD.*/
/***********************************************************************/
/*
* THE - The Hessling Editor. A text editor similar to VM/CMS xedit.
* Copyright (C) 1991-1993 Mark Hessling
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to:
*
* The Free Software Foundation, Inc.
* 675 Mass Ave,
* Cambridge, MA 02139 USA.
*
*
* If you make modifications to this software that you feel increases
* it usefulness for the rest of the community, please email the
* changes, enhancements, bug fixes as well as any and all ideas to me.
* This software is going to be maintained and enhanced as deemed
* necessary by the community.
*
* Mark Hessling email: M.Hessling@gu.edu.au
* 36 David Road Phone: +61 7 849 7731
* Holland Park Fax: +61 7 875 5314
* QLD 4121
* Australia
*/
/*
$Header: C:\THE\RCS\bsd.c 1.4 1993/09/01 16:25:31 MH Interim MH $
*/
#include <stdio.h>
#include "the.h"
#include "proto.h"
/*-------------------------- external data ----------------------------*/
extern VIEW_DETAILS *vd_current,*vd_first;
extern char current_file; /* pointer to current file */
/*---------------------- function definitions -------------------------*/
/***********************************************************************/
int reset_shell_mode()
/***********************************************************************/
{
/*--------------------------- local data ------------------------------*/
/*--------------------------- processing ------------------------------*/
return(0);
}
/***********************************************************************/
int reset_prog_mode()
/***********************************************************************/
{
/*--------------------------- local data ------------------------------*/
/*--------------------------- processing ------------------------------*/
return(0);
}
/***********************************************************************/
int doupdate()
/***********************************************************************/
{
/*--------------------------- local data ------------------------------*/
unsigned short y,x;
/*--------------------------- processing ------------------------------*/
getyx(CURRENT_WINDOW,y,x);
refresh();
wmove(CURRENT_WINDOW,y,x);
wrefresh(CURRENT_WINDOW);
return(0);
}
/***********************************************************************/
int wnoutrefresh(win)
WINDOW *win;
/***********************************************************************/
{
/*--------------------------- local data ------------------------------*/
/*--------------------------- processing ------------------------------*/
wrefresh(win);
return(0);
}
/***********************************************************************/
int notimeout(win,bf)
WINDOW *win;
bool bf;
/***********************************************************************/
{
/*--------------------------- local data ------------------------------*/
/*--------------------------- processing ------------------------------*/
return(0);
}
/***********************************************************************/
int wattrset(win,attrs)
WINDOW *win;
long attrs;
/***********************************************************************/
{
/*--------------------------- local data ------------------------------*/
/*--------------------------- processing ------------------------------*/
if (attrs == A_NORMAL)
wstandend(win);
else
wstandout(win);
return(0);
}
#ifdef VMS
/***********************************************************************/
FILE *popen(str,mode)
char *str,*mode;
/***********************************************************************/
{
/*--------------------------- local data ------------------------------*/
/*--------------------------- processing ------------------------------*/
return(FILE *)(0);
}
/***********************************************************************/
int pclose(fp)
FILE *fp;
/***********************************************************************/
{
/*--------------------------- local data ------------------------------*/
/*--------------------------- processing ------------------------------*/
return(0);
}
#endif