Mftp.wcChildren:          	layout
Mftp.wcPopups:			Shellstatus, Shellcommand
Mftp.title:                    	Mftp
Mftp.allowShellResize:		FALSE
Mftp*wcTrace:                   FALSE

*width_in_chars:                60

*fontList:			-*-*-*-R-*-*-*-120-*-*-*-*-ISO8859-1

*layout.wcClass:		XmForm
*layout.wcChildren:            	menuBar, \
				status, \
                                dir, \
				host_name, system_name, default_mode, \
                                connect, dir_display, command, rate, \
                                percent, \
				listsw
*layout.horizontalSpacing:	0

;
; The menu bar
;
*menuBar.wcCreate:              XmCreateMenuBar
*menuBar.leftAttachment:        XmATTACH_FORM
*menuBar.rightAttachment:	XmATTACH_FORM
*menuBar.topAttachment:		XmATTACH_FORM
*menuBar.wcChildren:		quitm, quitmMenu, \
				listing, listingMenu, \
				sort, sortmenu, \
				fileopts, fileoptsmenu, \
				filesopts, filesoptsmenu, \
			        helpm, helpMenu

;
; File menu.
;
*quitm.wcConstructor:		XmCreateCascadeButton
*quitm.wcCallback:            	help_register
*quitm.labelString:             Quit
*quitm.mnemonic:		F
*quitm.helpCallback:		Help()


*quitmMenu.wcConstructor:	XmCreatePulldownMenu
*quitmMenu.wcCallback:    	WcSetValue(*quitm.subMenuId: *quitmMenu)
*quitmMenu.wcManaged:     	False
*quitmMenu.wcChildren:		abort, quit

*abort.wcConstructor:        	XmCreateCascadeButton
*abort.labelString:		Abort
*abort.mnemonic:		A
*abort.activateCallback:	abort

*quit.wcConstructor:        	XmCreateCascadeButton
*quit.labelString:		Quit
*quit.mnemonic:			Q
*quit.activateCallback:		quit
;
; Listing Options
;
*listing.wcCreate:              XmCreateCascadeButton
*listing.wcCallback:            noop(get put dir connect action Sensitive) \
                                help_register
*listing.labelString:           Short Listing\ 
*listing.mnemonic: 		L

*listingMenu.wcConstructor:     XmCreatePulldownMenu
*listingMenu.wcCallback:    	WcSetValue(*listing.subMenuId: *listingMenu)
*listingMenu.wcChildren:	lmenu1, lmenu2, lmenu3, lmenu4, \
				lmenu6

*lmenu1.wcConstructor:	        XmCreateCascadeButtonGadget
*lmenu1.labelString:            Short listing
*lmenu1.activateCallback:	listing_type(SHORT) 

*lmenu2.wcConstructor:	        XmCreateCascadeButtonGadget
*lmenu2.labelString:            Medium listing
*lmenu2.activateCallback:	listing_type(MEDIUM) 

*lmenu3.wcConstructor:	        XmCreateCascadeButtonGadget
*lmenu3.labelString:            Long listing
*lmenu3.activateCallback:	listing_type(LONG) 

*lmenu4.wcConstructor:	        XmCreateCascadeButtonGadget
*lmenu4.labelString:            Translation listing
*lmenu4.activateCallback:	listing_type(TRANSLATIONS) 

*lmenu6.wcConstructor:	        XmCreateCascadeButtonGadget
*lmenu6.labelString:            Translations
*lmenu6.activateCallback:	List_Translations
;
; Sort Menu
;
*sort.wcCreate:              	XmCreateCascadeButton
*sort.wcCallback:            	noop(get put dir connect action Sensitive) \
                             	help_register
*sort.labelString:          	Sort Options 
*sort.mnemonic: 		S
*sort.helpCallback:		Help()

*sortmenu.wcConstructor:        XmCreatePulldownMenu
*sortmenu.wcCallback:    	WcSetValue(*sort.subMenuId: *sortmenu)
*sortmenu.wcChildren:		smbyname, smbysize, smbyage, smbytype,\
			        smreverse, smnormal

*smbyname.wcConstructor:        XmCreateCascadeButtonGadget
*smbyname.sensitive:        	FALSE
*smbyname.labelString:          Sort By Name
*smbyname.activateCallback:	listing_type(SORT_BY_NAME) 

*smbysize.wcConstructor:        XmCreateCascadeButtonGadget
*smbysize.labelString:          Sort By Size
*smbysize.activateCallback:	listing_type(SORT_BY_SIZE) 

*smbyage.wcConstructor:	        XmCreateCascadeButtonGadget
*smbyage.labelString:           Sort By Age
*smbyage.activateCallback:	listing_type(SORT_BY_AGE) 

*smbytype.wcConstructor:        XmCreateCascadeButtonGadget
*smbytype.labelString:          Sort By Type
*smbytype.activateCallback:	listing_type(SORT_BY_TYPE) 

*smreverse.wcConstructor:       XmCreateCascadeButtonGadget
*smreverse.labelString:         Reverse
*smreverse.activateCallback:	listing_type(REVERSE) 

*smnormal.wcConstructor:        XmCreateCascadeButtonGadget
*smnormal.sensitive:        	FALSE
*smnormal.labelString:          Normal
*smnormal.activateCallback:	listing_type(NORMAL) 

;
; File options
;
*fileopts.wcCreate:            	XmCreateCascadeButton
*fileopts.wcCallback:         	noop(get put dir connect action Sensitive)\
                             	help_register
*fileopts.labelString:         	File Options
*fileopts.mnemonic: 		F
*fileopts.helpCallback:		Help()
*fileopts.cascadingCallback:	Single_File_Actions

*fileoptsmenu.wcConstructor:    XmCreatePulldownMenu
*fileoptsmenu.wcCallback:    	WcSetValue(*fileopts.subMenuId: *fileoptsmenu)
*fileoptsmenu.wcChildren:	filem_UP filem_CD filem_GET  filem_VIEW \
				filem_PUT, \
				filem_Ascii, filem_Binary,  filem_Tenex, \
				filem_Default, \
				filem_ignore, filem_use

*filem_UP.wcConstructor:        XmCreateCascadeButtonGadget
*filem_UP.wcCallback:           Register_action(up)
*filem_UP.labelString:          Up
*filem_UP.activateCallback:     SetFileAction_menu()

*filem_CD.wcConstructor:        XmCreateCascadeButtonGadget
*filem_CD.wcCallback:           Register_action(cd)
*filem_CD.labelString:          Cd
*filem_CD.activateCallback:     SetFileAction_menu()

*filem_GET.wcConstructor:       XmCreateCascadeButtonGadget
*filem_GET.wcCallback:          Register_action(get)
*filem_GET.labelString:         Get
*filem_GET.activateCallback:    SetFileAction_menu()

*filem_VIEW.wcConstructor:      XmCreateCascadeButtonGadget
*filem_VIEW.wcCallback:         Register_action(view)
*filem_VIEW.labelString:        View
*filem_VIEW.activateCallback:   SetFileAction_menu()

*filem_PUT.wcConstructor:       XmCreateCascadeButtonGadget
*filem_PUT.wcCallback:          Register_action(put)
*filem_PUT.labelString:         Put
*filem_PUT.activateCallback:    SetFileAction_menu()

*filem_Ascii.wcConstructor:  	XmCreateCascadeButtonGadget
*filem_Ascii.wcCallback:        Register_action(ascii)
*filem_Ascii.labelString:       Ascii
*filem_Ascii.activateCallback:	SetFileAction_menu()

*filem_Binary.wcConstructor:  	XmCreateCascadeButtonGadget
*filem_Binary.wcCallback:       Register_action(binary)
*filem_Binary.labelString:      Binary
*filem_Binary.activateCallback:	SetFileAction_menu()

*filem_Tenex.wcConstructor:  	XmCreateCascadeButtonGadget
*filem_Tenex.wcCallback:        Register_action(tenex)
*filem_Tenex.labelString:       Tenex
*filem_Tenex.activateCallback:	SetFileAction_menu()

*filem_Default.wcConstructor: 	XmCreateCascadeButtonGadget
*filem_Default.wcCallback:      Register_action(default)
*filem_Default.labelString:     Default Mode
*filem_Default.activateCallback: SetFileAction_menu()

