home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume25 / ted / part03 / tparam.c < prev   
Encoding:
C/C++ Source or Header  |  1991-11-06  |  1.4 KB  |  43 lines

  1. /*
  2. ** This software is Copyright (c) 1991 by Daniel Weaver.
  3. **
  4. ** Permission is hereby granted to copy, distribute or otherwise
  5. ** use any part of this package as long as you do not try to make
  6. ** money from it or pretend that you wrote it.  This copyright
  7. ** notice must be maintained in any copy made.
  8. **
  9. ** Use of this software constitutes acceptance for use in an AS IS
  10. ** condition. There are NO warranties with regard to this software.
  11. ** In no event shall the author be liable for any damages whatsoever
  12. ** arising out of or in connection with the use or performance of this
  13. ** software.  Any use of this software is at the user's own risk.
  14. **
  15. **  If you make modifications to this software that you feel
  16. **  increases it usefulness for the rest of the community, please
  17. **  email the changes, enhancements, bug fixes as well as any and
  18. **  all ideas to me. This software is going to be maintained and
  19. **  enhanced as deemed necessary by the community.
  20. */
  21.  
  22. /*
  23. ** This subroutine should be tparm() as written by the Free Software Foundation.
  24. ** But the nice folks at FSF would not let me give it away free.
  25. ** The version I use for my testing was lifted from emacs and I recommend
  26. ** that you do the same.  FSF should change its name to the Free Lunch
  27. ** Foundation.
  28. **
  29. ** System V users can deep 6 this file all together.
  30. */
  31. #ifdef TESTCAP
  32. extern char *tgoto();
  33.  
  34. char *
  35. tparm(cap, a, b)
  36. char *cap;
  37. int a, b;
  38. {
  39.     if (cap) return tgoto(cap, b, a);
  40.     return "";
  41. }
  42. #endif
  43.