File ModuleCmd_Display.c

 ** ** Module Header ******************************************************* **
 ** 									     **
 **   Modules Revision 3.0						     **
 **   Providing a flexible user environment				     **
 ** 									     **
 **   File:		ModuleCmd_Display.c				     **
 **   First Edition:	1991/10/23					     **
 ** 									     **
 **   Authors:	John Furlan, jlf@behere.com				     **
 **		Jens Hamisch, jens@Strawberry.COM			     **
 ** 									     **
 **   Description:	Displays what changes a modulefile will make to the  **
 **			environment including any conflics or prerequisits.  **
 ** 									     **
 **   Exports:		ModuleCmd_Display				     **
 ** 									     **
 **   Notes:								     **
 ** 									     **
 ** ************************************************************************ **
References Variables: Id ModuleCmd_Display.c

Included Files


Global Variable local_line

char local_line[]
Visible in:   ModuleCmd_Avail.c
    ModuleCmd_Bootstrap.c
    ModuleCmd_Clear.c
    ModuleCmd_Display.c
    ModuleCmd_Help.c
    ModuleCmd_Init.c
    ModuleCmd_List.c
    ModuleCmd_Load.c
    ModuleCmd_Purge.c
    ModuleCmd_Refresh.c
    ModuleCmd_Switch.c
    ModuleCmd_Update.c
    ModuleCmd_Use.c
    ModuleCmd_Whatis.c
    cmdAlias.c
    cmdConflict.c
    cmdInfo.c
    cmdIsLoaded.c
    cmdLog.c
    cmdMisc.c
    cmdModule.c
    cmdPath.c
    cmdSetenv.c
    cmdTrace.c
    cmdUlvl.c
    cmdUname.c
    cmdVerbose.c
    cmdVersion.c
    cmdWhatis.c
    cmdXResource.c
    error.c
    getopt.c
    init.c
    locate_module.c
    main.c
    modules_def.h
    utility.c
Used in: ModuleCmd_Display() ModuleCmd_Display.c

Local Variables

Id
static char Id[]
Used in:   ModuleCmd_Display.c

UseId
static void* UseId[]

module_name
static char module_name[]

Used in: ModuleCmd_Display()  

Global Function ModuleCmd_Display()

 ** ** Function-Header ***************************************************** **
 ** 									     **
 **   Function:		ModuleCmd_Display				     **
 ** 									     **
 **   Description:	Execution of the module-command 'display'	     **
 **			Display every change a module 'load' would apply to  **
 **			the environment					     **
 ** 									     **
 **   First Edition:	1991/10/23					     **
 ** 									     **
 **   Parameters:	Tcl_Interp	*interp		Attached Tcl Interp. **
 **			char 		*argv[]		Argument list	     **
 ** 									     **
 **   Result:		int	TCL_ERROR	Failure			     **
 **				TCL_OK		Successfull operation	     **
 ** 									     **
 **   Attached Globals:	g_specified_module	The module name from the     **
 **						command line.		     **
 **   			g_flags		These are set up accordingly before  **
 **					this function is called in order to  **
 **					control everything		     **
 **			g_current_module	The module which is handled  **
 **						by the current command	     **
 ** 									     **
 ** ************************************************************************ **
int ModuleCmd_Display ( Tcl_Interp* interp, int argc, char* argv[] )
Prototyped in: modules_def.h
Calls: CallModuleProcedure() cmdModule.c
  InitializeModuleCommands() init.c
  Locate_ModuleFile() locate_module.c
  Module_Error() error.c
  Tcl_CreateInterp(), Tcl_DStringFree(), Tcl_DStringInit(), Tcl_DeleteInterp(), fprintf()
Called by: cmdModule() cmdModule.c
References Variables: g_current_module main.c
  g_flags main.c
  g_specified_module main.c
  local_line ModuleCmd_Display.c
  module_name ModuleCmd_Display.c