*filem_ignore.wcConstructor:   	XmCreateCascadeButtonGadget
*filem_ignore.wcCallback: 	Register_action(ignore)
*filem_ignore.labelString:     	Ignore
*filem_ignore.activateCallback:	SetFileAction_menu()

*filem_use.wcConstructor:      	XmCreateCascadeButtonGadget
*filem_use.wcCallback:    	Register_action(use)
*filem_use.labelString:        	Don't ignore
*filem_use.activateCallback:   	SetFileAction_menu()


;
; Files option
;
*filesopts.wcCreate:           	XmCreateCascadeButton
*filesopts.wcCallback:          help_register \
        noop(get put dir connect action Sensitive ifsensitive) 
*filesopts.labelString:        	Multi File Options
*filesopts.mnemonic: 		i
*filesopts.helpCallback:	Help()
*filesopts.cascadingCallback:	Single_File_Actions
*filesopts.sensitive:        	FALSE

*filesoptsmenu.wcConstructor:   XmCreatePulldownMenu
*filesoptsmenu.wcCallback:    	WcSetValue(*filesopts.subMenuId: *filesoptsmenu)
*filesoptsmenu.wcChildren: 	filesm_CLEAR filesm_GET_ALL filesm_PUT_ALL

*filesm_CLEAR.wcConstructor:    XmCreateCascadeButtonGadget
*filesm_CLEAR.wcCallback:       Register_action(clear_all)
*filesm_CLEAR.labelString:      Clear File Selections
*filesm_CLEAR.activateCallback: SetFileAction_menu()

*filesm_GET_ALL.wcConstructor:   XmCreateCascadeButtonGadget
*filesm_GET_ALL.wcCallback:      Register_action(get_all)
*filesm_GET_ALL.labelString:     Get Selected Files
*filesm_GET_ALL.activateCallback:SetFileAction_menu()

*filesm_PUT_ALL.wcConstructor:   XmCreateCascadeButtonGadget
*filesm_PUT_ALL.wcCallback:      Register_action(put_all)
*filesm_PUT_ALL.labelString:     Put Selected Files
*filesm_PUT_ALL.activateCallback:SetFileAction_menu()

;
; Help menu
;
*helpm.wcConstructor:		XmCreateCascadeButton
*helpm.wcCallback:    	        WcSetValue(*menuBar.menuHelpWidget: *helpm) \
                             	help_register
*helpm.labelString:             Help
*helpm.helpCallback:		Help()
*helpm.mnemonic:		H

*helpMenu.wcConstructor:	XmCreatePulldownMenu
*helpMenu.wcCallback:    	WcSetValue(*helpm.subMenuId: *helpMenu)
*helpMenu.wcManaged:     	False
*helpMenu.wcChildren:		HelpA, HelpGeneral

*HelpA.wcConstructor:   	XmCreateCascadeButton
*HelpA.labelString:		Context Sensitive Help
*HelpA.mnemonic:		C
*HelpA.activateCallback:	Help(c)


*HelpGeneral.wcConstructor:   	XmCreateCascadeButton
*HelpGeneral.labelString:	General Help
*HelpGeneral.mnemonic:		G
*HelpGeneral.activateCallback:	Help()

;
; Status display
;
*status.wcCreate:               XmLabel
*status.wcCallback:		help_register set_width(1)
*status.labelString:            \ 
*status.Alignment:   	        XmALIGNMENT_BEGINNING
*status.leftAttachment:	        XmATTACH_FORM
*status.rightAttachment:	XmATTACH_FORM
*status.topWidget:             *menuBar
*status.topAttachment:         	XmATTACH_WIDGET
*status.recomputeSize:		FALSE
*status.borderWidth:            2
*status.helpCallback:		Help()
*status.topOffset:		4
*status.translations:     	#override \
				<Key>osfHelp:  Help() \n\
                                <Btn1Down>: WcPopupACT(*Shellstatus) \
					    SetStatusIcon()
!
! Local direcotry
!
*dir.wcCreate:         	XmLabel
*dir.wcCallback:		help_register set_width(1)
*dir.labelString:          	\  
*dir.recomputeSize:		FALSE
*dir.Alignment:   	        XmALIGNMENT_BEGINNING
*dir.leftAttachment:	        XmATTACH_FORM
*dir.rightAttachment:		XmATTACH_FORM
*dir.topWidget:                 *status
*dir.topAttachment:          	XmATTACH_WIDGET
*dir.borderWidth:        	2
*dir.topOffset:			4
*dir.helpCallback:		Help() 

;
; Host name label
;
*host_name.wcCreate:        	XmLabel
*host_name.wcCallback:		help_register set_width(3, -8)
*host_name.labelString:         \ 
*host_name.Alignment:           XmALIGNMENT_BEGINNING
*host_name.topWidget:           *dir
*host_name.topAttachment:      	XmATTACH_WIDGET
*host_name.shadowThickness:    	0
*host_name.recomputeSize:	FALSE
*host_name.helpCallback:	Help()

;
; System name label
;
*system_name.wcCreate:     	XmLabel
*system_name.wcCallback:	help_register set_width(3, -8)
*system_name.labelString:       \  
*system_name.leftWidget:        *host_name
*system_name.leftAttachment: 	XmATTACH_WIDGET
*system_name.topWidget:         *dir
*system_name.topAttachment:    	XmATTACH_WIDGET
*system_name.recomputeSize:	FALSE
*system_name.helpCallback:	Help()

;
; Mode Name
;
*default_mode.wcCreate:      	XmLabel
*default_mode.wcCallback:	help_register set_width(3, -8)
*default_mode.labelString:      \     
*default_mode.leftWidget:      *system_name
*default_mode.leftAttachment: 	XmATTACH_WIDGET
*default_mode.topWidget:       *dir
*default_mode.topAttachment:   	XmATTACH_WIDGET
*default_mode.recomputeSize:	FALSE
*default_mode.Alignment:        XmALIGNMENT_END
*default_mode.helpCallback:	Help()

!
! Connect button
!
*connect.wcCreate:		XmPushButton
*connect.wcCallback:		noop(get put dir action connect Sensitive) \
                                help_register help_register(system_list) \
                                help_register(dotxftp) \
				help_register(Trademarks) \
			    	help_register(list_key_input) \
     			        help_register(Shellcommand) \
     			        help_register(Shellview) \
     			        help_register(Shelltran) \
				help_register(Shellstatus) \
				help_register(Shellhelp) \
				help_register(Shellconnect)
*connect.labelString:           Login
*connect.topWidget:             *host_name
*connect.topAttachment:        	XmATTACH_WIDGET
*connect.activateCallback:	connect_disconnect() Set_noop(connect)
*connect.recomputeSize:		FALSE
*connect.helpCallback:		Help()

;
; Remote/local Direcotry display
;
*dir_display.wcCreate:		XmPushButton
*dir_display.wcCallback:        noop(get put dir connect action Sensitive) \
                                help_register
*dir_display.labelString:	Remote
*dir_display.leftWidget:	*connect
*dir_display.leftAttachment:   	XmATTACH_WIDGET
*dir_display.topWidget:        	*host_name
*dir_display.topAttachment:   	XmATTACH_WIDGET
*dir_display.recomputeSize:	FALSE
*dir_display.activateCallback:	remote_local_toggle
*dir_display.helpCallback:	Help()
!
! Command button
!
*command.wcCreate:              XmPushButton
*command.labelString:           Command Shell
*command.leftWidget:		*dir_display
*command.leftAttachment:   	XmATTACH_WIDGET
*command.topWidget:             *host_name
*command.topAttachment:         XmATTACH_WIDGET
*command.recomputeSize:         FALSE
*command.helpCallback:          Help()
*command.activateCallback: 	WcPopupCB(*Shellcommand) \
                                SetIcons(*Shellcommand)

*rate.wcCreate:        		XmLabel
*rate.labelString:         	\ 
*rate.Alignment:           	XmALIGNMENT_END
*rate.topWidget:           	*host_name
*rate.topAttachment:      	XmATTACH_WIDGET
*rate.leftWidget:        	*command
*rate.leftAttachment:    	XmATTACH_WIDGET
*rate.rightAttachment:    	XmATTACH_FORM
*rate.shadowThickness:    	0
*rate.recomputeSize:		FALSE
*rate.helpCallback:		Help()
*rate.topOffset:		2


