XC - A Free File Manager for Win32/Dos

(C) Konrad Twardowski <kdtonline@poczta.onet.pl>

unzip.dll, zip.dll - (C) Info-ZIP
Czech translation - Jan Wagner

This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See LICENSE.PDF for details.

You can download the source files (FPC/Delphi)
from http://xcproject.sourceforge.net/

Table of Content:
- Hot Keys
- Internal Commands
- XC Console Internal Commands
- Internal Variables
- Compilation


---- HOT KEYS ----

General
=======
F1           Help
F2           "Go" menu
F9, Alt+F    Main menu
F9+F9        Main menu history
F10, Alt+F4  Quit
F12, Alt+P   Preferences (screen saver settings, Java settings, etc.)
Esc          Clear command line; show user screen (output)

Alt+F7     Find file
Alt+F12    Change language
Shift+F12  Change theme (colors)

Alt+A  Alarm
Alt+J  Locate file or directory
Alt+M  Send mail
Alt+R  Run a DOS command (e.g. "dir")
Alt+S  System info
Alt+U  Open an URL (WWW page, document, directory, etc.)

Ctrl+G       "Google" search
Ctrl+O, Esc  User screen (output)

Alt+D           Go to the "Desktop" directory
					 (use "Preferences" to change directory path)
Alt+Home        Go to the "Home" directory
Alt+Q           Go to the "Quick Launch" directory
Ctrl+D          Go to the "Documents" directory
Ctrl+M          Go to the "Multimedia" directory
Ctrl+P          Go to the "Program Files" directory

