[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference noted::pwdoswinv5

Title:PATHWORKS V5 for DOS and Windows
Notice:OS2LAN::OS2:[PUBLIC] is alive again, but not what it used to be
Moderator:RANGER::CURLESS
Created:Fri Feb 11 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:7404
Total number of notes:27276

7330.0. "Extracting Application defs from DWDOS.CFG" by PEACHS::GHEFF (Got a head with wings) Thu Feb 13 1997 11:01

    I'm going to preface this by saying I probably take 3 calls a year on
    dwdos so I don't currently have a PC configured with it.  
    
    The problem my customer is having is that dwdos has gotten into such a
    state that it will not start up fully.  The server starts, it
    apparently tries to run an X app, fails, and then closes down.  The
    end result is that the user can't get in to look at the applications
    that are defined in the .cfg file. Ultimately the administrator wants
    to get the user off of dwdos and onto eXcursion but would like have 
    list of what applications the user is running so he can recreate it
    under eXcursion.
    
    I suggested to him that he grab a binary editor and have a look at the
    cfg file.  Or to pass it thru the Unix "strings" utility.  
    
    Any other thoughts about getting this information out of the .cfg file?
    Are there readable strings in there?
    
    #Gary
    eXcursion Support
T.RTitleUserPersonal
Name
DateLines
7330.1JAMIN::WASSERJohn A. WasserThu Feb 13 1997 16:5038
typedef union _Data
	{
	struct _Integer
		{
		short int size;  /* Always 2 for Integer */
		short int value;
		} Integer;
	struct _String
		{
		short int size;		/* Always length+2 */
		short int length;	/* Length of the string in bytes */
		char value[];		/* The string */
		} String;
	} Data;

typedef struct _Block
	{
	short int sequence;	/* Sequence number */
	short int type;		/* Type of data block */
	short int version;	/* Version of the data type */
	short int count;	/* Number of data items in the block */
	Data data[];		/* List of data items for this block */
	} Block.

Data blck types:
#define CMT_ACCOUNT     0
#define CMT_APPLICATION 1
#define CMT_OPTIONS     2
#define CMT_VALID_HOST  3
#define CMT_CONTROL_HOST 4
#define CMT_ACCESS_FLAGS 5
#define CMT_FONT_PATH   6
#define CMT_KEYBOARD    7
#define CMT_VIDEO       8
#define CMT_PASSWORD    9
#define CMT_COLORS      10
#define CMT_SCREEN_SAVER 11
#define CMT_POINTER     12
7330.2PEACHS::GHEFFGot a head with wingsFri Feb 14 1997 08:553
    Thanks, John.
    
    #Gary