;
; Percent display
;
*percent.wcCreate:          	XmDrawingArea
*percent.wcCallback:		help_register set_width(1)
*percent.height:		3
*percent.topOffset:		2
*percent.MarginHeight:		2
*percent.MarginWidth:		2
*percent.Alignment:   	        XmALIGNMENT_BEGINNING
*percent.topWidget:            *dir_display
*percent.helpCallback:	        Help()
*percent.topAttachment:         XmATTACH_WIDGET
*percent.leftAttachment:        XmATTACH_FORM
*percent.rightAttachment:	XmATTACH_FORM

;
; The list SW
;
*listsw.wcCreate:		MyListSW
*listsw.wcCallback:             noop(get put dir action connect) \
                                help_register \
				set_width(1) \
				WcCreatePopups(*list, fmenu)
*listsw.topWidget:        	*percent
*listsw.height:                 400
*listsw.labelw:                 TRUE
*listsw.topAttachment:    	XmATTACH_WIDGET
*listsw.rightAttachment:  	XmATTACH_FORM
*listsw.leftAttachment:   	XmATTACH_FORM
*listsw.bottomAttachment:	XmATTACH_FORM
*listsw.topOffset:		2
*listsw.list.Callback:          list_notify
*listsw.list.columnSpacing:     0
*listsw.list.defaultColumns:    1
*listsw.list.rowSpacing:        0
*listsw.list.helpCallback:	help()
*listsw.list.translations:     	#override \
   Ctrl ~Shift <Key>n:		Listop(Down)\n\
  ~Ctrl ~Shift <Key>j:		Listop(Down)\n\
   Ctrl ~Shift <Key>p:		Listop(Up)\n\
  ~Ctrl ~Shift <Key>k:		Listop(Up)\n\
   Ctrl ~Shift <Key>f:		Listop(Right)\n\
  ~Ctrl ~Shift <Key>l:		Listop(Right)\n\
   Ctrl ~Shift <Key>b:		Listop(Left)\n\
  ~Ctrl ~Shift <Key>h:		Listop(Left)\n\
   Ctrl ~Shift <Key>a:	        Listop(Start)\n\
   Ctrl ~Shift <Key>e:         	Listop(End)\n\
   Ctrl ~Shift <Key>t:         	remote_local_toggle()\n\
  ~Ctrl  Shift <Key>l:         	Listing_type(LONG)\n\
  ~Ctrl  Shift <Key>s:         	Listing_type(SHORT)\n\
  ~Ctrl  Shift <Key>m:         	Listing_type(MEDIUM)\n\
  ~Ctrl  Shift <Key>t:         	Listing_type(TRANSLATIONS)\n\
  ~Ctrl  <Key>greater: 	        Listop(NextPage)\n\
  ~Ctrl  <Key>less:  	        Listop(PrevPage)\n\
   Ctrl  <Key>greater: 		Listop(Bottom)\n\
   Ctrl  <Key>less:     	Listop(Top)\n\
  ~Ctrl ~Shift <Key>u:		SetFileAction(up)\n\
  ~Ctrl ~Shift <Key>c:		SetFileAction(cd)\n\
  ~Ctrl ~Shift <Key>g:		SetFileAction(get)\n\
  ~Ctrl ~Shift <Key>p:		SetFileAction(put)\n\
  ~Ctrl ~Shift <Key>a:		SetFileAction(ascii)\n\
  ~Ctrl ~Shift <Key>b:		SetFileAction(binary)\n\
  ~Ctrl ~Shift <Key>d:		SetFileAction(default)\n\
  ~Ctrl ~Shift <Key>t:		SetFileAction(tenex)\n\
  Ctrl <Key>osfBeginLine:       Listop(Top)\n\
  Ctrl ~Shift <Key>osfBeginLine: Listop(Start)\n\
  Ctrl <Key>osfEndLine:         Listop(Bottom)\n\
  <Key>osfEndLine:              Listop(End)\n\
  ~Ctrl <Key>osfPageDown:       Listop(NextPage)\n\
  ~Ctrl <Key>osfPageUp:         Listop(PrevPage)\n\
  ~Ctrl ~Shift <Key>osfLeft:    Listop(Left)\n\
  ~Ctrl ~Shift <Key>osfRight:   Listop(Right)\n\
  ~Ctrl ~Shift <Key>osfUp:      Listop(Up)\n\
  ~Ctrl ~Shift <Key>osfDown:    Listop(Down)\n\
  ~Shift  ~Meta ~Alt <Key>space: Listop(Select)\n\
  <Key>osfHelp:  		PrimitiveHelp()\n\
  None<Btn2Down>(2): 	 	Set(x) \
				Open_file() \n\
  <Btn3Down>: 			Set(x) \
       	      			Single_File_Actions() \
              			MyPopupACT(*fmenu) \n\

;
; The list popup menu
;
*fmenu.wcConstructor:		XmCreatePopupMenu
*fmenu.wcChildren:              fmenu_title, fmenuline, \
                                fmenu_UP, fmenu_Cd, fmenu_GET, fmenu_VIEW,\
				fmenu_PUT,\
                                fmenu_Ascii, fmenu_Binary, fmenu_Tenex, \
                                fmenu_Default, \
				fmenu_ignore, fmenu_use,\
			        fmenuline, fmenuline,\
				fmenu_clear_all, \
				fmenu_get_all, fmenu_put_all, fmenu_delete_all
*fmenu.unmapCallback:	        Clear_List_Entry()

*fmenu_title.wcConstructor:     XmCreateLabelGadget
*fmenu_title.labelString:	Signle File Options

*fmenu_UP.wcConstructor:	XmCreateCascadeButtonGadget
*fmenu_UP.wcCallback:           Register_action(up)
*fmenu_UP.labelString:          Up
*fmenu_UP.activateCallback:	SetFileAction()

*fmenu_Cd.wcConstructor:        XmCreateCascadeButtonGadget
*fmenu_Cd.wcCallback:           Register_action(cd)
*fmenu_Cd.labelString:          Cd
*fmenu_Cd.activateCallback:	SetFileAction()

*fmenu_GET.wcConstructor:    	XmCreateCascadeButtonGadget
*fmenu_GET.wcCallback:          Register_action(get)
*fmenu_GET.labelString:         Get
*fmenu_GET.activateCallback:	SetFileAction()

*fmenu_VIEW.wcConstructor:    	XmCreateCascadeButtonGadget
*fmenu_VIEW.wcCallback:         Register_action(view)
*fmenu_VIEW.labelString:        View
*fmenu_VIEW.activateCallback:	SetFileAction()

*fmenu_PUT.wcConstructor:    	XmCreateCascadeButtonGadget
*fmenu_PUT.wcCallback:          Register_action(put)
*fmenu_PUT.labelString:         Put
*fmenu_PUT.activateCallback:	SetFileAction()

*fmenu_Ascii.wcConstructor:  	XmCreateCascadeButtonGadget
*fmenu_Ascii.wcCallback:        Register_action(ascii)
*fmenu_Ascii.labelString:       Ascii
*fmenu_Ascii.activateCallback:	SetFileAction()

*fmenu_Binary.wcConstructor:  	XmCreateCascadeButtonGadget
*fmenu_Binary.wcCallback:       Register_action(binary)
*fmenu_Binary.labelString:      Binary
*fmenu_Binary.activateCallback:	SetFileAction()

*fmenu_Tenex.wcConstructor:  	XmCreateCascadeButtonGadget
*fmenu_Tenex.wcCallback:        Register_action(tenex)
*fmenu_Tenex.labelString:       Tenex
*fmenu_Tenex.activateCallback:	SetFileAction()

*fmenu_Default.wcConstructor: 	XmCreateCascadeButtonGadget
*fmenu_Default.wcCallback:      Register_action(default)
*fmenu_Default.labelString:     Default Mode
*fmenu_Default.activateCallback: SetFileAction()