Ctrl+\, Ctrl+/           Go to the root directory (usually "C:\")
Backspace, Ctrl+Page Up  Go to parent directory
Ctrl+Page Down           Enter to the selected directory
Ctrl+Backspace           Go to parent directory,
								 then go to next directory in the panel list
Alt+Left/Right           Go to previous/next directory in history

Alt+C            Go to "Computer" panel (active panel)
Alt+F1           Go to "Computer" panel (left panel)
Alt+F2           Go to "Computer" panel (right panel)
Alt+F10          Open directory tree in active panel
Ctrl+Left/Right  Go to the previous/next drive letter
					  (hold down Ctrl key and use Left/Right keys to select
					  a drive; release Ctrl key to go to the selected drive;
					  any other key will cancel action)

Ctrl+H, Alt+Backspace  Directories history
Alt+F8                 Commands history (selected command is executed)
Alt+Up/Down            Commands history
							  (selected command is copied to the command line)
Alt+Page Down          "F3 View" history
Alt+Page Up            "F4 Edit" history
[NOTE: To clear history, go to "Menu->Tools->Clear XC history..."]

~(`)      Open XC console
Alt+X     Launch file system browser (usually "Explorer")
Ctrl+X    Launch XC
Shift+F9  Launch DOS command line


Panel
=====
Enter               Change directory; execute command; open file, etc.
Shift+Enter         Open tree panel for selected directory
Tab                 Change active panel
Shift+Tab           Synchronize panel directories
[Shift+]Left/Right  Show/hide file info (size, time, attributes)
F11, Ctrl+Up/Down   Resize panels

"Menu", Middle button  Context menu
Alt+K, Alt+V           Panel options
Alt+O                  Smart panels
Alt+Z                  Change file/disk color ("F3" restores default color)

Insert, Space   Select/unselect file or directory
Ctrl+A, Ctrl++  Select all (files and directories)
Ctrl+Z, Ctrl+-  Unselect all (files and directories)
+               Select files (* or *.* - all files)
-               Unselect files
/               Select all files (invert)
*               Select all files and directories (invert)
Alt++           Select group (e.g. directories, *.txt, etc.)
Alt+-           Unselect group
Alt+.(dot)      Go to the next selected file/directory
Alt+,(comma)    Go to the previous selected file/directory

Ctrl+F, Ctrl+F12  Change file filter; hide/show "hidden" files
Ctrl+L, F3        Get directory/disk size info
Ctrl+R            Refresh panel content
Ctrl+S            Search for file name in active panel
						(you can use * and ? characters)
Ctrl+U            Swap panels

Ctrl+Enter   Copy name to the command line
Ctrl+V       Paste to command line
Ctrl+Insert  Copy name to clipboard


Objects panel
=============
F3          View file
F4          Edit file
F5          Copy
F6          Move/change name
F7          Create a new directory.
				Examples:
				Create 3 new directories in current directory:
				  dir1|dir2|dir3
				Create directory "x" and its subdirectory "y":
				  x/y
F8, Delete  Delete selected files and directories
Alt+E       Change file/directory attributes, date, or time
Alt+H       Show/hide "hidden" files
Alt+I       Detailed file/directory info, CRC32 calculation
Ctrl+C      Compare panels by file names (identical names are selected)
Ctrl+I      Open HTML index file from current directory
				(index.htm*, default.htm*)
Ctrl+Q      Toggle quick view (MP3 tags, directory content, etc.)

Alt+B    Sort method
Ctrl+F3  Sort by name.
[NOTE: Press Ctrl+Fn twice to change sort direction]
Ctrl+F4  Sort by extension
Ctrl+F5  Sort by date/time
Ctrl+F6  Sort by size
Ctrl+F8  Sort by color. Files with identical colors are grouped (see: Alt+Z).

Ctrl+F9   Print file in a default external application
Shift+F4  Create a new, empty file
Shift+F5  Split file

Alt+F6, Shift+F6  Change name

Alt+F5, Shift+F1  Pack file (e.g. using built-in Zip)
Alt+F9, Shift+F2  Unpack file (e.g. using built-in Unzip)

Ctrl+B  Toggle panel bookmark
Alt+G   Modify panel bookmarks
Alt+N   Go to the next bookmark in current panel

Alt+Insert  Add/edit file/directory description (descript.ion file)
				(empty comment removes a description)
Ctrl+K      Toggle descriptions


Computer panel (Alt+C)
======================
F3(1)          Scan disk for errors
F3(2), Insert  Create a new item
F4             Edit item
F5             Copy all files from selected disk
F6             Disk/item color
F7             Find file on selected disk
F8             Format floppy
Alt+F6         Change disk label
Ctrl+F3        Defragment selected disk
Ctrl+F4        Launch anti-virus (external application)
Insert         Insert CD
Delete         Eject CD
+              Map network drive
-              Disconnect network drive


Find file panel (Alt+F7)
========================
Enter        Show file in passive panel
Shift+Enter  Show file in active panel
F7           Show "Find file" dialog
Ctrl+R       Search again without prompt


Playlist panel
==============
Enter        Play selected file
Shift+Enter  Show file in passive panel


Viewer (F3)
===========
F2, W                  Toggle lines wrap
F3, Q                  Close Viewer
F4                     Edit file
F5, G                  Go to line number
F6, F                  Toggle filter
F9, M                  Menu with options
H, Alt_F2              Toggle syntax highlight
L                      Toggle links detection/open
N, Alt+Right           Open next file in the panel
P, Alt+Left            Open previous file in the panel
R                      Toggle line numbers

Ctrl+H, Alt+Page Down  History
Ctrl+F, F7             Find text
Ctrl+L, Shift+F7       Find next text
Ctrl+R                 Reload file

Right button  Copy line to clipboard
Backspace     Previous page
Space         Next page
+             Increase Tab size
-             Decrease Tab size


XC console (~)
==============
F2           Change console color
F6           Change console name
F8, Up/Down  Copy last command to command line
F9           Menu
F10, ~       Quit

Ctrl+Page Up           Go to the parent directory (cd ..)
Alt+Backspace, Ctrl+H  Directories history
Alt+Down/Up, Alt+F8    Commands history
Alt+Left/Right         Previous/next virtual console
Alt+F1..F4             Switch to virtual console 1..4

Alt+X                  Launch Explorer
Ctrl+X                 Launch XC

Esc, Ctrl+U  Clear command line
Ctrl+V       Paste from clipboard


Copy (F5)
=========
F5  Copy files to floppy ("A:\")


Find file (Alt+F7)
==================
F7  Find temporary files (see also: "Preferences->Files")


Info (Alt+I)
============
F4              Calculate CRC32 of the current file
F5              Copy all info to clipboard
Alt+Left/Right  Go to the previous/next file/directory in the current panel
Ctrl+R          Refresh info


CD Player
=========
Alt+F11   CD player menu
Ctrl+F11  CD player main window

Space       Play/pause
Delete      Eject CD
Up/Down     Volume up/down [DOS only]
Home/End    Go to first/last track
Left/Right  Previous/next 10 seconds

Z, Page Down  Previous track
X             Play
C             Pause
V             Stop
B, Page Up    Next track


ASCII table
===========
Ctrl+C, Ctrl+Insert  Copy selected character to clipboard


Help window (F1)
================
F3, Ctrl+L, Shift+F7  Find next text
F7, Ctrl+F            Find text


Puzzle
======
F2  New game


System info (Alt+S)
===================
F2                       Environment variables ("set")
F3                       XC info
F5, Ctrl+C, Ctrl+Insert  Copy to clipboard (subwindows)


Advanced filter (Alt+Delete)
============================
Enter   Show/hide selected file types
F8      Clear filter (show all files)
Insert  Select files with the selected filter
Delete  Unselect files with the selected filter


Varlist
=======
Enter             Go to variables group/edit value
Space             Toggle "Boolean" value (0 <> 1)
F3                Set default value
F7, Ctrl+F        Find text
Shift+F7, Ctrl+L  Find next text


Text line
=========
Delete, Ctrl+Delete   Delete selected text
Ctrl+X, Shift+Delete  Cut selected text to clipboard
Ctrl+C, Ctrl+Insert   Copy selected text to clipboard
Ctrl+V, Shift+Insert  Paste text from clipboard
Ctrl+A                Select all text
Ctrl+U                Delete all text
Ctrl+Z, F3            Set default text (a simple undo)
Ctrl+Page Up          Convert all text to upper case
Ctrl+Page Down        Convert all text to lower case
Ctrl+B, Ctrl+P        ASCII table
Alt+H, Alt+Up/Down    History
Insert                Toggle overwrite mode


Message box
===========
Ctrl+C, Ctrl+Insert, Right button  Copy text to clipboard


History window
==============
Delete               Delete selected item
F8                   Delete all history
Ctrl+C, Ctrl+Insert  Copy selected line to clipboard


Windows($) shortcuts
====================
Alt+Enter  Toggle full screen


FPP mode (see "kb_fppmode")
===========================
Type "toggle kb_fppmode" command, to enable/disable "fpp" key bindings.
W      = Up arrow
S      = Down arrow
A      Activate "left" panel
D      Activate "right" panel
E      = Enter
Space  = Backspace
R      = Ctrl+R
I      = F9
O      = F1


---- INTERNAL COMMANDS ----

X: - Change disk to "X" (X - disk drive letter)

*.txt - Show files with ".txt" extension.
*.* - Show all files.

Syntax: command [param1] [param2] [...]
(param) - required parameter
[param] - optional parameter

alarm
Alarm (Alt+A)

beep
Play a short system sound

bm
Show panel bookmarks (Alt+G)

cd [dir=home]
Change directory

clear, cls
Clear user screen (output)

cmdlist [startswith=*]
Show all internal commands

confirm (text) [title=NULL]
Show a confirmation message box

echo [text=NULL]
Display a text

exec (script)
Execute a .go script

exit [!], q [!], quit [!]
Quit; ! - no confirmation (Alt+F4)

f [filter=AUTO] [dir=AUTO] [text=NULL]
Find file
Example - find "demo.mp3" file in "C:\":
  f demo.mp3 c:\

game
Puzzle

go
Show "Go" menu (F2)

h [topic]
Show help (F1)

infobox (text) [title=NULL]
Show info message box

l [url]
Locate file or directory (Alt+J)
Example - show "command.com":
  l c:\command.com

lang [name]
Change language (Alt+F12)
Example - set Polish language:
  lang pl

menu [file]
Show main menu; add "file" parameter to popup "File" menu (F9, Alt+F)

mkdir [dirname]
Create a new directory (F7)

now
Show current date/time

openurl [url]
Open an URL (Alt+U)

setvar (varname) (value)
Set variable value
Example - set screen saver text:
  setvar ss_text "Hello, World"

toggle (varname)
Toggle "Boolean" value (0 <> 1)
Example - enable/disable clock:
  toggle ui_clock

sfx
Show "SFX" configuration window

si
Show "System information" window (Alt+S)

theme [name], skin [name]
Change theme (colors) (Shift+F12)
Example - set Norton Commander theme:
  theme nc

update
  Launch download page

varlist
  Show "Varlist" window

version
  Show version info


---- XC CONSOLE INTERNAL COMMANDS ----

cd [dir=home]
Change directory

clear, cls
Clear current virtual console

clearall
Clear all virtual consoles

cmdlist
Print console internal commands

exit [!], q [!], quit [!]
Quit console. Use "!" parameter to exit XC.

p
Go to the parent directory

pwd
Print current working directory

version
Print version info


---- INTERNAL VARIABLES ----

See also: "setvar" and "toggle" internal commands.

Directory Size Auto Scan:
  as_delay - Delay between directory scan
  as_enabled - Enable/disable directory size autoscan

XC Console (~):
  con_screensaver - Enable/disable screen saver in XC Console

Find File (Alt+F7):
  ff_limit - Found files limit (-1 = no limit; 0 = default limit)

Files:
  files_playlists - Playlist file types opened internally by XC

File Manager:
  fm_delete - Enable/disable "Delete" function
  fm_opencdaudio - Open CD audio files internally (.cda)
  fm_openjar - Open Java Jar files internally (.jar)
  fm_openplaylist - Open playlist files internally (see "files_playlists")

Hint Line (line above command line):
  hl_enabled - Show/hide hint line

Keyboard:
  kb_backspaceupdir - Backspace = go to parent directory
  kb_escuserscreen - Esc = show user screen (output)
  kb_fppmode - Enable/disable "FPP mode"

Language:
  lang_translator - Enable/disable +r4n5l4t0r

Panels:
  p_dirbar - Show/hide directory bar (line with drive letters)
  p_dragdrop - Enable/disable drag & drop between panels
  p_hints - Enable/disable hints under mouse
  p_lines - Show/hide lines
  p_scrollbar - Show/hide scroll bars
  p_scrollinfo - Enable/disable info scrolling
  p_sortbar - Show/hide columns header
  p_title - Show/hide title
  p_www - Click on "http://xcproject..." to launch a WWW browser

Quick View (Ctrl+Q):
  qv_delay - Quick view delay

Sound FX:
  sfx_visiblebeep - Enable/disable screen flashing

User Interface:
  ui_clickershortcuts, ui_formshortcuts, ui_menushortcuts
	 - Show keyboard shortcuts
  ui_fastclose - Click outside a window to close it
  ui_hints - Enable/disable hints under mouse cursor globally
  ui_lines - Show more vertical and horizontal lines
  ui_shadow - Window and menu shadows
  ui_transparentdnd - Dragged window is "transparent"
  ui_warnings - Show more warnings (red colors, etc.)

Misc:
  love - Do you really love this application?


---- COMPILATION ----

0. Good luck.
1. Extract xc-source-VERSION.zip to a new directory (e.g. C:\XCSRC)
2. Copy "system" directory to "C:\XCSRC"; "system" directory can be found in
	the XC install directory (e.g. "C:\Program Files\XC 3"),
	or in the xc-dos/win32-VERSION.zip package
3. In IDE: run with --xc-root="C:\XCSRC" argument.
4. Visit home page and download required tools (zip/unzip.dll, NSIS, FPC)

Makefile
--------
make          Build all (see Makefile options below)
make inc      Create "lanfile.inc" and "*.bla" files from the "*.lan" files
make langide  Create a language translator (langide.exe) (EXPERIMENTAL)
make setup    Create installer
make version  Update XC version info (see Makefile file)

Makefile options
----------------
Syntax: make -DOPTION1 -DOPTIONn target
NO_DOS           Without tpc.exe and tpx.exe (no dos version)
NO_SETUP         Don't create xcsetup.exe
NO_UPX           Without upx.exe (no exe compression)
COMPILER_FPC     Use ppc386.exe (Free Pascal) - default
GL               OpenGL version (OBSOLETE)
COMPILER_DELPHI  Use dcc32.exe (Delphi) (OBSOLETE)
COMPILER_VPC     Use vpc.exe (Virtual Pascal) (OBSOLETE)
NT               Works on NT-based systems (OBSOLETE)

Output
------
.\output\xc-dos-VERSION.zip     DOS version
.\output\xc-win32-VERSION.zip   Win32 version
.\output\xc-source-VERSION.zip  Source files
