/* cmdlist.c * * Copyright (c) 1992-2005 by Mike Gleason. * All rights reserved. * */ #include "syshdrs.h" #ifdef PRAGMA_HDRSTOP # pragma hdrstop #endif #include "shell.h" #include "bookmark.h" #include "cmds.h" /* These will be sorted lexiographically when the program is run, but * they should already be listed that way. */ Command gCommands[] = { #if (defined(WIN32) || defined(_WINDOWS)) && !defined(__CYGWIN__) #else { "!", ShellCmd, "[arguments]", "Runs a subshell", kCmdHidden, kNoMin, kNoMax, }, #endif { "?", HelpCmd, "[optional commands]", "shows commands, or detailed help on specified commands", kCmdHidden, kNoMin, kNoMax, }, { "ascii", TypeCmd, "", "sets the file transfer type to ASCII text", kCmdMustBeConnected, 0, 0, }, #ifdef HAVE_LONG_FILE_NAMES { "bgget", SpoolGetCmd, "[-flags] file1 [file2...]\n\ Flags:\n\ -z : Get the remote file file1, and name it to file2.\n\ -@