*fmenu_ignore.wcConstructor:    XmCreateCascadeButtonGadget
*fmenu_ignore.wcCallback:       Register_action(ignore)
*fmenu_ignore.labelString:      Ignore
*fmenu_ignore.activateCallback: SetFileAction()

*fmenu_use.wcConstructor:       XmCreateCascadeButtonGadget
*fmenu_use.wcCallback:          Register_action(use)
*fmenu_use.labelString:         Don't ignore
*fmenu_use.activateCallback:    SetFileAction()


*fmenuline.wcConstructor:       XmCreateSeparatorGadget
*fmenuline.sepatorType:     	SINGLE_LINE 

*fmenu_clear_all.wcConstructor:		XmCreateCascadeButtonGadget
*fmenu_clear_all.wcCallback:    	Register_action(clear_all)
*fmenu_clear_all.labelString:        	Clear File Selections
*fmenu_clear_all.activateCallback:	SetFileAction()

*fmenu_get_all.wcConstructor:		XmCreateCascadeButtonGadget
*fmenu_get_all.wcCallback:    		Register_action(get_all)
*fmenu_get_all.labelString:        	Get Selected Files
*fmenu_get_all.activateCallback:	SetFileAction()

*fmenu_put_all.wcConstructor:		XmCreateCascadeButtonGadget
*fmenu_put_all.wcCallback:    		Register_action(put_all)
*fmenu_put_all.sensitive:        	FALSE
*fmenu_put_all.labelString:          	Put Selected Files
*fmenu_put_all.activateCallback:	SetFileAction()

*fmenu_delete_all.wcConstructor:	XmCreateCascadeButtonGadget
*fmenu_delete_all.labelString:  	Delete Selected Files
*fmenu_delete_all.sensitive:        	FALSE
!*fmenu_delete_all.activateCallback:	delete


!
! Connect Popup shell
!
*Shellconnect.wcCreate:         TopLevelShell
*Shellconnect.wcChildren:       connectlayout
*Shellconnect.title:            Connect...  
*Shellconnect*deleteResponse:	unmap
*Shellconnect.helpCallback:		Help()

*connectlayout.wcCreate:        XmForm
*connectlayout.wcChildren:      menuBar1, DoBoxConnect, DoHide, DoRetry, \
				hostlabel, hosttext, \
				logonlabel, logontext, \
				passwordlabel, passwordtext, \
				remotedirlabel, remotedirtext, \
				localdirlabel, localdirtext, \

*menuBar1.wcCreate:             XmCreateMenuBar
*menuBar1.leftAttachment:   	XmATTACH_FORM
*menuBar1.rightAttachment:      XmATTACH_FORM
*menuBar1.topAttachment:        XmATTACH_FORM
*menuBar1.wcChildren:           DoHosts, hmenu, \
				DoHosts_more, hmenu_more, \
				DoAnonymous, anonymous
				


*DoBoxConnect.wcCreate:	  	XmPushButton
*DoBoxConnect.traversalOn:	FALSE
*DoBoxConnect.labelString:     	Connect
*DoBoxConnect.Alignment:        XmALIGNMENT_BEGINNING
*DoBoxConnect.y:		3
*DoBoxConnect.helpCallback:	Help()
*DoBoxConnect.activateCallback: Login()
*DoBoxConnect.topWidget:        *menuBar1
*DoBoxConnect.topAttachment:   	XmATTACH_WIDGET

*DoHide.wcCreate:		XmPushButton
*DoHide.traversalOn:		FALSE
*DoHide.labelString:     	Hide
*DoHide.y:			3
*DoHide.leftWidget:             *DoBoxConnect
*DoHide.leftAttachment:      	XmATTACH_WIDGET
*DoHide.topWidget:    		*menuBar1
*DoHide.topAttachment:   	XmATTACH_WIDGET
*Dohide.helpCallback:		Help()
*DoHide.activateCallback: 	Clear_noop(connect) \
			        WcPopDownCB(~)

*hmenu.wcConstructor:		XmCreatePulldownMenu
*hmenu.wcChildren:		hmenu_title, hmenu_line
*hmenu.wcManaged:		FALSE
*hmenu.wcCallback:        	WcSetValue(*DoHosts.subMenuId: *hmenu)

*hmenu_more.wcConstructor:	XmCreatePulldownMenu
*hmenu_more.wcChildren:		hmenu_title, hmenu_line1
*hmenu_more.wcManaged:		FALSE
*hmenu_more.wcCallback:        	WcSetValue(*DoHosts_more.subMenuId: *hmenu_more)

*hmenu_title.wcConstructor:     XmCreateLabelGadget
*hmenu_title.labelString:       Hosts

*hmenu_line.wcConstructor:      XmCreateSeparatorGadget
*hmenu_line.sepatorType:     	SINGLE_LINE

*hmenu_line1.wcConstructor:     XmCreateSeparatorGadget
*hmenu_line1.sepatorType:   	SINGLE_LINE
*hmenu_line1.wcCallback:        CreateHostList() 

*hmenu1.wcConstructor:	        XmCreateCascadeButtonGadget
*hmenu1.wcCallback:             SetHostName()
*hmenu1.labelString:		\ 
*hmenu1.activateCallback:	GetHostName() 

*DoRetry.wcCreate:		XmToggleButton
*DoRetry.traversalOn:		FALSE
*DoRetry.labelString:     	Retry
*DoRetry.y:			3
*DoRetry.leftWidget:            *DoHide
*DoRetry.leftAttachment:      	XmATTACH_WIDGET
*DoRetry.topWidget:    		*menuBar1
*DoRetry.topAttachment:   	XmATTACH_WIDGET
*DoRetry.armCallback:      	Set_retry
*DoRetry.disarmCallback:      	Set_retry
*DoRetry.helpCallback:		Help()

;
; Host menu
;
*DoHosts.wcConstructor:         XmCreateCascadeButton
*DoHosts.labelString:           Hosts
*DoHosts.mnemonic:		H
*DoHosts.helpCallback:		Help()

;
; More host menu's
;
*DoHosts_more.wcConstructor:    XmCreateCascadeButton
*DoHosts_more.labelString:     	More Hosts
*DoHosts_more.mnemonic:		M
*DoHosts_more.helpCallback:	Help()

*hostlabel.wcCreate:     	XmLabel
*hostlabel.width:           	130
*hostlabel.alignment:		XmALIGNMENT_END
*hostlabel.labelString:     	Host:
*hostlabel.Alignment:   	XmALIGNMENT_BEGINNING
*hostlabel.topWidget:       	*DoBoxConnect
*hostlabel.topAttachment:   	XmATTACH_WIDGET
*hostlabel.recomputeSize:	FALSE
*hostlabel.topOffset:		4

*hosttext.wcCreate:		XmTextField
*hosttext.wcCallback:       	init_connect_info(host)
*hosttext.width:            	300
*hosttext.editable:		TRUE
*hosttext.topWidget:        	*DoBoxConnect
*hosttext.topAttachment:  	XmATTACH_WIDGET
*hosttext.leftWidget:      	*hostlabel
*hosttext.leftAttachment:  	XmATTACH_WIDGET
*hosttext.rightAttachment:  	XmATTACH_FORM
*hosttext.topOffset:		4
*hosttext.translations:  	#override \
	 	<Key>Return:    	   Login() 



*logonlabel.wcCreate:     	XmLabel
*logonlabel.width:           	130
*logonlabel.alignment:		XmALIGNMENT_END
*logonlabel.labelString:     	Login:
*logonlabel.Alignment:   	XmALIGNMENT_BEGINNING
*logonlabel.topWidget:       	*hosttext
*logonlabel.topAttachment:   	XmATTACH_WIDGET
*logonlabel.recomputeSize:	FALSE

*logontext.wcCreate:		XmTextField
*logontext.wcCallback:       	init_connect_info(login)
*logontext.width:            	300
*logontext.editable:		TRUE
*logontext.topWidget:        	*hosttext
*logontext.topAttachment:  	XmATTACH_WIDGET
*logontext.leftWidget:      	*logonlabel
*logontext.leftAttachment:  	XmATTACH_WIDGET
*logontext.rightAttachment:  	XmATTACH_FORM
*logontext.translations:  	#override \
	 	<Key>Return:    	   Login() 


