home *** CD-ROM | disk | FTP | other *** search
/ vsiftp.vmssoftware.com / VSIPUBLIC@vsiftp.vmssoftware.com.tar / FREEWARE / FREEWARE40.ZIP / flistfrontend / src / flescp.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-18  |  555 b   |  29 lines

  1. #ifndef NO_IDENT
  2. static char *Id = "$Id: flescp.c,v 1.4 1995/03/18 23:50:22 tom Exp $";
  3. #endif
  4.  
  5. /*
  6.  * Title:    flescp.c
  7.  * Author:    Thomas E. Dickey
  8.  * Created:    11 Jul 1984
  9.  * Last update:
  10.  *        18 Mar 1995, prototypes
  11.  *        11 Jun 1985, added cli-argument to dds_spawn
  12.  *        11 Jul 1984
  13.  *
  14.  * Function:    Spawn an external process to permit command entry outside
  15.  *        FLIST.
  16.  */
  17.  
  18. #include    <ctype.h>
  19.  
  20. #include    "flist.h"
  21. #include    "dircmd.h"
  22. #include    "dds.h"
  23.  
  24. tDIRCMD(flescp)
  25. {
  26.     dds_spawn ((_toupper(xcmd_[1]) == 'H') ? "shell" : nullC,
  27.         *curfile_, 0, 0, FALSE, 2);
  28. }
  29.