home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / fweb153.zip / fweb-1.53 / web / termcap0.c < prev    next >
C/C++ Source or Header  |  1995-09-23  |  1KB  |  76 lines

  1. #if(0)
  2.   FTANGLE v1.53, created with UNIX on "Thursday, September 21, 1995 at 15:06." 
  3.   COMMAND LINE: "web/ftangle web/termcap0 -A -# --F -= 1.53/web/termcap0.c"
  4.   RUN TIME: "Saturday, September 23, 1995 at 16:17."
  5.   WEB FILE:    "web/termcap0.web"
  6.   CHANGE FILE: (none)
  7. #endif
  8.  
  9.  
  10.  
  11. #include "os.h" /* Allegedly all system-specific stuff. */
  12.  
  13.  
  14. typedef char outer_char;
  15.  
  16.  
  17. #include "a_type.h"
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25. int tgetent FCN((buffer,name))
  26. outer_char*buffer C0("")
  27. CONST outer_char*name C1("")
  28. {
  29. *buffer= '\0';
  30.  
  31. return 0;
  32. }
  33.  
  34.  
  35. int tgetflag FCN((id))
  36. CONST outer_char*id C1("")
  37. {
  38. return 0;
  39. }
  40.  
  41.  
  42. int tgetnum FCN((id))
  43. CONST outer_char*id C1("")
  44. {
  45. return-1;
  46. }
  47.  
  48.  
  49. outer_char*tgetstr FCN((id,pp))
  50. CONST outer_char*id C0("")
  51. outer_char**pp C1("")
  52. {
  53. return NULL;
  54. }
  55.  
  56.  
  57. outer_char*tgoto FCN((cm,destcol,destline))
  58. CONST outer_char*cm C0("")
  59. int destcol C0("")
  60. int destline C1("")
  61. {
  62. return(outer_char*)"OOPS";
  63. }
  64.  
  65.  
  66. SRTN tputs FCN((cp,affcnt,outc))
  67. outer_char*cp C0("")
  68. int affcnt C0("")
  69. int(*outc)PROTO((int))C1("")
  70. {
  71. while(*cp)
  72. (*outc)(*cp++);
  73. }
  74.  
  75.  
  76.