*passwordlabel.wcCreate:     	XmLabel
*passwordlabel.width:           130
*passwordlabel.alignment:	XmALIGNMENT_END
*passwordlabel.labelString:     Password:
*passwordlabel.Alignment:   	XmALIGNMENT_BEGINNING
*passwordlabel.topWidget:       *logontext
*passwordlabel.topAttachment:   XmATTACH_WIDGET
*passwordlabel.recomputeSize:	FALSE

*passwordtext.wcCreate:	XmTextField
*passwordtext.wcCallback:       init_connect_info(password)
*passwordtext.width:            300
*passwordtext.editable:		TRUE
*passwordtext.topWidget:        *logontext
*passwordtext.topAttachment:  	XmATTACH_WIDGET
*passwordtext.leftWidget:      	*passwordlabel
*passwordtext.leftAttachment:  	XmATTACH_WIDGET
*passwordtext.rightAttachment: 	XmATTACH_FORM
*passwordtext.translations:  	#override \
		<Key>osfHelp:              PrimitiveHelp()\n\
	        Shift ~Meta ~Alt <Key>Tab: prev-tab-group()\n\
	         ~Meta ~Alt <Key>Tab:      next-tab-group()\n\
	        <Key>osfBackSpace: 	   delete_char() \n\
	 	<Key>Return:    	   Login() \n\
		<Key>:             	   insert_char() 

*remotedirlabel.wcCreate:        XmLabel
*remotedirlabel.width:           130
*remotedirlabel.alignment:	 XmALIGNMENT_END
*remotedirlabel.labelString:     Remote Directory:
*remotedirlabel.Alignment:   	 XmALIGNMENT_BEGINNING
*remotedirlabel.topWidget:       *passwordtext
*remotedirlabel.topAttachment:   XmATTACH_WIDGET
*remotedirlabel.recomputeSize:	 FALSE

*remotedirtext.wcCreate:	XmTextField
*remotedirtext.wcCallback:      init_connect_info(remotedir)
*remotedirtext.width:           300
*remotedirtext.editable:  	TRUE
*remotedirtext.topWidget:      	*passwordtext
*remotedirtext.topAttachment:  	XmATTACH_WIDGET
*remotedirtext.leftWidget:     	*remotedirlabel
*remotedirtext.leftAttachment: 	XmATTACH_WIDGET
*remotedirtext.rightAttachment: XmATTACH_FORM

*localdirlabel.wcCreate:  	XmLabel
*localdirlabel.width:           130
*localdirlabel.alignment:	XmALIGNMENT_END
*localdirlabel.labelString:     Local Directory:
*localdirlabel.Alignment:   	XmALIGNMENT_BEGINNING
*localdirlabel.topWidget:       *remotedirtext
*localdirlabel.topAttachment:   XmATTACH_WIDGET
*localdirlabel.recomputeSize:	FALSE

*localdirtext.wcCreate:	XmTextField
*localdirtext.wcCallback:       init_connect_info(localdir)
*localdirtext.width:            300
*localdirtext.editable:		TRUE
*localdirtext.topWidget:        *remotedirtext
*localdirtext.topAttachment:  	XmATTACH_WIDGET
*localdirtext.leftWidget:      	*localdirlabel
*localdirtext.leftAttachment:  	XmATTACH_WIDGET
*localdirtext.rightAttachment:  XmATTACH_FORM

*DoAnonymous.wcConstructor:     XmCreateCascadeButton
*DoAnonymous.labelString:       Anonymous
*DoAnonymous.mnemonic:		A

*anonymous.wcConstructor:	XmCreatePulldownMenu
*anonymous.wcChildren:		anonGuest, anonMail, anonUser
*anonymous.wcManaged:		FALSE
*anonymous.wcCallback:        	WcSetValue(*DoAnonymous.subMenuId: *anonymous)

*anonGuest.wcConstructor:       XmCreateCascadeButtonGadget
*anonGuest.labelString:		guest
*anonGuest.activateCallback:	Anonymous(guest)

*anonMail.wcConstructor:        XmCreateCascadeButtonGadget
*anonMail.labelString:		Mail Address
*anonMail.activateCallback:	Anonymous(MAIL)

*anonUser.wcConstructor:        XmCreateCascadeButtonGadget
*anonUser.labelString:		Name
*anonUser.activateCallback:	Anonymous(NAME)

!
! Help shell
!
*Shellhelp.wcConstructor:       XtCreateTopLevelShell
*Shellhelp.wcChildren:        	helplayout
*Shellhelp.title:            	Help
*Shellhelp*deleteResponse:      unmap
*ShellHelp.helpCallback:	Help()

*helplayout.wcCreate:        	XmForm
*helplayout.wcChildren:       	menuBar2, \
				help_quit, help_title, help_text

*menuBar2.wcCreate:             XmCreateMenuBar
*menuBar2.leftAttachment:       XmATTACH_FORM
*menuBar2.rightAttachment:      XmATTACH_FORM
*menuBar2.topAttachment:        XmATTACH_FORM
*menuBar2.wcChildren:           Do_help_options, helpmenu

*Do_help_options.wcConstructor: XmCreateCascadeButton
*Do_help_options.labelString:   Selections
*Do_help_options.mnemonic:      S
*Do_help_options.helpCallback:  Help()

*helpmenu.wcConstructor:       	XmCreatePulldownMenu
*helpmenu.wcChildren:          	help_menu_title, helpmenuline
*helpmenu.wcManaged:           	FALSE
*helpmenu.wcCallback:          	WcSetValue(*Do_help_options.subMenuId: *helpmenu)

*help_menu_title.wcConstructor: XmCreateLabelGadget
*help_menu_title.labelString:   Help Menu

*helpmenuline.wcConstructor:    XmCreateSeparatorGadget
*helpmenuline.sepatorType:      SINGLE_LINE

*helpmenu1.wcConstructor:       XmCreateCascadeButtonGadget
*helpmenu1.wcCallback:          SetHelpTitle()
*helpmenu1.labelString:         \ 
*helpmenu1.activateCallback:    help_by_title(), help_once


*help_quit.wcCreate:		XmPushButton
*help_quit.labelString:     	Hide
*help_quit.activateCallback: 	WcPopDownCB(~)
*help_quit.helpCallback:	Help()
*help_quit.topWidget:        	*menuBar2
*help_quit.topAttachment:   	XmATTACH_WIDGET


*help_title.wcCreate:       	XmLabel
*help_title.Alignment:          XmALIGNMENT_BEGINNING
*help_title.width:		350
*help_title.labelString:	\ 
*help_title.leftWidget:         *help_quit
*help_title.leftAttachment:  	XmATTACH_WIDGET
*help_title.topWidget:        	*menuBar2
*help_title.topAttachment:   	XmATTACH_WIDGET
*help_title.recomputeSize:	FALSE
*help_title.y:			4
*help_title.topOffset:		4
*help_title.helpCallback:	Help()


*help_text.wcConstructor:     	XmCreateScrolledText
!*help_text.wcCallback:          set_help
*help_text.rows:		10
*help_text.editable:		FALSE
*help_text.editMode:		XmMULTI_LINE_EDIT
*help_text.helpCallback:	Help()
*help_textSW.width:             530 
*help_textSW.hight:             400
*help_textSW.topWidget:       	*help_title
*help_textSW.topOffset:		4	
*help_titlSW.y:			4
*help_textSW.leftAttachment:    XmATTACH_FORM
*help_textSW.rightAttachment:   XmATTACH_FORM
*help_textSW.topAttachment:   	XmATTACH_WIDGET
*help_textSW.bottomAttachment:	XmATTACH_FORM
!
! Shell translate
!
*Shelltran.wcConstructor:       XtCreateTopLevelShell
*Shelltran.wcChildren:          tran_layout
*Shelltran.title:               Remote File Translations Examples
*Shelltran*deleteResponse:   	unmap
*Shelltran.helpCallback:	Help()

*tran_layout.wcCreate:          XmForm
*tran_layout.wcChildren:       	tran_quit, tran_text

*tran_quit.wcCreate:		XmPushButton
*tran_quit.labelString:     	Hide
*tran_quit.activateCallback: 	WcPopDownCB(~)
*tran_quit.helpCallback:	Help()


*tran_text.wcConstructor:     	XmCreateScrolledText
*tran_text.wcCallback:          set_tran
*tran_text.rows:		10
*tran_text.editMode:		XmMULTI_LINE_EDIT
*tran_text.editable:		FALSE
*tran_text.helpCallback:	Help()
*tran_textSW.width:             500
*tran_textSW.hight:             400
*tran_textSW.topWidget:       	*tran_quit
*tran_textSW.topOffset:		4	
*tran_textSW.y:			4
*tran_textSW.topWidget:       	*tran_quit
*tran_textSW.leftAttachment:    XmATTACH_FORM
*tran_textSW.rightAttachment:    XmATTACH_FORM
*tran_textSW.topAttachment:   	XmATTACH_WIDGET
*tran_textSW.bottomAttachment:	XmATTACH_FORM

!
! Shell translate
!
*Shellstatus.wcConstructor:	XtCreateTopLevelShell
*Shellstatus.wcChildren:	status_layout
*Shellstatus.title:		Status Message Log
*Shellstatus*deleteResponse:    unmap
*Shellstatus.helpCallback:	Help()

*status_layout.wcCreate:	XmForm
*status_layout.wcChildren:	status_quit, status_text

*status_quit.wcCreate:		XmPushButton
*status_quit.labelString:     	Hide
*status_quit.activateCallback: 	WcPopDownCB(~)
*status_quit.helpCallback:	Help()


*status_text.wcConstructor: 	XmCreateScrolledText
*status_text.rows:		10
*status_text.editMode:		XmMULTI_LINE_EDIT
*status_text.autoShowCursorPosition: TRUE
*status_text.editable:		FALSE
*status_text.helpCallback:	Help()
*status_textSW.width:           500
*status_textSW.hight:           400
*status_textSW.topWidget:      	*status_quit
*status_textSW.topOffset:	4	
*status_textSW.y:		4
*status_textSW.leftAttachment:	XmATTACH_FORM
*status_textSW.rightAttachment:	XmATTACH_FORM
*status_textSW.topAttachment:	XmATTACH_WIDGET
*status_textSW.bottomAttachment: XmATTACH_FORM
!
! Shell ftp
!
*Shellcommand.wcConstructor:    XtCreateTopLevelShell
*Shellcommand.wcChildren: 	command_layout
*Shellcommand.title:      	Ftp command 
*Shellcommand*deleteResponse:   unmap
*Shellcommand.helpCallback:	Help()

*command_layout.wcCreate:	XmForm
*command_layout.wcChildren: 	command_quit, ftp

*command_quit.wcCreate:		XmPushButton
*command_quit.labelString:     	Hide
*command_quit.activateCallback: WcPopDownCB(~)
*command_quit.helpCallback:	Help()

;
; Ftp display
;
*ftp.wcConstructor:     	XmCreateScrolledText
*ftp.wcCallback:		noop(get put dir action connect) \
                                help_register \
				set_width(1)
*ftp.helpCallback:		Help()
*ftp.rows:			10
*ftp.editMode:			XmMULTI_LINE_EDIT
*ftp.translations:     		#override \
	<Key>osfBackSpace: InsertSpace() delete-previous-character() \n\
	<Key>Return:    end-of-file() newline() Dispatch() \n\
	<Key>osfHelp:   PrimitiveHelp()\n\
        Shift ~Meta ~Alt <Key>Tab:     prev-tab-group()\n\
        ~Meta ~Alt <Key>Tab:           next-tab-group()\n\
	<Key>:          end-of-file() self-insert() 
*ftpSW.hight:                 	400
*ftpSW.helpCallback:     	Help()
*ftpSW.topWidget:      		*command_quit
*ftpSW.topOffset:		4	
*ftpSW.y:			4
*ftpSW.leftAttachment:		XmATTACH_FORM
*ftpSW.rightAttachment:		XmATTACH_FORM
*ftpSW.topAttachment:		XmATTACH_WIDGET
*ftpSW.bottomAttachment: 	XmATTACH_FORM
!
! Shell View
!
*Shellview.wcConstructor:       XtCreateTopLevelShell
*Shellview.wcCallback:       	help_register
*Shellview.wcChildren:          view_layout
*Shellview.title:               View File
*Shellview*deleteResponse:   	destroy
*Shellview.helpCallback:	Help()


*view_layout.wcCreate:          XmForm
*view_layout.wcChildren:       	view_quit, view_text

*view_quit.wcCreate:		XmPushButton
*view_quit.labelString:     	Dismiss
*view_quit.activateCallback:    WcPopDownCB(~)
*view_quit.helpCallback:	Help()

*view_text.wcConstructor:     	XmCreateScrolledText
*view_text.wcCallback:          set_view_file \
				set_view_text_top(^view_quit)
*view_text.rows:		15
*view_text.editMode:		XmMULTI_LINE_EDIT
*view_text.editable:		FALSE
*view_text.helpCallback:	Help()
*view_textSW.topOffset:		3
*view_textSW.width:             600
*view_textSW.leftAttachment:    XmATTACH_FORM
*view_textSW.rightAttachment:   XmATTACH_FORM
*view_textSW.topAttachment:     XmATTACH_WIDGET
*view_textSW.bottomAttachment:	XmATTACH_FORM
!
! Help  XXXX
!

*help_xftp.help_text:\
General Help\n\
XXXX is a X front end to ftp.\n\
\n\
XXXX allows retrieval  or  transmission  of  selected  files  and\n\
directory trees.\n\
\n\
The screen layout of XXXX consists of 5 sections:  A  quit  menu,\n\
listing  option  menu,  sort option menu, and help menu; a status\n\
window; a remote/local directory  window;  a  series  of  buttons\n\
login,    remote/local  directory,  and  command  button;  and  a\n\
scrolled list window;\n\
\n\
The status window display the current actions and error messages.\n\
\n\
The remote/local directory window display the  remote/local  name\n\
of the displayed directory.\n\
\n\
The login button is used to initiate logins.\n\
\n\
The remote/local button toggles between remote and  local  direc-\n\
tory display's.\n\
\n\
The command shell button is used to bring up a shell window  that\n\
contains a direct interface to ftp.\n\
\n\
All buttons and menu selections are done with the left mouse but-\n\
ton.\n\
\n\
A file can be selected by clicking the left mouse button  on  the\n\
file.  Multi file selection are accomplished by clicking the left\n\
mouse button on the first file and then dragging the mouses  over\n\
the  files  to  be  selected.   Selected  files  are displayed in\n\
reverse video.  The current selection file has  a  square  border\n\
around it.\n\
\n\
The scrolled list window has a popup menu that can  be  activated\n\
by holding down the right mouse button. You can also use the key-\n\
board to select the listing options, local/remote  display,  sort\n\
options,  files  or directories, and actions to apply to selected\n\
files.\n\
\n\
You can doubly click the middle mouse button on a directory to cd\n\
to it.  If you double click the middle mouse button on a file and\n\
it is a remote file then the file  will  be  transferred  to  the\n\
local  host  or  if it a local file then it is transferred to the\n\
remote host.\n\
\n\
Also see the keyboard help selection for keyboard  input  to  the\n\
scrolled list window.
*help_oftp.help_text:\
General Help\n\
XXXX is a X front end to ftp.\n\
\n\
XXXX allows retrieval  or  transmission  of  selected  files  and\n\
directory trees.\n\
\n\
The screen layout of XXXX consists of 5  sections:  a  series  of\n\
menus  quit  menu,  listing  option  menu, sort option menu, file\n\
options , multi file options, and help menu; a status  window;  a\n\
remote/local   directory  window;  a  series  of  buttons  login,\n\
remote/local directory, and command button; and a  scrolled  list\n\
window;\n\
\n\
The status window display the current actions and error messages.\n\
\n\
The remote/local directory window display the  remote/local  name\n\
of the displayed directory.\n\
\n\
The login button is used to initiate logins.\n\
\n\
The remote/local button toggles between remote and  local  direc-\n\
tory display's.\n\
\n\
The command shell button is used to bring up a shell window  that\n\
contains a direct interface to ftp.\n\
\n\
All buttons selections are done with the left mouse button.\n\
\n\
All menu  selections  are  done  with  the  right  mouse  button.\n\
Selecting  a  menu  with  the  left mouse will choose the default\n\
action for the menu.\n\
\n\
A file can be selected by clicking the left mouse button  on  the\n\
file.  Multi file selection are accomplished by clicking the left\n\
mouse button on the first file and then dragging the mouses  over\n\
the  files  to  be  selected.   Selected  files  are displayed in\n\
reverse video.  The current selection file has  a  square  border\n\
around it.\n\
\n\
The scrolled list window has a popup menu that can  be  activated\n\
by holding down the right mouse button. You can also use the key-\n\
board to select the listing options, local/remote  display,  sort\n\
options,  files  or directories, and actions to apply to selected\n\
files.\n\
\n\
You can doubly click the middle mouse button on a directory to cd\n\
to it.  If you double click the middle mouse button on a file and\n\
it is a remote file then the file  will  be  transferred  to  the\n\
local  host  or  if it a local file then it is transferred to the\n\
remote host.\n\
\n\
Also see the keyboard help selection for keyboard  input  to  the\n\
scrolled list window.
*help_mftp.help_text:\
General Help\n\
XXXX is a X front end to ftp.\n\
\n\
XXXX allows retrieval  or  transmission  of  selected  files  and\n\
directory trees.\n\
\n\
The screen display for XXXX consists of 5 sections:  a  menu  bar\n\
containing  a  quit  menu, listing option menu, sort option menu,\n\
and help menu; a status window; a remote/local directory  window;\n\
a  series  of buttons login,  remote/local directory, and command\n\
button; and a scrolled list window;\n\
\n\
The status window display the current actions and error messages.\n\
\n\
The remote/local directory window display the  remote/local  name\n\
of the displayed directory.\n\
\n\
The login button is used to initiate logins.\n\
\n\
The remote/local button toggles between remote and  local  direc-\n\
tory display's.\n\
\n\
The command shell button is used to bring up a shell window  that\n\
contains a direct interface to ftp.\n\
\n\
All buttons and menu selections are done with the left mouse but-\n\
ton.\n\
\n\
A file can be selected by clicking the left mouse button  on  the\n\
file.  Multi file selection are accomplished by clicking the left\n\
mouse button on the first file and then dragging the mouses  over\n\
the  files  to  be  selected.   Selected  files  are displayed in\n\
reverse video.  The current selection file has  a  square  border\n\
around it.\n\
\n\
The scrolled list window has a popup menu that can  be  activated\n\
by holding down the right mouse button. You can also use the key-\n\
board to select the listing options, local/remote  display,  sort\n\
options,  files  or directories, and actions to apply to selected\n\
files.\n\
\n\
You can doubly click the middle mouse button on a directory to cd\n\
to it.  If you double click the middle mouse button on a file and\n\
it is a remote file then the file  will  be  transferred  to  the\n\
local  host  or  if it a local file then it is transferred to the\n\
remote host.
*quit.help_text:\
Quit Button\n\
Quit XXXX. Any pending actions will be terminated.
*list*help_text:\
Scrolled List Window\n\
The current  local/remote directory  listing is  displayed  here.\n\
There  are  four  types of listing formats sort, medium, long and\n\
translations.  It is not always possible for there to be  a  long\n\
or medium listing format for a remote system.   In such cases the\n\
short listing format is used.\n\
\n\
A file or directory entry can be selected by  clicking  the  left\n\
most mouse button on the entry.\n\
\n\
The right mouse button will select an entry and bring up  a  menu\n\
with  a  list  of actions that can be applied to that entry.  The\n\
actions are:\n\
\n\
UP      - Go up the directory tree\n\
Cd      - Cd to selected directory\n\
Get     - Get remote file\n\
Put     - Put local file\n\
View    - View remote file.\n\
Ascii   - Set transfer mode of file to ascii\n\
Binary  - Set transfer mode of file to binary\n\
Tenex   - Set transfer mode to tenix\n\
Default - Set transfer mode to default\n\
\n\
The menu also contains actions that can be taken on all  selected\n\
files:\n\
\n\
Clear File Selections - Unselect all files and directories\n\
Get Selected files    - Get all selected remote files and  direc-\n\
tories.\n\
Put Selected files    - Put all selected local files  and  direc-\n\
tories.\n\
\n\
All see the keyboard input help selection.
*ftp*help_text:\
Ftp Window\n\
This is the ftp window.  You can use the following  ftp  commands\n\
in this window:\n\
\n\
 ascii\n\
 delete\n\
 binary\n\
 cd <remote directory>\n\
 dir\n\
 hash\n\
 help\n\
 lcd <local directory>\n\
 ls\n\
 get <remote file> [<local file>]\n\
 mget <pattern>\n\
 mput <pattern>\n\
 pwd\n\
 put <local file> [<remote file>]\n\
 quote\n\
 reset
*abort.help_text:\
Abort Button\n\
Abort ftp. Since there is no reliable way to abort ftp  you  will\n\
have to login again.
*sort.help_text:\
Sort Option Menu\n\
The sort option menu can be used to select the type of sort  that\n\
is  done  on  directories.  Files  can be sorted by age, name, or\n\
size.  The sort can be reverse or normal sort order.
*listing.help_text:\
List Option Menu\n\
Select the listing options.  There are four list options plus the\n\
example translations table option:\n\
\n\
Short Listing\n\
Medium Listing\n\
Long Listing\n\
Translation Listing\n\
Translations\n\
\n\
The short listing format  displays  the  filename  only.  If  the\n\
remote  file  system  is an UNIX system then a directory will end\n\
with "/", a link with "@" and of offline file with "%".   If  the\n\
remote  file system is not an unix file system then a d is placed\n\
before the file name to indicate that it is a directory.\n\
\n\
The Medium  Listing  format  is  system  dependent.   It  usually\n\
includes the file length.\n\
\n\
The Long Listing format is system dependent.  It usually includes\n\
the file length, type and protections.\n\
\n\
The Translation Listing format will display the remote  to  local\n\
or  the  local  to  remote  translation  for  the directory being\n\
displayed.  It also shows the mode the file will  be  transferred\n\
in.   If XXXX does not know how to translate the filename it will\n\
leave the translation blank.\n\
\n\
The Translations menu option will produce a list of example local\n\
and remote files and their translations.
*dir.help_text:\
Directory Window\n\
The current selected local or remote directory name is  displayed\n\
here.
*connect.help_text:\
Login/Close Button\n\
Login to remote host or close the connection from a remote  host.\n\
If the option is login, a menu will popup allowing you to set the\n\
remote host name, the remote host login  name,  the  remote  host\n\
password, the remote directory name, and the local directory name\n\
to use at login time.\n\
\n\
The retry button informs XXXX to keep retrying connection every 5\n\
minutes until it is able to log into the remote hosts.\n\
\n\
XXXX understands the ftp .netrc file format. It use this to  gen-\n\
erate  a  menu  that  will  set the hostname, login name, and (if\n\
specified) the password for the selected host.\n\
\n\
A comment for the specified host can be added to the  .xftp  file\n\
found  in  the  login  directory  using the "note" directive; for\n\
example:\n\
\n\
note dinosaur.cc.utexas.edu UTD\n\
note ftp.uu.net Has most anything that any one would want.\n\
\n\
This will be displayed beside the host entry in the host menu.
*status.help_text:\
Status Window\n\
Display status information.  Clicking the right mouse  button  on\n\
the  status  window  will  popup the Status Message Log.  You can\n\
then view all of the previous status messages.
*host_name.help_text:\
System Name Window\n\
The host name of the connected  or  selected  host  is  displayed\n\
here.
*system_name.help_text:\
System Type Window\n\
The System type is displayed here.
*default_mode.help_text:\
Default Transfer Mode Window\n\
The default transfer mode is displayed in this window.
*dir_display.help_text:\
Local/Remote Button\n\
Toggle between current  local/remote  directories.   A  directory\n\
listing  is  displayed  of the selected local/remote directory in\n\
the directory list window.
*dotxftp.help_text:\
XXXX initialization file\n\
XXXX reads the ".xftp" initialization file in the home  directory\n\
when  it  first starts up.  The ".xftp" file can contain the fol-\n\
lowing directives:\n\
\n\
note         <machine name> <note>\n\
trans        <machine type>\n\
examples_r   <remote file>\n\
examples_e   <local file>\n\
unix         <regular expression>\n\
             <source> [<conversion type>]\n\
back         <regular expression>\n\
             <source> [<conversion type>]\n\
end\n\
\n\
The note directive allows you add a note that is displayed in the\n\
host list menu in the login window.\n\
\n\
The trans directive start a translation table block of  commands.\n\
You  can  only  specify the examples_r, examples_e, unix and back\n\
directive in a translation table block.  The end  directive  ends\n\
the translation table block.\n\
\n\
The examples_r and examples_e directives are used to  generate  a\n\
example of the translations specified by the unix and back direc-\n\
tives.\n\
\n\
The unix and back directive are used to specific rewriting  rules\n\
for translating file form the remote system file name to unix and\n\
back.  You can specify "ascii", "binary" and "tenex" as  <conver-\n\
sion type>\n\
\n\
The examples_r, examples_e,  unix  and  back  directives  can  be\n\
repeated 50 times each.\n\
\n\
The following is example of a translation table  that  you  might\n\
want for a Vax VMS system running MULTINET.\n\
\n\
trans        VMS MULTINET\n\
examples_r   XFTP_TAR.Z;1\n\
unix         ([a-z0-9_,]+)_TAR.Z;[0-9]+\n\
             1.tar.Z binary\n\
examples_e   xftp.tar.Z\n\
back         ([A-Z0-9_,]+).tar.Z\n\
             1_TAR.Z  binary\n\
end\n\
\n\
The unix directive specifies a regular expression to apply to the\n\
remote  file  name.   If  it matches then the string "1.tar.Z" is\n\
used as the source  to  rewrite  the  file  name.  This  examples\n\
translate  "XFTP_TAR.Z;1"  to the unix file name "xftp.tar.Z" and\n\
specifies that the file is to be transferred in binary mode.\n\
\n\
The back directive specifies a regular expression to apply to the\n\
local unix file.  If it matches then the string "1_TAR.Z" is used\n\
as  the  source  to  rewrite  the  file  name.   The  unix   file\n\
"xftp.tar.Z" should be rewritten as "XFTP_TAR.Z".  The file would\n\
be transferred in binary mode.
*list_key_input.help_text:\
Keyboard Input\n\
The Directory List Window allows the following keyboard input.\n\
\n\
   <Key>Help:           Help Menu\n\
   <Key>F1:             Help Menu\n\
   Ctrl ~Shift <Key>n:  Move down one item\n\
  ~Ctrl ~Shift <Key>j:  Move down one item\n\
   Ctrl ~Shift <Key>p:  Go up one item\n\
  ~Ctrl ~Shift <Key>k:  Go up one item\n\
   Ctrl ~Shift <Key>f:  Next item\n\
  ~Ctrl ~Shift <Key>l:  Next item\n\
   Ctrl ~Shift <Key>b:  Previous item\n\
  ~Ctrl ~Shift <Key>h:  Previous item\n\
   Ctrl ~Shift <Key>a:  Fisrt item in line\n\
   Ctrl ~Shift <Key>e:  Last item in line\n\
   Ctrl ~Shift <Key>t:  Toggle to remote/local directory\n\
  ~Ctrl  Shift <Key>l:  Set long listing format\n\
  ~Ctrl  Shift <Key>s:  Set short listing format\n\
  ~Ctrl  Shift <Key>m:  Set medium listing format\n\
  ~Ctrl  Shift <Key>t:  Set translation listing format\n\
           <Key>space:  Select item\n\
  ~Ctrl  <Key>greater:  Go to next page\n\
  ~Ctrl  <Key>less:     Go to previous page\n\
   Ctrl  <Key>greater:  Go to bottom\n\
   Ctrl  <Key>less:     Go to top\n\
  ~Ctrl ~Shift <Key>u:  Go to parent directory\n\
  ~Ctrl ~Shift <Key>c:  Change dir to directory\n\
  ~Ctrl ~Shift <Key>g:  Get file\n\
  ~Ctrl ~Shift <Key>p:  Put file\n\
  ~Ctrl ~Shift <Key>a:  Set file transfer mode to type Ascii\n\
  ~Ctrl ~Shift <Key>b:  Set file transfer mode to type binary\n\
  ~Ctrl ~Shift <Key>d:  Use default transfer mode\n\
  ~Ctrl ~Shift <Key>t:  Set file transfer mod to tenex
*quitm.help_text:\
Quit Menu\n\
The quit menu contains the abort and quit options.\n\
\n\
Since there is no reliable way to abort  ftp  you  will  have  to\n\
login again after aborting a ftp connection.
*items.help_text:\
Display Items\n\
The item display display the count of the following items,  block\n\
devices,  char   devices,  links,  sockets, files, offline_files,\n\
selected items, and the total number of items.
*command.help_text:\
Command Button\n\
The command button bring up the the command shell.  Commands  can\n\
be given directly to ftp through this shell.
*hide.help_text:\
Hide Shell\n\
Hide the current shell.
*help_quit.help_text:\
Hide Shell\n\
Hide the help shell.
*tran_quit.help_text:\
Hide Shell\n\
Hide the translation shell.
*status_quit.help_text:\
Hide Shell\n\
Hide the status shell.
*command_quit.help_text:\
Hide Shell\n\
Hide the command shell.
*Shellconnect.help_text:\
Connect Shell\n\
Used to specify login  information,  remote  host,  user  number,\n\
password, local directory and remote directory for XXXX.
*hosts.help_text:\
Host List Menu\n\
List of host found in $HOME/.netrc.
*anonymous.help_text:\
Anonymous login menu\n\
Can be used to set the login user anonymous and initial password.\n\
The password can be set to guest, mail address, or user name.
*DoBoxConnect.help_text:\
Connect button\n\
Initiate connection.
*DoHide.help_text:\
Hide Shell\n\
Hide the connect shell.
*Shellhelp.help_text:\
Help Shell\n\
Display text of help message.
*Shelltran.help_text:\
Translation Shell\n\
Display translations used with non UNIX systems.
*Shellstatus.help_text:\
Status Shell\n\
Display log of status messages.
*Shellview.help_text:\
View Shell\n\
Shell window brought up to view a text file. If the file ends  in\n\
.Z it will be uncompressed before viewing.
*Trademarks.help_text:\
Trademarks\n\
OPEN LOOK is a trademark of AT&T\n\
UNIX is a registered trademark of AT&T\n\
The X Window System is a trademark of the Massachusetts Institute\n\
of Technology.
*helpm.help_text:\
Help Menu\n\
The help menu provides a context sensitive help selection  and  a\n\
general help selection.\n\
\n\
If you select the context sensitive  help  selection  the  cursor\n\
will  change  to  a  cross bar.  You can then position the cursor\n\
over the object that you want help on and click left  most  mouse\n\
botton.   If  the  help  system  knows  about  the object it will\n\
display the help text in the help shell. If it does not  it  will\n\
display the general help message in the help shell.
*fileopts.help_text:\
Single File Options Menu\n\
The single file options menu allows the following  operations  on\n\
the on the high lighted file:\n\
\n\
 Up           - cd to parent directory\n\
 Cd           - cd to high lighted directory\n\
 Get          - get high lighted file or directory\n\
 View         - view high lighted file\n\
 Put          - put high lighted file or directory\n\
 Ascii        - transfer high lighted file in ascii mode\n\
 Binary       - transfer high lighted file in binary mode\n\
 Tenex        - transfer high lighted file in tenex mode\n\
 Default      - transfer high lighted using default transfer mode\n\
 Ignore       - ignore  high lighted directory/file when\n\
                transferring contents of a directory\n\
 Don't ignore - don't ignore high lighted directory/file when\n\
                transferring contents of a directory
*filesopts.help_text:\
Multi File Options Menu\n\
The multi file options menu allows the  following  operations  on\n\
the selected files:\n\
\n\
Clear File Selections - Clear all file selections in current\n\
                        directory\n\
Get Selected Files    - Get selected file in current directory\n\
ut Selected Files     - Put selected file in current directory
