Remove obsolete stuffs
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
ConEmu-Maximus5 - Handy Windows terminal
|
||||
|
||||
|
||||
About ConEmu
|
||||
|
||||
ConEmu-Maximus5 is a Windows console emulator with tabs, which presents
|
||||
multiple consoles and simple GUI applications as one customizable GUI
|
||||
window with various features.
|
||||
|
||||
Initially, the program was created as a companion to Far Manager,
|
||||
my favorite shell replacement - file and archive management,
|
||||
command history and completion, powerful editor.
|
||||
|
||||
Today, ConEmu can be used with any other console application or simple
|
||||
GUI tools (like PuTTY for example).
|
||||
|
||||
ConEmu is an active project, open to suggestions.
|
||||
https://conemu.github.io/en/Issues.html
|
||||
|
||||
|
||||
Description
|
||||
|
||||
ConEmu starts a console program in hidden console window and provides an
|
||||
alternative customizable GUI window with various features:
|
||||
|
||||
* smooth and friendly window resizing;
|
||||
* tabs for editors, viewers, panels and consoles;
|
||||
* run simple GUI apps in tabs;
|
||||
* Windows 7 Jump Lists and Progress on Taskbar buttons;
|
||||
* easily run old DOS applications (games) in Windows 7 or 64-bit OS;
|
||||
* thumbnails and tiles in Far Manager;
|
||||
* normal, maximized and full screen graphical window modes;
|
||||
* window font anti-aliasing: standard, ClearType, disabled;
|
||||
* window fonts: family, height, width, bold, italic, etc.;
|
||||
* Chinese verions of Windows supported;
|
||||
* using normal/bold/italic fonts for different parts of the console simultaneously;
|
||||
* using 24-bit colors in Far Manager 3.x;
|
||||
* ANSI X3.64 and Xterm 256 colors;
|
||||
* cursor: standard console (horizontal) or GUI (vertical);
|
||||
* optional per-application settings (e.g. palette);
|
||||
* vertical console buffer scrolling using the keyboard (BufferHeight mode);
|
||||
* show full output (1K+ lines) of last command in Far Manager's editor/viewer;
|
||||
* customizable Far Manager right click behaviour (long click opens context menu);
|
||||
* drag and drop (explorer style) of files and folders in Far Manager;
|
||||
* limited support of BDF fonts;
|
||||
* user friendly text and block selection;
|
||||
* transparency and desktop mode;
|
||||
* customizable starting tabs;
|
||||
* configurable and clickable status bar;
|
||||
* and much more - take a look at the Settings dialog or https://conemu.github.io/en/Settings.html
|
||||
|
||||
All settings are read from the registry or xml-file (multiple named
|
||||
configurations are supported), after which the command line parameters
|
||||
are applied. Most settings are configured using the Settings dialog,
|
||||
not from the command line.
|
||||
|
||||
|
||||
|
||||
Requirements
|
||||
|
||||
* Windows XP or later for 32-bit.
|
||||
* Windows Vista or later for 64-bit.
|
||||
|
||||
|
||||
Installation
|
||||
|
||||
1. Just unpack all files (from appropriate "ConEmuPack.*.7z")
|
||||
or install "ConEmuSetup.*.exe" package to any folder your choice.
|
||||
Subfolder "plugins" is required if you are using "Far Manager"!
|
||||
2. Run `ConEmu.exe` or `ConEmu64.exe`.
|
||||
|
||||
For more details please refer to: https://conemu.github.io/en/Installation.html
|
||||
|
||||
Command Line Syntax
|
||||
|
||||
Started without params, ConEmu runs some default shell.
|
||||
|
||||
Run "ConEmu.exe /?" or "ConEmu64.exe /?" to view the list of switches,
|
||||
or visit our website to examine switches description:
|
||||
|
||||
* https://conemu.github.io/en/ConEmuArgs.html
|
||||
* https://conemu.github.io/en/ConEmuC.html
|
||||
|
||||
|
||||
Command Line Examples
|
||||
|
||||
ConEmu.exe -cmd {Git bash}
|
||||
ConEmu.exe -title "Kill voracious browsers" -StartTSA -cmd -cur_console:n powershell -noprofile C:\DropBox\Kill.ps1
|
||||
|
||||
|
||||
Documentation
|
||||
|
||||
Please, visit: https://conemu.github.io/
|
||||
@@ -0,0 +1,8 @@
|
||||
System colors (Standard console 16 colors):
|
||||
[0;30;4;7;40m N [0;30;4;7;41m N [0;30;4;7;42m N [0;30;4;7;43m N [0;30;4;7;44m N [0;30;4;7;45m N [0;30;4;7;46m N [0;30;4;7;47m N [0m (colors 0..7 reverse underline)
|
||||
[0;30;3;7;100m N [0;30;3;7;101m N [0;30;3;7;102m N [0;30;3;7;103m N [0;30;3;7;104m N [0;30;3;7;105m N [0;30;3;7;106m N [0;30;3;7;107m N [0m (colors 8..15 reverse italic)
|
||||
[0;30;40m N [0;30;41m N [0;30;42m N [0;30;43m N [0;30;44m N [0;30;45m N [0;30;46m N [0;30;47m N [0m (colors 0..7)
|
||||
[0;30;100m N [0;30;101m N [0;30;102m N [0;30;103m N [0;30;104m N [0;30;105m N [0;30;106m N [0;30;107m N [0m (colors 8..15)
|
||||
[0;30;5;40m N [0;30;5;41m N [0;30;5;42m N [0;30;5;43m N [0;30;5;44m N [0;30;5;45m N [0;30;5;46m N [0;30;5;47m N [0m (colors 0..7 blink NYI)
|
||||
[90;48;5;0m N [48;5;1m N [48;5;2m N [48;5;3m N [48;5;4m N [48;5;5m N [48;5;6m N [48;5;7m N [0m (colors 0..7 xterm)
|
||||
[48;5;8m N [48;5;9m N [48;5;10m N [48;5;11m N [48;5;12m N [48;5;13m N [48;5;14m N [48;5;15m N [0m (colors 8..15 xterm)
|
||||
@@ -0,0 +1,92 @@
|
||||
This file contains full map of standard ANSI colors
|
||||
Read about enabling ANSI support in ConEmu
|
||||
https://conemu.github.io/en/AnsiEscapeCodes.html
|
||||
|
||||
To view this file colored just "type" it in your cmd/tcc/powershell prompt
|
||||
Example: type "C:\Program Files\ConEmu\ConEmu\Addons\AnsiColors16t.ans"
|
||||
|
||||
How to use ANSI in your scripts
|
||||
|
||||
cmd. Most tricky. You need to echo real \u001B character.
|
||||
First, define "ESC" environment variable with this helper batch:
|
||||
SetEscChar.cmd
|
||||
Second, use it in your "echo" commands:
|
||||
echo %ESC%[1;33;40m Yellow on black %ESC%[0m
|
||||
|
||||
PowerShell. If you need, PS can change output colors itself.
|
||||
Define variable with "[char]0x001b" and use it in Write-Host:
|
||||
$E=[char]0x001b; Write-Host "$E`[1;33;40m Yellow on black $E`[0m"
|
||||
|
||||
tcc, tcc/le. This command processor knows about special character ^E,
|
||||
Moreover, it process ANSI internally (without ConEmu)! Just use it:
|
||||
echo ^E[1;33;40m Yellow on black ^E[m
|
||||
|
||||
Bash. Unix ports known about ANSI and process codes internally!
|
||||
Just use it:
|
||||
echo -e "\e[1;33;40m Yellow on black \e[m"
|
||||
|
||||
|
||||
[0;30;40m $E[30;40m [0m [0;90;40m $E[90;40m [0m [0;30;100m $E[30;100m [0m [0;90;100m $E[90;100m [0m [0;30;100m $E[30;100m [0m [0;90;100m $E[90;100m [0m
|
||||
[0;31;40m $E[31;40m [0m [0;91;40m $E[91;40m [0m [0;31;100m $E[31;100m [0m [0;91;100m $E[91;100m [0m [0;31;100m $E[31;100m [0m [0;91;100m $E[91;100m [0m
|
||||
[0;32;40m $E[32;40m [0m [0;92;40m $E[92;40m [0m [0;32;100m $E[32;100m [0m [0;92;100m $E[92;100m [0m [0;32;100m $E[32;100m [0m [0;92;100m $E[92;100m [0m
|
||||
[0;33;40m $E[33;40m [0m [0;93;40m $E[93;40m [0m [0;33;100m $E[33;100m [0m [0;93;100m $E[93;100m [0m [0;33;100m $E[33;100m [0m [0;93;100m $E[93;100m [0m
|
||||
[0;34;40m $E[34;40m [0m [0;94;40m $E[94;40m [0m [0;34;100m $E[34;100m [0m [0;94;100m $E[94;100m [0m [0;34;100m $E[34;100m [0m [0;94;100m $E[94;100m [0m
|
||||
[0;35;40m $E[35;40m [0m [0;95;40m $E[95;40m [0m [0;35;100m $E[35;100m [0m [0;95;100m $E[95;100m [0m [0;35;100m $E[35;100m [0m [0;95;100m $E[95;100m [0m
|
||||
[0;36;40m $E[36;40m [0m [0;96;40m $E[96;40m [0m [0;36;100m $E[36;100m [0m [0;96;100m $E[96;100m [0m [0;36;100m $E[36;100m [0m [0;96;100m $E[96;100m [0m
|
||||
[0;37;40m $E[37;40m [0m [0;97;40m $E[97;40m [0m [0;37;100m $E[37;100m [0m [0;97;100m $E[97;100m [0m [0;37;100m $E[37;100m [0m [0;97;100m $E[97;100m [0m
|
||||
[0;30;41m $E[30;41m [0m [0;90;41m $E[90;41m [0m [0;30;101m $E[30;101m [0m [0;90;101m $E[90;101m [0m [0;30;101m $E[30;101m [0m [0;90;101m $E[90;101m [0m
|
||||
[0;31;41m $E[31;41m [0m [0;91;41m $E[91;41m [0m [0;31;101m $E[31;101m [0m [0;91;101m $E[91;101m [0m [0;31;101m $E[31;101m [0m [0;91;101m $E[91;101m [0m
|
||||
[0;32;41m $E[32;41m [0m [0;92;41m $E[92;41m [0m [0;32;101m $E[32;101m [0m [0;92;101m $E[92;101m [0m [0;32;101m $E[32;101m [0m [0;92;101m $E[92;101m [0m
|
||||
[0;33;41m $E[33;41m [0m [0;93;41m $E[93;41m [0m [0;33;101m $E[33;101m [0m [0;93;101m $E[93;101m [0m [0;33;101m $E[33;101m [0m [0;93;101m $E[93;101m [0m
|
||||
[0;34;41m $E[34;41m [0m [0;94;41m $E[94;41m [0m [0;34;101m $E[34;101m [0m [0;94;101m $E[94;101m [0m [0;34;101m $E[34;101m [0m [0;94;101m $E[94;101m [0m
|
||||
[0;35;41m $E[35;41m [0m [0;95;41m $E[95;41m [0m [0;35;101m $E[35;101m [0m [0;95;101m $E[95;101m [0m [0;35;101m $E[35;101m [0m [0;95;101m $E[95;101m [0m
|
||||
[0;36;41m $E[36;41m [0m [0;96;41m $E[96;41m [0m [0;36;101m $E[36;101m [0m [0;96;101m $E[96;101m [0m [0;36;101m $E[36;101m [0m [0;96;101m $E[96;101m [0m
|
||||
[0;37;41m $E[37;41m [0m [0;97;41m $E[97;41m [0m [0;37;101m $E[37;101m [0m [0;97;101m $E[97;101m [0m [0;37;101m $E[37;101m [0m [0;97;101m $E[97;101m [0m
|
||||
[0;30;42m $E[30;42m [0m [0;90;42m $E[90;42m [0m [0;30;102m $E[30;102m [0m [0;90;102m $E[90;102m [0m [0;30;102m $E[30;102m [0m [0;90;102m $E[90;102m [0m
|
||||
[0;31;42m $E[31;42m [0m [0;91;42m $E[91;42m [0m [0;31;102m $E[31;102m [0m [0;91;102m $E[91;102m [0m [0;31;102m $E[31;102m [0m [0;91;102m $E[91;102m [0m
|
||||
[0;32;42m $E[32;42m [0m [0;92;42m $E[92;42m [0m [0;32;102m $E[32;102m [0m [0;92;102m $E[92;102m [0m [0;32;102m $E[32;102m [0m [0;92;102m $E[92;102m [0m
|
||||
[0;33;42m $E[33;42m [0m [0;93;42m $E[93;42m [0m [0;33;102m $E[33;102m [0m [0;93;102m $E[93;102m [0m [0;33;102m $E[33;102m [0m [0;93;102m $E[93;102m [0m
|
||||
[0;34;42m $E[34;42m [0m [0;94;42m $E[94;42m [0m [0;34;102m $E[34;102m [0m [0;94;102m $E[94;102m [0m [0;34;102m $E[34;102m [0m [0;94;102m $E[94;102m [0m
|
||||
[0;35;42m $E[35;42m [0m [0;95;42m $E[95;42m [0m [0;35;102m $E[35;102m [0m [0;95;102m $E[95;102m [0m [0;35;102m $E[35;102m [0m [0;95;102m $E[95;102m [0m
|
||||
[0;36;42m $E[36;42m [0m [0;96;42m $E[96;42m [0m [0;36;102m $E[36;102m [0m [0;96;102m $E[96;102m [0m [0;36;102m $E[36;102m [0m [0;96;102m $E[96;102m [0m
|
||||
[0;37;42m $E[37;42m [0m [0;97;42m $E[97;42m [0m [0;37;102m $E[37;102m [0m [0;97;102m $E[97;102m [0m [0;37;102m $E[37;102m [0m [0;97;102m $E[97;102m [0m
|
||||
[0;30;43m $E[30;43m [0m [0;90;43m $E[90;43m [0m [0;30;103m $E[30;103m [0m [0;90;103m $E[90;103m [0m [0;30;103m $E[30;103m [0m [0;90;103m $E[90;103m [0m
|
||||
[0;31;43m $E[31;43m [0m [0;91;43m $E[91;43m [0m [0;31;103m $E[31;103m [0m [0;91;103m $E[91;103m [0m [0;31;103m $E[31;103m [0m [0;91;103m $E[91;103m [0m
|
||||
[0;32;43m $E[32;43m [0m [0;92;43m $E[92;43m [0m [0;32;103m $E[32;103m [0m [0;92;103m $E[92;103m [0m [0;32;103m $E[32;103m [0m [0;92;103m $E[92;103m [0m
|
||||
[0;33;43m $E[33;43m [0m [0;93;43m $E[93;43m [0m [0;33;103m $E[33;103m [0m [0;93;103m $E[93;103m [0m [0;33;103m $E[33;103m [0m [0;93;103m $E[93;103m [0m
|
||||
[0;34;43m $E[34;43m [0m [0;94;43m $E[94;43m [0m [0;34;103m $E[34;103m [0m [0;94;103m $E[94;103m [0m [0;34;103m $E[34;103m [0m [0;94;103m $E[94;103m [0m
|
||||
[0;35;43m $E[35;43m [0m [0;95;43m $E[95;43m [0m [0;35;103m $E[35;103m [0m [0;95;103m $E[95;103m [0m [0;35;103m $E[35;103m [0m [0;95;103m $E[95;103m [0m
|
||||
[0;36;43m $E[36;43m [0m [0;96;43m $E[96;43m [0m [0;36;103m $E[36;103m [0m [0;96;103m $E[96;103m [0m [0;36;103m $E[36;103m [0m [0;96;103m $E[96;103m [0m
|
||||
[0;37;43m $E[37;43m [0m [0;97;43m $E[97;43m [0m [0;37;103m $E[37;103m [0m [0;97;103m $E[97;103m [0m [0;37;103m $E[37;103m [0m [0;97;103m $E[97;103m [0m
|
||||
[0;30;44m $E[30;44m [0m [0;90;44m $E[90;44m [0m [0;30;104m $E[30;104m [0m [0;90;104m $E[90;104m [0m [0;30;104m $E[30;104m [0m [0;90;104m $E[90;104m [0m
|
||||
[0;31;44m $E[31;44m [0m [0;91;44m $E[91;44m [0m [0;31;104m $E[31;104m [0m [0;91;104m $E[91;104m [0m [0;31;104m $E[31;104m [0m [0;91;104m $E[91;104m [0m
|
||||
[0;32;44m $E[32;44m [0m [0;92;44m $E[92;44m [0m [0;32;104m $E[32;104m [0m [0;92;104m $E[92;104m [0m [0;32;104m $E[32;104m [0m [0;92;104m $E[92;104m [0m
|
||||
[0;33;44m $E[33;44m [0m [0;93;44m $E[93;44m [0m [0;33;104m $E[33;104m [0m [0;93;104m $E[93;104m [0m [0;33;104m $E[33;104m [0m [0;93;104m $E[93;104m [0m
|
||||
[0;34;44m $E[34;44m [0m [0;94;44m $E[94;44m [0m [0;34;104m $E[34;104m [0m [0;94;104m $E[94;104m [0m [0;34;104m $E[34;104m [0m [0;94;104m $E[94;104m [0m
|
||||
[0;35;44m $E[35;44m [0m [0;95;44m $E[95;44m [0m [0;35;104m $E[35;104m [0m [0;95;104m $E[95;104m [0m [0;35;104m $E[35;104m [0m [0;95;104m $E[95;104m [0m
|
||||
[0;36;44m $E[36;44m [0m [0;96;44m $E[96;44m [0m [0;36;104m $E[36;104m [0m [0;96;104m $E[96;104m [0m [0;36;104m $E[36;104m [0m [0;96;104m $E[96;104m [0m
|
||||
[0;37;44m $E[37;44m [0m [0;97;44m $E[97;44m [0m [0;37;104m $E[37;104m [0m [0;97;104m $E[97;104m [0m [0;37;104m $E[37;104m [0m [0;97;104m $E[97;104m [0m
|
||||
[0;30;45m $E[30;45m [0m [0;90;45m $E[90;45m [0m [0;30;105m $E[30;105m [0m [0;90;105m $E[90;105m [0m [0;30;105m $E[30;105m [0m [0;90;105m $E[90;105m [0m
|
||||
[0;31;45m $E[31;45m [0m [0;91;45m $E[91;45m [0m [0;31;105m $E[31;105m [0m [0;91;105m $E[91;105m [0m [0;31;105m $E[31;105m [0m [0;91;105m $E[91;105m [0m
|
||||
[0;32;45m $E[32;45m [0m [0;92;45m $E[92;45m [0m [0;32;105m $E[32;105m [0m [0;92;105m $E[92;105m [0m [0;32;105m $E[32;105m [0m [0;92;105m $E[92;105m [0m
|
||||
[0;33;45m $E[33;45m [0m [0;93;45m $E[93;45m [0m [0;33;105m $E[33;105m [0m [0;93;105m $E[93;105m [0m [0;33;105m $E[33;105m [0m [0;93;105m $E[93;105m [0m
|
||||
[0;34;45m $E[34;45m [0m [0;94;45m $E[94;45m [0m [0;34;105m $E[34;105m [0m [0;94;105m $E[94;105m [0m [0;34;105m $E[34;105m [0m [0;94;105m $E[94;105m [0m
|
||||
[0;35;45m $E[35;45m [0m [0;95;45m $E[95;45m [0m [0;35;105m $E[35;105m [0m [0;95;105m $E[95;105m [0m [0;35;105m $E[35;105m [0m [0;95;105m $E[95;105m [0m
|
||||
[0;36;45m $E[36;45m [0m [0;96;45m $E[96;45m [0m [0;36;105m $E[36;105m [0m [0;96;105m $E[96;105m [0m [0;36;105m $E[36;105m [0m [0;96;105m $E[96;105m [0m
|
||||
[0;37;45m $E[37;45m [0m [0;97;45m $E[97;45m [0m [0;37;105m $E[37;105m [0m [0;97;105m $E[97;105m [0m [0;37;105m $E[37;105m [0m [0;97;105m $E[97;105m [0m
|
||||
[0;30;46m $E[30;46m [0m [0;90;46m $E[90;46m [0m [0;30;106m $E[30;106m [0m [0;90;106m $E[90;106m [0m [0;30;106m $E[30;106m [0m [0;90;106m $E[90;106m [0m
|
||||
[0;31;46m $E[31;46m [0m [0;91;46m $E[91;46m [0m [0;31;106m $E[31;106m [0m [0;91;106m $E[91;106m [0m [0;31;106m $E[31;106m [0m [0;91;106m $E[91;106m [0m
|
||||
[0;32;46m $E[32;46m [0m [0;92;46m $E[92;46m [0m [0;32;106m $E[32;106m [0m [0;92;106m $E[92;106m [0m [0;32;106m $E[32;106m [0m [0;92;106m $E[92;106m [0m
|
||||
[0;33;46m $E[33;46m [0m [0;93;46m $E[93;46m [0m [0;33;106m $E[33;106m [0m [0;93;106m $E[93;106m [0m [0;33;106m $E[33;106m [0m [0;93;106m $E[93;106m [0m
|
||||
[0;34;46m $E[34;46m [0m [0;94;46m $E[94;46m [0m [0;34;106m $E[34;106m [0m [0;94;106m $E[94;106m [0m [0;34;106m $E[34;106m [0m [0;94;106m $E[94;106m [0m
|
||||
[0;35;46m $E[35;46m [0m [0;95;46m $E[95;46m [0m [0;35;106m $E[35;106m [0m [0;95;106m $E[95;106m [0m [0;35;106m $E[35;106m [0m [0;95;106m $E[95;106m [0m
|
||||
[0;36;46m $E[36;46m [0m [0;96;46m $E[96;46m [0m [0;36;106m $E[36;106m [0m [0;96;106m $E[96;106m [0m [0;36;106m $E[36;106m [0m [0;96;106m $E[96;106m [0m
|
||||
[0;37;46m $E[37;46m [0m [0;97;46m $E[97;46m [0m [0;37;106m $E[37;106m [0m [0;97;106m $E[97;106m [0m [0;37;106m $E[37;106m [0m [0;97;106m $E[97;106m [0m
|
||||
[0;30;47m $E[30;47m [0m [0;90;47m $E[90;47m [0m [0;30;107m $E[30;107m [0m [0;90;107m $E[90;107m [0m [0;30;107m $E[30;107m [0m [0;90;107m $E[90;107m [0m
|
||||
[0;31;47m $E[31;47m [0m [0;91;47m $E[91;47m [0m [0;31;107m $E[31;107m [0m [0;91;107m $E[91;107m [0m [0;31;107m $E[31;107m [0m [0;91;107m $E[91;107m [0m
|
||||
[0;32;47m $E[32;47m [0m [0;92;47m $E[92;47m [0m [0;32;107m $E[32;107m [0m [0;92;107m $E[92;107m [0m [0;32;107m $E[32;107m [0m [0;92;107m $E[92;107m [0m
|
||||
[0;33;47m $E[33;47m [0m [0;93;47m $E[93;47m [0m [0;33;107m $E[33;107m [0m [0;93;107m $E[93;107m [0m [0;33;107m $E[33;107m [0m [0;93;107m $E[93;107m [0m
|
||||
[0;34;47m $E[34;47m [0m [0;94;47m $E[94;47m [0m [0;34;107m $E[34;107m [0m [0;94;107m $E[94;107m [0m [0;34;107m $E[34;107m [0m [0;94;107m $E[94;107m [0m
|
||||
[0;35;47m $E[35;47m [0m [0;95;47m $E[95;47m [0m [0;35;107m $E[35;107m [0m [0;95;107m $E[95;107m [0m [0;35;107m $E[35;107m [0m [0;95;107m $E[95;107m [0m
|
||||
[0;36;47m $E[36;47m [0m [0;96;47m $E[96;47m [0m [0;36;107m $E[36;107m [0m [0;96;107m $E[96;107m [0m [0;36;107m $E[36;107m [0m [0;96;107m $E[96;107m [0m
|
||||
[0;37;47m $E[37;47m [0m [0;97;47m $E[97;47m [0m [0;37;107m $E[37;107m [0m [0;97;107m $E[97;107m [0m [0;37;107m $E[37;107m [0m [0;97;107m $E[97;107m [0m
|
||||
@@ -0,0 +1,44 @@
|
||||
# In the current ConEmu version TrueColor is available
|
||||
# only in the lower part of console buffer
|
||||
|
||||
$h = [Console]::WindowHeight
|
||||
$w = [Console]::BufferWidth
|
||||
$y = ([Console]::BufferHeight-$h)
|
||||
|
||||
# Clean console contents (this will clean TrueColor attributes)
|
||||
Write-Host (([char]27)+"[32766S")
|
||||
# Apply default powershell console attributes
|
||||
cls
|
||||
|
||||
# Ensure that we are in the bottom of the buffer
|
||||
try{
|
||||
[Console]::SetWindowPosition(0,$y)
|
||||
[Console]::SetCursorPosition(0,$y)
|
||||
}catch{
|
||||
Write-Host (([char]27)+"[32766H")
|
||||
}
|
||||
|
||||
# Header
|
||||
$title = " Printing 24bit gradient with ANSI sequences using powershell"
|
||||
Write-Host (([char]27)+"[m"+$title)
|
||||
|
||||
# Run cycles. Use {ESC [ 48 ; 2 ; R ; G ; B m} to set background
|
||||
# RGB color of the next printing character (space in this example)
|
||||
$l = 0
|
||||
$h -= 3
|
||||
$w -= 2
|
||||
while ($l -lt $h) {
|
||||
$b = [int]($l*255/$h)
|
||||
$c = 0
|
||||
Write-Host -NoNewLine (([char]27)+"[m ")
|
||||
while ($c -lt $w) {
|
||||
$r = [int]($c*255/$w)
|
||||
Write-Host -NoNewLine (([char]27)+"[48;2;"+$r+";255;"+$b+"m ")
|
||||
$c++
|
||||
}
|
||||
Write-Host (([char]27)+"[m ")
|
||||
$l++
|
||||
}
|
||||
|
||||
# Footer
|
||||
Write-Host " Gradient done"
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 6.1 KiB |
@@ -0,0 +1,21 @@
|
||||
You may use next commands in FAR2 macroses.
|
||||
|
||||
callplugin(0x43454D55,1) Show output of last console program in FAR editor
|
||||
|
||||
callplugin(0x43454D55,2) Show output of last console program in FAR viewer
|
||||
|
||||
callplugin(0x43454D55,3) Switch ConEmu tabs visibility
|
||||
|
||||
callplugin(0x43454D55,4) Switch next tab
|
||||
|
||||
callplugin(0x43454D55,5) Switch previous tab
|
||||
|
||||
callplugin(0x43454D55,6) Apply last tab switch. This must be called when
|
||||
'Lazy tab switch' ConEmu option is turned on.
|
||||
|
||||
callplugin(0x43454D55,7) Attach to ConEmu FAR window, started w/o ConEmu.
|
||||
|
||||
|
||||
|
||||
-------------------------------------------------------
|
||||
callplugin(0x43454D55,8) Start ConEmu debug log window
|
||||
@@ -0,0 +1,47 @@
|
||||
@echo off
|
||||
|
||||
rem ************************************************************
|
||||
rem If you don't know about Chocolatey (apt-get style manager)
|
||||
rem read about it here: https://chocolatey.org/
|
||||
rem If you are sure about installing it, execute the following
|
||||
rem one-line command:
|
||||
rem one-line command (select it with mouse and press RClick):
|
||||
rem powershell.exe -NoProfile -InputFormat None -ExecutionPolicy
|
||||
rem Bypass -Command "iex ((New-Object System.Net.WebClient).
|
||||
rem DownloadString('https://chocolatey.org/install.ps1'))"
|
||||
rem ^&^& SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
|
||||
rem ************************************************************
|
||||
|
||||
setlocal
|
||||
if "%ConEmuANSI%" == "ON" (
|
||||
set green=[1;32;40m
|
||||
set red=[1;31;40m
|
||||
set gray=[0m
|
||||
set yellow=[1;33;40m
|
||||
set white=[1;37;40m
|
||||
) else (
|
||||
set green=
|
||||
set red=
|
||||
set gray=
|
||||
set white=
|
||||
)
|
||||
rem Do not print ending '**' because it's not so easy to pad it with spaces
|
||||
echo %green%************************************************************%gray%
|
||||
echo If you don't know about %yellow%Chocolatey %gray%(apt-get style manager)
|
||||
echo %yellow%read about it%gray% here:%green% https://chocolatey.org/
|
||||
if DEFINED ChocolateyInstall (
|
||||
if EXIST "%ChocolateyInstall%\choco.exe" (
|
||||
echo %yellow%Chocolatey is already installed on your PC:%gray%
|
||||
echo %green% %ChocolateyInstall% %gray%
|
||||
goto done
|
||||
)
|
||||
)
|
||||
echo %gray%If you are sure about installing it, execute the following
|
||||
echo %red%one-line command%gray% (%yellow%select it with mouse and press RClick%gray%):
|
||||
echo %white%powershell.exe -NoProfile -InputFormat None -ExecutionPolicy
|
||||
echo %white% Bypass -Command "iex ((New-Object System.Net.WebClient).
|
||||
echo %white% DownloadString('https://chocolatey.org/install.ps1'))"
|
||||
echo %white% ^&^& SET "PATH=%%PATH%%;%%ALLUSERSPROFILE%%\chocolatey\bin"
|
||||
:done
|
||||
echo %green%************************************************************%gray%
|
||||
endlocal
|
||||
@@ -0,0 +1,36 @@
|
||||
REGEDIT4
|
||||
|
||||
;; Replace example path to yours specific location
|
||||
;; If you hold «Shift» while clicking «ConEmu inside»
|
||||
;; Tab will be created «As administrator»
|
||||
;;
|
||||
;; Btw, not relate to ConEmu, but interesting.
|
||||
;; Explorer has 'hidden' item "Open command window here" :)
|
||||
;; To display it, hold Shift when activating menu.
|
||||
;;
|
||||
;; One more tip. To display ConEmu system menu - right click
|
||||
;; on the leftmost part of ConEmu status bar.
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\ConEmu inside]
|
||||
"Icon"="C:\\Program Files\\ConEmu\\ConEmu.exe,1"
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\ConEmu inside\command]
|
||||
@="\"C:\\Program Files\\ConEmu\\ConEmu.exe\" /inside /config shell /cmd powershell -cur_console:n"
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Classes\Directory\shell\ConEmu inside]
|
||||
"Icon"="C:\\Program Files\\ConEmu\\ConEmu.exe,1"
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Classes\Directory\shell\ConEmu inside\command]
|
||||
@="\"C:\\Program Files\\ConEmu\\ConEmu.exe\" /inside /config shell /dir \"%1\" /cmd powershell -cur_console:n"
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Classes\Drive\shell\ConEmu inside]
|
||||
"Icon"="C:\\Program Files\\ConEmu\\ConEmu.exe,1"
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Classes\Drive\shell\ConEmu inside\command]
|
||||
@="\"C:\\Program Files\\ConEmu\\ConEmu.exe\" /inside /config shell /dir \"%1\" /cmd powershell -cur_console:n"
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Classes\*\shell\ConEmu inside]
|
||||
"Icon"="C:\\Program Files\\ConEmu\\ConEmu.exe,1"
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Classes\*\shell\ConEmu inside\command]
|
||||
@="\"C:\\Program Files\\ConEmu\\ConEmu.exe\" /inside /config shell /cmd powershell -cur_console:n"
|
||||
@@ -0,0 +1,6 @@
|
||||
REGEDIT4
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\ConEmu inside]
|
||||
[-HKEY_CURRENT_USER\Software\Classes\Directory\shell\ConEmu inside]
|
||||
[-HKEY_CURRENT_USER\Software\Classes\Drive\shell\ConEmu inside]
|
||||
[-HKEY_CURRENT_USER\Software\Classes\*\shell\ConEmu inside]
|
||||
@@ -0,0 +1,11 @@
|
||||
REGEDIT4
|
||||
|
||||
;; Q. В Windows Vista зависают другие консольные процессы.
|
||||
;; A. "Виноват" процесс ConIme.exe. Вроде бы он служит для ввода иероглифов
|
||||
;; (китай и т.п.). Зачем он нужен, если ввод теперь идет в графическом окне?
|
||||
;; Нужно запретить его автозапуск или вообще переименовать этот файл, например
|
||||
;; в 'ConIme.ex1' (видимо это возможно только в безопасном режиме).
|
||||
;; Запретить автозапуск: Внесите в реестр и перезагрузитесь
|
||||
|
||||
[HKEY_CURRENT_USER\Console]
|
||||
"LoadConIme"=dword:00000000
|
||||
@@ -0,0 +1,88 @@
|
||||
;
|
||||
; This file was adapted for ConEmu by Maximus5.
|
||||
;
|
||||
;
|
||||
; "Far Here" PowerToy
|
||||
;
|
||||
; Thanks for great Far Manager! There is a little add-on for windows,
|
||||
; Just install this .inf, right click on any dir, in explorer, and select
|
||||
; 'Far Here'. To uninstall - Control Panel->Add Remove programs->Far Here
|
||||
; power toy. All you need is change one line - FarHereLocation
|
||||
; (last line in .inf) to point to far.exe. Works with Win 9x and NT.
|
||||
;
|
||||
; To install:
|
||||
;
|
||||
; Locate farhere.inf with explorer
|
||||
; Right click and select "install"
|
||||
|
||||
; Please change the last line (FarHereLocation) to point to far.exe.
|
||||
;
|
||||
; Works well with Win 9x and NT. Right click on directory and
|
||||
; select from menu 'Far Here'.
|
||||
;
|
||||
; Send comments to gincius@voras.ktu.lt
|
||||
;
|
||||
[version]
|
||||
signature="$CHICAGO$"
|
||||
[FarHereInstall]
|
||||
CopyFiles = FarHere.Files.Inf
|
||||
AddReg = FarHere.Reg
|
||||
[DefaultInstall]
|
||||
CopyFiles = FarHere.Files.Inf
|
||||
AddReg = FarHere.Reg
|
||||
[DefaultInstall.ntx86]
|
||||
CopyFiles = FarHere.Files.Inf
|
||||
AddReg = FarHere.Reg.NT
|
||||
[DefaultUnInstall]
|
||||
DelFiles = FarHere.Files.Inf
|
||||
DelReg = FarHere.Remove.Reg
|
||||
[DefaultUnInstall.ntx86]
|
||||
DelFiles = FarHere.Files.Inf
|
||||
DelReg = FarHere.Remove.Reg.NT
|
||||
[SourceDisksNames]
|
||||
55="Far Here","",1
|
||||
[SourceDisksFiles]
|
||||
FARHERE.INF=55
|
||||
[DestinationDirs]
|
||||
FarHere.Files.Inf = 17
|
||||
[FarHere.Files.Inf]
|
||||
FARHERE.INF
|
||||
[FarHere.Reg]
|
||||
HKLM,%UDHERE%
|
||||
HKLM,%UDHERE%,DisplayName,,"%FarHereName%"
|
||||
HKLM,%UDHERE%,UninstallString,,"%10%\rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 132 %17%\FarHere.inf"
|
||||
HKCR,Directory\Shell\FarHere,,,"%FarHereAccel%"
|
||||
HKCR,Directory\Shell\FarHere\command,,,"%FarHereLocation% ""%1"""
|
||||
HKCR,Drive\Shell\FarHere,,,"%FarHereAccel%"
|
||||
HKCR,Drive\Shell\FarHere\command,,,"%FarHereLocation% ""%1"""
|
||||
HKCR,*\Shell\FarHere,,,"%FarHereAccel%"
|
||||
HKCR,*\Shell\FarHere\command,,,"%FarHereLocation% ""%1"""
|
||||
[FarHere.Reg.NT]
|
||||
HKLM,%UDHERE%
|
||||
HKLM,%UDHERE%,DisplayName,,"%FarHereName%"
|
||||
HKLM,%UDHERE%,UninstallString,,"rundll32.exe syssetup.dll,SetupInfObjectInstallAction DefaultUninstall 132 %17%\FarHere.inf"
|
||||
HKCR,Directory\Shell\FarHere,,,"%FarHereAccel%"
|
||||
HKCR,Directory\Shell\FarHere\command,,,"%FarHereLocation% ""%1"""
|
||||
HKCR,Drive\Shell\FarHere,,,"%FarHereAccel%"
|
||||
HKCR,Drive\Shell\FarHere\command,,,"%FarHereLocation% ""%1"""
|
||||
HKCR,*\Shell\FarHere,,,"%FarHereAccel%"
|
||||
HKCR,*\Shell\FarHere\command,,,"%FarHereLocation% ""%1"""
|
||||
[FarHere.Remove.Reg.NT]
|
||||
HKLM,%UDHERE%
|
||||
HKLM,%UDHERE%,DisplayName,,"%FarHereName%"
|
||||
HKLM,%UDHERE%,UninstallString,,"rundll32.exe syssetup.dll,SetupInfObjectInstallAction DefaultUninstall 132 %17%\FarHere.inf"
|
||||
HKCR,Directory\Shell\FarHere
|
||||
HKCR,Drive\Shell\FarHere
|
||||
HKCR,*\Shell\FarHere
|
||||
[FarHere.Remove.Reg]
|
||||
HKLM,%UDHERE%
|
||||
HKLM,%UDHERE%,DisplayName,,"%FarHereName%"
|
||||
HKLM,%UDHERE%,UninstallString,,"%10%\rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 132 %17%\FarHere.inf"
|
||||
HKCR,Directory\Shell\FarHere
|
||||
HKCR,Drive\Shell\FarHere
|
||||
HKCR,*\Shell\FarHere
|
||||
[Strings]
|
||||
FarHereName="Far Here Power Toy"
|
||||
FarHereAccel="Fa&r Here"
|
||||
UDHERE="Software\Microsoft\Windows\CurrentVersion\Uninstall\FarHere"
|
||||
;FarHereLocation="c:\Program Files\far\far.exe" ;; DON'T Uncomment this line. Use FarHereInstall.cmd
|
||||
@@ -0,0 +1,41 @@
|
||||
@echo off
|
||||
|
||||
set ACT=setup
|
||||
if "%~1"=="/u" set ACT=uninstall
|
||||
|
||||
if not exist "%FARHOME%\ConEmu.exe" echo "%FARHOME%\ConEmu.exe" not found & goto err
|
||||
if not exist "%FARHOME%\far.exe" echo "%FARHOME%\far.exe" not found & goto err
|
||||
if not exist "%~dp0FarHere.dat" echo "%~dp0FarHere.dat" not found & goto err
|
||||
|
||||
rem Creating 'inf' file
|
||||
copy "%~dp0FarHere.dat" "%~dp0FarHere.inf">nul
|
||||
if errorlevel 1 goto CantCopy
|
||||
echo FarHereLocation="""%FARHOME%\ConEmu.exe"" /single /cmd ""%FARHOME%\far.exe""">>"%~dp0FarHere.inf"
|
||||
|
||||
rem Doing action
|
||||
goto %ACT%
|
||||
|
||||
:setup
|
||||
echo Installing Far Here
|
||||
call RUNDLL32.EXE syssetup.dll,SetupInfObjectInstallAction DefaultInstall.ntx86 132 %~dp0FarHere.inf
|
||||
goto done
|
||||
|
||||
:uninstall
|
||||
echo Uninstalling Far Here
|
||||
RUNDLL32.EXE syssetup.dll,SetupInfObjectInstallAction DefaultUninstall.ntx86 132 %~dp0FarHere.inf
|
||||
goto done
|
||||
|
||||
:done
|
||||
del "%~dp0FarHere.inf"
|
||||
|
||||
goto fin
|
||||
|
||||
|
||||
:CantCopy
|
||||
echo Creating .inf file failed.
|
||||
echo "%~dp0FarHere.inf" is write protected?
|
||||
goto err
|
||||
|
||||
:err
|
||||
pause
|
||||
:fin
|
||||
@@ -0,0 +1,3 @@
|
||||
@echo off
|
||||
|
||||
call "%~dp0FarHereInstall.cmd" /u
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 6.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.4 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.4 KiB |
@@ -0,0 +1,35 @@
|
||||
# Issue 1886: Change text cursor position with LeftClick was not working
|
||||
# when PSReadLine was loaded in your $profile.
|
||||
# Following will remove ENABLE_MOUSE_INPUT from console input mode flags
|
||||
# Just call this script at the end of your $profile.
|
||||
|
||||
# (C) 2015 ConEmu.Maximus5@gmail.com
|
||||
|
||||
Add-Type -PassThru '
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
public class ConsoleWinApi {
|
||||
|
||||
[DllImport("kernel32.dll")]
|
||||
static extern IntPtr GetStdHandle(int nStdHandle);
|
||||
|
||||
[DllImport("kernel32.dll")]
|
||||
static extern bool GetConsoleMode(IntPtr hConsoleHandle, out uint dwMode);
|
||||
|
||||
[DllImport("kernel32.dll")]
|
||||
static extern bool SetConsoleMode(IntPtr hConsoleHandle, uint dwMode);
|
||||
|
||||
public static void RevokeMouseInput()
|
||||
{
|
||||
uint dwMode = 0;
|
||||
IntPtr h = GetStdHandle(-10);
|
||||
if (GetConsoleMode(h, out dwMode) && ((dwMode & 0x10) != 0))
|
||||
{
|
||||
SetConsoleMode(h, dwMode ^ 0x10);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
' | Out-Null
|
||||
|
||||
[ConsoleWinApi]::RevokeMouseInput()
|
||||
@@ -0,0 +1,44 @@
|
||||
@echo off
|
||||
|
||||
rem This example helper file may be used for showing
|
||||
rem your current git branch and changes count in
|
||||
rem the Far Manager prompt
|
||||
|
||||
rem Rename this file to 'git.cmd' and place somewhere in %PATH%
|
||||
|
||||
|
||||
set TERM=msys
|
||||
|
||||
set check_br=NO
|
||||
set git_fail=NO
|
||||
|
||||
|
||||
rem If command may change working state - need check branch after...
|
||||
for %%c in ("add","br","branch","checkout","co","commit","pull","push","rebase","stash") do if /I "%~1" == %%c set check_br=YES&goto cmd_checked
|
||||
:cmd_checked
|
||||
|
||||
|
||||
:run_git
|
||||
setlocal
|
||||
set ConEmuHooks=OFF
|
||||
call "%~dp0..\bin\git" %*
|
||||
if errorlevel 1 (
|
||||
endlocal
|
||||
goto fail
|
||||
) else (
|
||||
endlocal
|
||||
goto done
|
||||
)
|
||||
|
||||
:fail
|
||||
set git_fail=YES
|
||||
|
||||
:done
|
||||
if NOT %check_br%==YES goto :EOF
|
||||
|
||||
if %git_fail%==YES (
|
||||
set gitbranch=^>
|
||||
"%ConEmuBaseDir%\ConEmuC.exe" /export=CON gitbranch
|
||||
) else (
|
||||
call "%~dp0GitShowBranch.cmd"
|
||||
)
|
||||
@@ -0,0 +1,22 @@
|
||||
@chcp 65001 & (cmd /c type "%~dpn0.cmd") & pause & goto :EOF
|
||||
|
||||
Specials: ← → ↔ ↑ ↓ ↕ ⇔ ⇐ ⇑ ⇒ ⇓
|
||||
Ligatures: ffttft ==> ==< === == (unsupported yet)
|
||||
English: texts, web pages and documents
|
||||
Graves,etc: à á â ã ä å æ ç è é ê ë ì í î ï
|
||||
Greek: ΐ Α Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο
|
||||
Arabic: ڠ ڡ ڢ ڣ ڤ ڥ ڦ ڧ ڨ ک ڪ ګ ڬ ڭ ڮ گ
|
||||
Full width: @ A B C D E F G H I J K L M N O
|
||||
Romanian: texte, pagini Web şi a documentelor
|
||||
Vietnamese: văn bản, các trang web và các tài liệu
|
||||
Russian: тексты, веб-страницы и документы
|
||||
Japanese: テキスト、Webページや文書
|
||||
Yiddish: טעקסץ, וועב זייַטלעך און דאָקומענטן
|
||||
Hindi: पाठ, वेब पृष्ठों और दस्तावेज
|
||||
Thai: ข้อความ หน้า เว็บ และ เอกสาร
|
||||
Korean: 텍스트, 웹 페이지 및 문서
|
||||
Chinese: 文本,網頁和文件
|
||||
|
||||
If you can read the output of this batch
|
||||
your console runs correctly.
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
@echo off
|
||||
|
||||
if defined PROCESSOR_ARCHITEW6432 goto x64
|
||||
if "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto x64
|
||||
goto x86
|
||||
:x64
|
||||
set ConEmuC1=%~dp0ConEmuC64.exe
|
||||
set ConEmuC2=%~dp0ConEmuC.exe
|
||||
set ConEmuC3=ConEmuC64.exe
|
||||
goto con_find
|
||||
:x86
|
||||
set ConEmuC1=%~dp0ConEmuC.exe
|
||||
set ConEmuC2=%~dp0ConEmuC.exe
|
||||
set ConEmuC3=ConEmuC.exe
|
||||
goto con_find
|
||||
:con_find
|
||||
set ConEmuPath=%ConEmuC1%
|
||||
if exist "%ConEmuPath%" goto con_found
|
||||
set ConEmuPath=%ConEmuC2%
|
||||
if exist "%ConEmuPath%" goto con_found
|
||||
set ConEmuPath=%ConEmuC3%
|
||||
if exist "%ConEmuPath%" goto con_found
|
||||
goto notfound
|
||||
|
||||
:con_found
|
||||
rem Message moved to ConEmuC.exe
|
||||
rem echo ConEmu autorun (c) Maximus5
|
||||
rem echo Starting "%ConEmuPath%" in "/ATTACH /NOCMD" mode
|
||||
call "%ConEmuPath%" /ATTACH /NOCMD
|
||||
goto :EOF
|
||||
|
||||
:notfound
|
||||
:notfound
|
||||
Echo ConEmu not found! "%~dp0ConEmuC.exe"
|
||||
goto :EOF
|
||||
@@ -0,0 +1,16 @@
|
||||
@echo off
|
||||
|
||||
rem You want to get your cmd.exe prompt bottom aligned?
|
||||
rem On ConEmu startup and after "cls"?
|
||||
rem It is possible, run this file as your shell:
|
||||
rem cmd.exe /k ClsEx.cmd
|
||||
|
||||
rem Need to install alias?
|
||||
if NOT "%~1"=="/CLS" (
|
||||
doskey cls="%~0" /CLS
|
||||
title cmd
|
||||
)
|
||||
|
||||
rem Do clear screen and goto bottom
|
||||
set ESC=
|
||||
echo %ESC%[2J%ESC%[9999E
|
||||
@@ -0,0 +1,63 @@
|
||||
@rem !!! Do not change this file in-place, change its copy instead !!!
|
||||
@rem !!! Otherwise you will lose your settings after next update !!!
|
||||
|
||||
@echo off
|
||||
|
||||
rem Simple "ver" prints empty line before Windows version
|
||||
rem Use this construction to print just a version info
|
||||
cmd /d /c ver | "%windir%\system32\find.exe" "Windows"
|
||||
|
||||
rem Now we form the command prompt
|
||||
|
||||
rem This will start prompt with `User@PC `
|
||||
if /I "%ConEmuPromptNames%" == "NO" (
|
||||
set ConEmuPrompt0=
|
||||
) else (
|
||||
set ConEmuPrompt0=$E[m$E[32m$E]9;8;"USERNAME"$E\@$E]9;8;"COMPUTERNAME"$E\$S
|
||||
)
|
||||
|
||||
rem Followed by colored `Path`
|
||||
set ConEmuPrompt1=%ConEmuPrompt0%$E[92m$P$E[90m
|
||||
if NOT "%PROCESSOR_ARCHITECTURE%" == "AMD64" (
|
||||
if "%PROCESSOR_ARCHITEW6432%" == "AMD64" if "%PROCESSOR_ARCHITECTURE%" == "x86" (
|
||||
rem Use another text color if cmd was run from SysWow64
|
||||
set ConEmuPrompt1=%ConEmuPrompt0%$E[93m$P$E[90m
|
||||
)
|
||||
)
|
||||
|
||||
rem Carriage return and `$` or `#`
|
||||
if /I "%ConEmuPromptNL%" == "NO" (set ConEmuPrompt2=) else (set ConEmuPrompt2=$_)
|
||||
rem Spare `$E[90m` was specially added because of GitShowBranch.cmd
|
||||
if "%ConEmuIsAdmin%" == "ADMIN" (
|
||||
set ConEmuPrompt2=%ConEmuPrompt2%$E[90m#
|
||||
) else (
|
||||
set ConEmuPrompt2=%ConEmuPrompt2%$E[90m$$
|
||||
)
|
||||
|
||||
rem Finally reset color and add notify ConEmu about prompt input start coords
|
||||
set ConEmuPrompt3=$E[m$S$E]9;12$E\
|
||||
|
||||
rem Show 'git status' extract in prompt?
|
||||
if /I "%~1" == "/git" goto git
|
||||
if /I "%~1" == "-git" goto git
|
||||
goto no_git
|
||||
:git
|
||||
shift /1
|
||||
call "%~dp0GitShowBranch.cmd" /i
|
||||
goto :end_git
|
||||
:no_git
|
||||
rem Set new prompt
|
||||
PROMPT %ConEmuPrompt1%%ConEmuPrompt2%%ConEmuPrompt3%
|
||||
:end_git
|
||||
|
||||
rem Support additional batch execution as `{cmd} "path\to\batch.cmd" <arguments>`
|
||||
rem Due to parsing rules of cmd.exe last argument must NOT ends with "
|
||||
if "%~1" == "" goto clean
|
||||
rem We can't call here %* unfortunately
|
||||
call %1 %2 %3 %4 %5 %6 %7 %8 %9
|
||||
|
||||
:clean
|
||||
set ConEmuPrompt0=
|
||||
set ConEmuPrompt1=
|
||||
set ConEmuPrompt2=
|
||||
set ConEmuPrompt3=
|
||||
@@ -0,0 +1,181 @@
|
||||
@echo off
|
||||
|
||||
rem This (Cmd_Autorun /i) will install to the registry following keys
|
||||
rem [HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
|
||||
rem "AutoRun"="\"C:\\Program Files\\ConEmu\\ConEmu\\cmd_autorun.cmd\""
|
||||
rem Which cause auto attaching to ConEmu each started cmd.exe or tcc.exe
|
||||
rem If ConEmu (GUI) was not started yes, new instance will be started.
|
||||
|
||||
set FORCE_NEW_WND=NO
|
||||
set FORCE_NEW_WND_CMD=
|
||||
|
||||
rem Detect our server executable
|
||||
if defined PROCESSOR_ARCHITEW6432 goto x64
|
||||
if "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto x64
|
||||
goto x86
|
||||
:x64
|
||||
set ConEmuC1="%~dp0ConEmuC64.exe"
|
||||
set ConEmuC2="%~dp0ConEmuC.exe"
|
||||
set ConEmuC3=ConEmuC64.exe
|
||||
goto con_find
|
||||
:x86
|
||||
set ConEmuC1="%~dp0ConEmuC.exe"
|
||||
set ConEmuC2="%~dp0ConEmuC.exe"
|
||||
set ConEmuC3=ConEmuC.exe
|
||||
goto con_find
|
||||
:con_find
|
||||
set ConEmuPath=%ConEmuC1%
|
||||
if exist %ConEmuPath% goto con_found
|
||||
set ConEmuPath=%ConEmuC2%
|
||||
if exist %ConEmuPath% goto con_found
|
||||
set ConEmuPath=%ConEmuC3%
|
||||
if exist %ConEmuPath% goto con_found
|
||||
set ConEmuPath=
|
||||
goto notfound
|
||||
:con_found
|
||||
|
||||
|
||||
if "%~1"=="" goto noparm
|
||||
goto checkparm
|
||||
|
||||
:noparm
|
||||
rem AutoUpdate in progress?
|
||||
if defined ConEmuInUpdate (
|
||||
echo ConEmu auto update in progress, Cmd_Autorun skipped
|
||||
goto fin
|
||||
)
|
||||
|
||||
rem First, check ConEmuHWND variable, if it is absent - we are not in ConEmu
|
||||
if "%ConEmuHWND%"=="" goto noconemu
|
||||
|
||||
rem But we also need to check, is console is really in ConEmu tab,
|
||||
rem or just "ConEmuHWND" was set (or inherited) to any value?
|
||||
call %ConEmuPath% /IsConEmu > nul
|
||||
if errorlevel 2 goto noconemu
|
||||
if errorlevel 1 goto conemufound
|
||||
goto noconemu
|
||||
|
||||
|
||||
:checkparm
|
||||
if "%~1"=="/?" goto help
|
||||
if "%~1"=="-?" goto help
|
||||
if "%~1"=="--?" goto help
|
||||
if "%~1"=="-help" goto help
|
||||
if "%~1"=="--help" goto help
|
||||
|
||||
if "%~1"=="/i" goto install
|
||||
if "%~1"=="-i" goto install
|
||||
|
||||
if "%~1"=="/u" goto uninstall
|
||||
if "%~1"=="-u" goto uninstall
|
||||
|
||||
call :check_new "%~1"
|
||||
|
||||
rem Memorize...
|
||||
rem "TERM" variable may be defined in OS.
|
||||
rem rem �®¤ ⥫¥â®¬ - ¥ § ¯ã᪠âì!
|
||||
rem rem TODO: IsTelnet
|
||||
rem if not "%TERM%"=="" goto termfound
|
||||
|
||||
rem Memorize...
|
||||
rem �஢¥à¨âì, ¬®¦¥â ConEmu 㦥 § ¯ã饮?
|
||||
rem Warning!!! �â® ¥ à ¡®â ¥â, ¥á«¨ ¢ ConMan(!) 㪠§
|
||||
rem "CreateInNewEnvironment"=dword:00000001
|
||||
rem �㦮 ⠪:
|
||||
rem REGEDIT4
|
||||
rem [HKEY_CURRENT_USER\Software\HoopoePG_2x]
|
||||
rem "CreateInNewEnvironment"=dword:00000000
|
||||
|
||||
:noconemu
|
||||
set ConEmuHWND=
|
||||
if exist %ConEmuPath% goto srv_ok
|
||||
goto notfound
|
||||
:srv_ok
|
||||
rem Message moved to ConEmuC.exe
|
||||
rem echo ConEmu autorun (c) Maximus5
|
||||
rem echo Starting %ConEmuPath% in "Async Attach" mode (/GHWND=NEW)
|
||||
call %ConEmuPath% /AUTOATTACH %FORCE_NEW_WND_CMD%
|
||||
rem echo errorlevel=%errorlevel%
|
||||
rem Issue 1003: Non zero exit codes leads to problems in some applications...
|
||||
rem if errorlevel 132 if not errorlevel 133 goto rc_nocon
|
||||
rem if errorlevel 121 if not errorlevel 122 goto rc_ok
|
||||
rem echo ConEmu attach failed
|
||||
goto fin
|
||||
:rc_nocon
|
||||
rem This occurs while VS build or run from telnet
|
||||
rem echo ConEmu attach not available (no console window)
|
||||
goto fin
|
||||
:rc_ok
|
||||
rem echo ConEmu attach succeeded
|
||||
goto fin
|
||||
|
||||
|
||||
:notfound
|
||||
Echo ConEmu not found! "%~dp0ConEmuC.exe"
|
||||
goto fin
|
||||
:gui_notfound
|
||||
Echo ConEmu not found! "%~dp0..\ConEmu.exe"
|
||||
goto fin
|
||||
:termfound
|
||||
Echo ConEmu can not be started under Telnet!
|
||||
goto fin
|
||||
:conemufound
|
||||
rem Echo ConEmu already started (%ConEmuHWND%)
|
||||
goto fin
|
||||
|
||||
:help
|
||||
echo ConEmu autorun (c) Maximus5
|
||||
echo Usage
|
||||
echo cmd_autorun.cmd /? - displays this help
|
||||
echo cmd_autorun.cmd /i - turn ON ConEmu autorun for cmd.exe
|
||||
echo cmd_autorun.cmd /u - turn OFF ConEmu autorun
|
||||
goto fin
|
||||
|
||||
:install
|
||||
call :check_new "%~2"
|
||||
set ConEmuPath="%~dp0..\ConEmu.exe"
|
||||
if exist %ConEmuPath% goto install_found
|
||||
set ConEmuPath="%~dp0ConEmu.exe"
|
||||
if exist %ConEmuPath% goto install_found
|
||||
set ConEmuPath="%~dp0..\ConEmu64.exe"
|
||||
if exist %ConEmuPath% goto install_found
|
||||
set ConEmuPath="%~dp0ConEmu64.exe"
|
||||
if exist %ConEmuPath% goto install_found
|
||||
goto gui_notfound
|
||||
:install_found
|
||||
echo ConEmu autorun (c) Maximus5
|
||||
echo Enabling autorun (NewWnd=%FORCE_NEW_WND%)
|
||||
call %ConEmuPath% /autosetup 1 "%~0" %FORCE_NEW_WND_CMD%
|
||||
goto CheckRet
|
||||
|
||||
:uninstall
|
||||
set ConEmuPath="%~dp0..\ConEmu.exe"
|
||||
if exist %ConEmuPath% goto uninstall_found
|
||||
set ConEmuPath="%~dp0ConEmu.exe"
|
||||
if exist %ConEmuPath% goto uninstall_found
|
||||
set ConEmuPath="%~dp0..\ConEmu64.exe"
|
||||
if exist %ConEmuPath% goto uninstall_found
|
||||
set ConEmuPath="%~dp0ConEmu64.exe"
|
||||
if exist %ConEmuPath% goto uninstall_found
|
||||
goto gui_notfound
|
||||
:uninstall_found
|
||||
echo ConEmu autorun (c) Maximus5
|
||||
echo Disabling autorun
|
||||
call %ConEmuPath% /autosetup 0
|
||||
goto CheckRet
|
||||
|
||||
|
||||
:check_new
|
||||
if "%~1"=="/GHWND=NEW" set FORCE_NEW_WND=YES
|
||||
if "%~1"=="/NEW" set FORCE_NEW_WND=YES
|
||||
if "%FORCE_NEW_WND%"=="YES" set FORCE_NEW_WND_CMD="/GHWND=NEW"
|
||||
goto fin
|
||||
|
||||
:CheckRet
|
||||
if errorlevel 2 echo ConEmu failed
|
||||
if errorlevel 1 echo All done
|
||||
goto fin
|
||||
|
||||
:fin
|
||||
rem Issue 1003: Non zero exit codes leads to problems in some applications...
|
||||
exit /B 0
|
||||
@@ -0,0 +1,11 @@
|
||||
@echo off
|
||||
|
||||
rem Run this file in cmd.exe or tcc.exe to change
|
||||
rem color of command prompt to yellow on black.
|
||||
|
||||
rem Note!
|
||||
rem "Inject ConEmuHk" and "ANSI X3.64" options
|
||||
rem must be turned ON in ConEmu Settings!
|
||||
|
||||
rem prompt [1;33;40m$p$g[0;37;40m
|
||||
prompt $e[1;33;40m$p$g$e[0;37;40m
|
||||
@@ -0,0 +1,5 @@
|
||||
REGEDIT4
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
|
||||
"AutoRun"=-
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
REGEDIT4
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
|
||||
"AutoRun"="\"C:\\Program Files\\FAR\\cmd_autorun.cmd\""
|
||||
|
||||
+17703
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,77 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This is default configuration file for MinGW installation
|
||||
It is stored in packages as "/libexec/conemu/ConEmu.xml"
|
||||
Here are some changes in default ConEmu behavior and settings.
|
||||
Ctrl+D -> exit\n
|
||||
Ctrl+Shift+O & Ctrl+Shift+E -> create copy of current tab in split pane
|
||||
Changes mouse selection
|
||||
-->
|
||||
<key name="Software">
|
||||
<key name="ConEmu">
|
||||
<key name=".Vanilla" modified="2015-02-25 12:24:13" build="150224a">
|
||||
<value name="ClipboardDetectLineEnd" type="hex" data="01"/>
|
||||
<value name="ClipboardBashMargin" type="hex" data="01"/>
|
||||
<value name="ClipboardTrimTrailing" type="hex" data="02"/>
|
||||
<value name="ClipboardEOL" type="hex" data="00"/>
|
||||
<value name="ClipboardAllLines" type="hex" data="01"/>
|
||||
<value name="ClipboardFirstLine" type="hex" data="01"/>
|
||||
<value name="ClipboardClickPromptPosition" type="hex" data="02"/>
|
||||
<value name="CTS.AutoCopy" type="hex" data="01"/>
|
||||
<value name="CTS.EndOnTyping" type="hex" data="01"/>
|
||||
<value name="CTS.EndOnKeyPress" type="hex" data="01"/>
|
||||
<value name="CTS.Freeze" type="hex" data="00"/>
|
||||
<value name="CTS.SelectBlock" type="hex" data="01"/>
|
||||
<value name="CTS.SelectText" type="hex" data="01"/>
|
||||
<value name="CTS.ActMode" type="hex" data="02"/>
|
||||
<value name="CTS.RBtnAction" type="hex" data="03"/>
|
||||
<value name="CTS.MBtnAction" type="hex" data="00"/>
|
||||
<value name="CTS.ColorIndex" type="hex" data="e0"/>
|
||||
<value name="ClipboardConfirmEnter" type="hex" data="01"/>
|
||||
<value name="ClipboardConfirmLonger" type="dword" data="000000c8"/>
|
||||
<value name="KeyMacro01" type="dword" data="00001144"/>
|
||||
<value name="KeyMacro01.Text" type="string" data="print("exit
|
||||
")"/>
|
||||
<value name="WndDragKey" type="dword" data="00121101"/>
|
||||
<key name="Tasks" modified="2012-09-09 21:10:21">
|
||||
<value name="Count" type="dword" data="00000003"/>
|
||||
<key name="Task1" modified="2012-09-09 21:10:21">
|
||||
<value name="Name" type="string" data="{Bash}"/>
|
||||
<value name="GuiArgs" type="string" data=""/>
|
||||
<value name="Cmd1" type="string" data=""%ConEmuDir%\..\msys\1.0\bin\sh.exe" --login -i -new_console:n"/>
|
||||
<value name="Active" type="dword" data="00000000"/>
|
||||
<value name="Count" type="dword" data="00000001"/>
|
||||
</key>
|
||||
<key name="Task2" modified="2012-09-09 21:10:21">
|
||||
<value name="Name" type="string" data="{CMD}"/>
|
||||
<value name="GuiArgs" type="string" data=""/>
|
||||
<value name="Cmd1" type="string" data="cmd -new_console:n"/>
|
||||
<value name="Active" type="dword" data="00000000"/>
|
||||
<value name="Count" type="dword" data="00000001"/>
|
||||
</key>
|
||||
<key name="Task3" modified="2012-09-09 21:10:21">
|
||||
<value name="Name" type="string" data="{PowerShell}"/>
|
||||
<value name="GuiArgs" type="string" data=""/>
|
||||
<value name="Cmd1" type="string" data="PowerShell -new_console:n"/>
|
||||
<value name="Active" type="dword" data="00000000"/>
|
||||
<value name="Count" type="dword" data="00000001"/>
|
||||
</key>
|
||||
</key>
|
||||
<value name="CTS.VkBlock" type="hex" data="a4"/>
|
||||
<value name="CTS.VkText" type="hex" data="00"/>
|
||||
<value name="CTS.VkAct" type="hex" data="00"/>
|
||||
<value name="CTS.VkPrompt" type="hex" data="a0"/>
|
||||
<value name="FarGotoEditorVk" type="hex" data="a2"/>
|
||||
<value name="UseCurrentSizePos" type="hex" data="01"/>
|
||||
<value name="WindowMode" type="dword" data="0000051f"/>
|
||||
<value name="ConWnd Width" type="dword" data="00000050"/>
|
||||
<value name="ConWnd Height" type="dword" data="00000019"/>
|
||||
<value name="Cascaded" type="hex" data="01"/>
|
||||
<value name="IntegralSize" type="hex" data="00"/>
|
||||
<value name="ConWnd X" type="dword" data="000000b8"/>
|
||||
<value name="ConWnd Y" type="dword" data="0000015b"/>
|
||||
<value name="16bit Height" type="dword" data="00000000"/>
|
||||
<value name="AutoSaveSizePos" type="hex" data="01"/>
|
||||
</key>
|
||||
</key>
|
||||
</key>
|
||||
@@ -0,0 +1,580 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Rename this file to "ConEmu.xml" to enable portable mode.
|
||||
You may place "ConEmu.xml" file AFTER ConEmu starts,
|
||||
so You can save settings to xml, loaded from registry,
|
||||
and vice versa.
|
||||
-->
|
||||
<key name="Software">
|
||||
<key name="ConEmu">
|
||||
<!-- Main configuration (/config argument is not specified) -->
|
||||
<key name=".Vanilla" modified="2015-02-25 12:17:02" build="150224a">
|
||||
<value name="SingleInstance" type="hex" data="00"/>
|
||||
<value name="KeyboardHooks" type="hex" data="01"/>
|
||||
<value name="UseInjects" type="hex" data="01"/>
|
||||
<value name="Update.CheckOnStartup" type="hex" data="01"/>
|
||||
<value name="Update.CheckHourly" type="hex" data="00"/>
|
||||
<value name="Update.ConfirmDownload" type="hex" data="01"/>
|
||||
<value name="Update.UseBuilds" type="hex" data="02"/>
|
||||
<value name="FontUseDpi" type="hex" data="01"/>
|
||||
<value name="FontUseUnits" type="hex" data="01"/>
|
||||
<value name="FontSize" type="dword" data="0000000e"/>
|
||||
<value name="StatusFontHeight" type="dword" data="0000000c"/>
|
||||
<value name="TabFontHeight" type="dword" data="0000000d"/>
|
||||
<value name="StartType" type="hex" data="00"/>
|
||||
<value name="CmdLine" type="string" data=""/>
|
||||
<value name="StartTasksFile" type="string" data=""/>
|
||||
<value name="StartTasksName" type="string" data=""/>
|
||||
<value name="StartFarFolders" type="hex" data="00"/>
|
||||
<value name="StartFarEditors" type="hex" data="00"/>
|
||||
|
||||
<!-- Console colors -->
|
||||
<value name="ColorTable00" type="dword" data="00362b00"/>
|
||||
<value name="ColorTable01" type="dword" data="00423607"/>
|
||||
<value name="ColorTable02" type="dword" data="00756e58"/>
|
||||
<value name="ColorTable03" type="dword" data="00837b65"/>
|
||||
<value name="ColorTable04" type="dword" data="00164bcb"/>
|
||||
<value name="ColorTable05" type="dword" data="00c4716c"/>
|
||||
<value name="ColorTable06" type="dword" data="00969483"/>
|
||||
<value name="ColorTable07" type="dword" data="00d5e8ee"/>
|
||||
<value name="ColorTable08" type="dword" data="00a1a193"/>
|
||||
<value name="ColorTable09" type="dword" data="00d28b26"/>
|
||||
<value name="ColorTable10" type="dword" data="00009985"/>
|
||||
<value name="ColorTable11" type="dword" data="0098a12a"/>
|
||||
<value name="ColorTable12" type="dword" data="002f32dc"/>
|
||||
<value name="ColorTable13" type="dword" data="008236d3"/>
|
||||
<value name="ColorTable14" type="dword" data="000089b5"/>
|
||||
<value name="ColorTable15" type="dword" data="00e3f6fd"/>
|
||||
<value name="ColorTable16" type="dword" data="00000000"/>
|
||||
<value name="ColorTable17" type="dword" data="00800000"/>
|
||||
<value name="ColorTable18" type="dword" data="00008000"/>
|
||||
<value name="ColorTable19" type="dword" data="00808000"/>
|
||||
<value name="ColorTable20" type="dword" data="00000080"/>
|
||||
<value name="ColorTable21" type="dword" data="00800080"/>
|
||||
<value name="ColorTable22" type="dword" data="00008080"/>
|
||||
<value name="ColorTable23" type="dword" data="00c0c0c0"/>
|
||||
<value name="ColorTable24" type="dword" data="00808080"/>
|
||||
<value name="ColorTable25" type="dword" data="00ff0000"/>
|
||||
<value name="ColorTable26" type="dword" data="0000ff00"/>
|
||||
<value name="ColorTable27" type="dword" data="00ffff00"/>
|
||||
<value name="ColorTable28" type="dword" data="000000ff"/>
|
||||
<value name="ColorTable29" type="dword" data="00ff00ff"/>
|
||||
<value name="ColorTable30" type="dword" data="0000ffff"/>
|
||||
<value name="ColorTable31" type="dword" data="00ffffff"/>
|
||||
|
||||
<value name="ExtendColors" type="hex" data="00"/>
|
||||
<value name="ExtendColorIdx" type="hex" data="0e"/>
|
||||
<value name="TextColorIdx" type="hex" data="10"/>
|
||||
<value name="BackColorIdx" type="hex" data="10"/>
|
||||
<value name="PopTextColorIdx" type="hex" data="10"/>
|
||||
<value name="PopBackColorIdx" type="hex" data="10"/>
|
||||
<value name="ExtendFonts" type="hex" data="00"/>
|
||||
<value name="ExtendFontNormalIdx" type="hex" data="01"/>
|
||||
<value name="ExtendFontBoldIdx" type="hex" data="0c"/>
|
||||
<value name="ExtendFontItalicIdx" type="hex" data="0d"/>
|
||||
<value name="CursorTypeActive" type="dword" data="000232c1"/>
|
||||
<value name="CursorTypeInactive" type="dword" data="00823283"/>
|
||||
<value name="ClipboardDetectLineEnd" type="hex" data="01"/>
|
||||
<value name="ClipboardBashMargin" type="hex" data="00"/>
|
||||
<value name="ClipboardTrimTrailing" type="hex" data="02"/>
|
||||
<value name="ClipboardEOL" type="hex" data="00"/>
|
||||
<value name="ClipboardArrowStart" type="hex" data="01"/>
|
||||
<value name="ClipboardAllLines" type="hex" data="01"/>
|
||||
<value name="ClipboardFirstLine" type="hex" data="01"/>
|
||||
<value name="ClipboardClickPromptPosition" type="hex" data="02"/>
|
||||
<value name="ClipboardDeleteLeftWord" type="hex" data="02"/>
|
||||
<value name="TrueColorerSupport" type="hex" data="01"/>
|
||||
<value name="FadeInactive" type="hex" data="01"/>
|
||||
<value name="FadeInactiveLow" type="hex" data="00"/>
|
||||
<value name="FadeInactiveHigh" type="hex" data="d0"/>
|
||||
<value name="ConVisible" type="hex" data="00"/>
|
||||
|
||||
<value name="SetDefaultTerminal" type="hex" data="00"/>
|
||||
<value name="SetDefaultTerminalStartup" type="hex" data="00"/>
|
||||
<value name="SetDefaultTerminalStartupTSA" type="hex" data="00"/>
|
||||
<value name="DefaultTerminalAgressive" type="hex" data="01"/>
|
||||
<value name="DefaultTerminalNoInjects" type="hex" data="00"/>
|
||||
<value name="DefaultTerminalNewWindow" type="hex" data="00"/>
|
||||
<value name="DefaultTerminalConfirm" type="hex" data="01"/>
|
||||
<value name="DefaultTerminalApps" type="string" data="explorer.exe"/>
|
||||
<value name="ProcessAnsi" type="hex" data="01"/>
|
||||
<value name="AnsiLog" type="hex" data="00"/>
|
||||
<value name="AnsiLogPath" type="string" data="%ConEmuDir%\Logs\"/>
|
||||
<value name="ProcessNewConArg" type="hex" data="01"/>
|
||||
<value name="ProcessCmdStart" type="hex" data="01"/>
|
||||
<value name="ConsoleExceptionHandler" type="hex" data="00"/>
|
||||
<value name="UseClink" type="hex" data="01"/>
|
||||
<value name="StoreTaskbarkTasks" type="hex" data="00"/>
|
||||
<value name="StoreTaskbarCommands" type="hex" data="00"/>
|
||||
<value name="SaveCmdHistory" type="hex" data="01"/>
|
||||
<value name="CmdLineHistory" type="multi"/>
|
||||
<value name="ShowHelpTooltips" type="hex" data="01"/>
|
||||
<value name="Multi" type="hex" data="01"/>
|
||||
<value name="Multi.ShowButtons" type="hex" data="01"/>
|
||||
<value name="Multi.ShowSearch" type="hex" data="01"/>
|
||||
<value name="Multi.NumberInCaption" type="hex" data="00"/>
|
||||
<value name="Multi.CloseConfirmFlags" type="hex" data="04"/>
|
||||
<value name="Multi.NewConfirm" type="hex" data="00"/>
|
||||
<value name="Multi.DupConfirm" type="hex" data="01"/>
|
||||
<value name="Multi.DetachConfirm" type="hex" data="01"/>
|
||||
<value name="Multi.UseArrows" type="hex" data="00"/>
|
||||
<value name="Multi.UseNumbers" type="hex" data="01"/>
|
||||
<value name="Multi.UseWinTab" type="hex" data="00"/>
|
||||
<value name="Multi.AutoCreate" type="hex" data="00"/>
|
||||
<value name="Multi.LeaveOnClose" type="hex" data="00"/>
|
||||
<value name="Multi.HideOnClose" type="hex" data="00"/>
|
||||
<value name="Multi.MinByEsc" type="hex" data="02"/>
|
||||
<value name="MapShiftEscToEsc" type="hex" data="01"/>
|
||||
<value name="Multi.Iterate" type="hex" data="01"/>
|
||||
<value name="Multi.SplitWidth" type="hex" data="04"/>
|
||||
<value name="Multi.SplitHeight" type="hex" data="04"/>
|
||||
<value name="FontName" type="string" data="Consolas"/>
|
||||
<value name="FontName2" type="string" data="Consolas"/>
|
||||
<value name="FontAutoSize" type="hex" data="00"/>
|
||||
<value name="FontSizeX" type="dword" data="00000000"/>
|
||||
<value name="FontSizeX2" type="dword" data="00000000"/>
|
||||
<value name="FontSizeX3" type="dword" data="00000000"/>
|
||||
<value name="FontCharSet" type="hex" data="cc"/>
|
||||
<value name="Anti-aliasing" type="dword" data="00000006"/>
|
||||
<value name="FontBold" type="hex" data="00"/>
|
||||
<value name="FontItalic" type="hex" data="00"/>
|
||||
<value name="Monospace" type="hex" data="01"/>
|
||||
<value name="BackGround Image show" type="hex" data="00"/>
|
||||
<value name="BackGround Image" type="string" data="c:\back.bmp"/>
|
||||
<value name="bgImageDarker" type="hex" data="ff"/>
|
||||
<value name="bgImageColors" type="dword" data="ffffffff"/>
|
||||
<value name="bgOperation" type="hex" data="00"/>
|
||||
<value name="bgPluginAllowed" type="hex" data="01"/>
|
||||
<value name="AlphaValue" type="hex" data="ff"/>
|
||||
<value name="AlphaValueSeparate" type="hex" data="00"/>
|
||||
<value name="AlphaValueInactive" type="hex" data="ff"/>
|
||||
<value name="UserScreenTransparent" type="hex" data="00"/>
|
||||
<value name="ColorKeyTransparent" type="hex" data="00"/>
|
||||
<value name="ColorKeyValue" type="dword" data="00010101"/>
|
||||
<value name="UseCurrentSizePos" type="hex" data="01"/>
|
||||
<value name="WindowMode" type="dword" data="0000051f"/>
|
||||
<value name="ConWnd Width" type="dword" data="00000050"/>
|
||||
<value name="ConWnd Height" type="dword" data="00000019"/>
|
||||
<value name="Cascaded" type="hex" data="01"/>
|
||||
<value name="ConWnd X" type="dword" data="000000b8"/>
|
||||
<value name="ConWnd Y" type="dword" data="0000015b"/>
|
||||
<value name="16bit Height" type="dword" data="00000000"/>
|
||||
<value name="AutoSaveSizePos" type="hex" data="01"/>
|
||||
<value name="IntegralSize" type="hex" data="00"/>
|
||||
<value name="QuakeStyle" type="hex" data="00"/>
|
||||
<value name="QuakeAnimation" type="dword" data="0000012c"/>
|
||||
<value name="HideCaption" type="hex" data="00"/>
|
||||
<value name="HideChildCaption" type="hex" data="01"/>
|
||||
<value name="FocusInChildWindows" type="hex" data="01"/>
|
||||
<value name="HideCaptionAlways" type="hex" data="00"/>
|
||||
<value name="HideCaptionAlwaysFrame" type="hex" data="ff"/>
|
||||
<value name="HideCaptionAlwaysDelay" type="dword" data="000007d0"/>
|
||||
<value name="HideCaptionAlwaysDisappear" type="dword" data="000007d0"/>
|
||||
<value name="DownShowHiddenMessage" type="hex" data="00"/>
|
||||
<value name="ConsoleFontName" type="string" data="Lucida Console"/>
|
||||
<value name="ConsoleFontWidth" type="dword" data="00000003"/>
|
||||
<value name="ConsoleFontHeight" type="dword" data="00000005"/>
|
||||
<value name="DefaultBufferHeight" type="dword" data="000003e8"/>
|
||||
<value name="AutoBufferHeight" type="hex" data="01"/>
|
||||
<value name="UseScrollLock" type="hex" data="01"/>
|
||||
<value name="CmdOutputCP" type="dword" data="00000000"/>
|
||||
<value name="ComSpec.Type" type="hex" data="00"/>
|
||||
<value name="ComSpec.Bits" type="hex" data="00"/>
|
||||
<value name="ComSpec.UpdateEnv" type="hex" data="00"/>
|
||||
<value name="ComSpec.EnvAddPath" type="hex" data="01"/>
|
||||
<value name="ComSpec.EnvAddExePath" type="hex" data="01"/>
|
||||
<value name="ComSpec.UncPaths" type="hex" data="01"/>
|
||||
<value name="ComSpec.Path" type="string" data=""/>
|
||||
<value name="CTS.Intelligent" type="hex" data="01"/>
|
||||
<value name="CTS.IntelligentExceptions" type="string" data="far|vim.exe"/>
|
||||
<value name="CTS.AutoCopy" type="hex" data="01"/>
|
||||
<value name="CTS.IBeam" type="hex" data="01"/>
|
||||
<value name="CTS.EndOnTyping" type="hex" data="00"/>
|
||||
<value name="CTS.EndOnKeyPress" type="hex" data="00"/>
|
||||
<value name="CTS.Freeze" type="hex" data="00"/>
|
||||
<value name="CTS.SelectBlock" type="hex" data="01"/>
|
||||
<value name="CTS.SelectText" type="hex" data="01"/>
|
||||
<value name="CTS.HtmlFormat" type="hex" data="00"/>
|
||||
<value name="CTS.ForceLocale" type="dword" data="00000000"/>
|
||||
<value name="CTS.ActMode" type="hex" data="02"/>
|
||||
<value name="CTS.RBtnAction" type="hex" data="03"/>
|
||||
<value name="CTS.MBtnAction" type="hex" data="00"/>
|
||||
<value name="CTS.ColorIndex" type="hex" data="e0"/>
|
||||
<value name="ClipboardConfirmEnter" type="hex" data="01"/>
|
||||
<value name="ClipboardConfirmLonger" type="dword" data="000000c8"/>
|
||||
<value name="FarGotoEditorOpt" type="hex" data="01"/>
|
||||
<value name="FarGotoEditorPath" type="string" data="far.exe /e%1:%2 "%3""/>
|
||||
<value name="HighlightMouseRow" type="hex" data="00"/>
|
||||
<value name="HighlightMouseCol" type="hex" data="00"/>
|
||||
<value name="FixFarBorders" type="hex" data="01"/>
|
||||
<value name="FixFarBordersRanges" type="string" data="2013-25C4;"/>
|
||||
<value name="ExtendUCharMap" type="hex" data="01"/>
|
||||
<value name="EnhanceGraphics" type="hex" data="01"/>
|
||||
<value name="EnhanceButtons" type="hex" data="00"/>
|
||||
<value name="PartBrush75" type="hex" data="c8"/>
|
||||
<value name="PartBrush50" type="hex" data="96"/>
|
||||
<value name="PartBrush25" type="hex" data="5a"/>
|
||||
<value name="PartBrushBlack" type="hex" data="20"/>
|
||||
<value name="RightClick opens context menu" type="hex" data="02"/>
|
||||
<value name="RightClickMacro2" type="string" data=""/>
|
||||
<value name="SendAltTab" type="hex" data="00"/>
|
||||
<value name="SendAltEsc" type="hex" data="00"/>
|
||||
<value name="SendAltPrintScrn" type="hex" data="00"/>
|
||||
<value name="SendPrintScrn" type="hex" data="00"/>
|
||||
<value name="SendCtrlEsc" type="hex" data="00"/>
|
||||
<value name="Min2Tray" type="hex" data="00"/>
|
||||
<value name="AlwaysShowTrayIcon" type="hex" data="00"/>
|
||||
<value name="SafeFarClose" type="hex" data="01"/>
|
||||
<value name="SafeFarCloseMacro" type="string" data=""/>
|
||||
<value name="FARuseASCIIsort" type="hex" data="00"/>
|
||||
<value name="ShellNoZoneCheck" type="hex" data="00"/>
|
||||
<value name="FixAltOnAltTab" type="hex" data="00"/>
|
||||
<value name="DisableMouse" type="hex" data="00"/>
|
||||
<value name="RSelectionFix" type="hex" data="01"/>
|
||||
<value name="MouseSkipActivation" type="hex" data="01"/>
|
||||
<value name="MouseSkipMoving" type="hex" data="01"/>
|
||||
<value name="FarHourglass" type="hex" data="01"/>
|
||||
<value name="FarHourglassDelay" type="dword" data="000001f4"/>
|
||||
<value name="Dnd" type="hex" data="01"/>
|
||||
<value name="DndDrop" type="hex" data="01"/>
|
||||
<value name="DefCopy" type="hex" data="01"/>
|
||||
<value name="DropUseMenu" type="hex" data="02"/>
|
||||
<value name="DragOverlay" type="hex" data="01"/>
|
||||
<value name="DragShowIcons" type="hex" data="01"/>
|
||||
<value name="DebugSteps" type="hex" data="01"/>
|
||||
<value name="DragPanel" type="hex" data="02"/>
|
||||
<value name="DragPanelBothEdges" type="hex" data="00"/>
|
||||
<value name="KeyBarRClick" type="hex" data="01"/>
|
||||
<value name="StatusBar.Show" type="hex" data="01"/>
|
||||
<value name="StatusBar.Flags" type="dword" data="00000002"/>
|
||||
<value name="StatusFontFace" type="string" data="Segoe UI"/>
|
||||
<value name="StatusFontCharSet" type="dword" data="00000000"/>
|
||||
<value name="StatusBar.Color.Back" type="dword" data="00423607"/>
|
||||
<value name="StatusBar.Color.Light" type="dword" data="00e3f6fd"/>
|
||||
<value name="StatusBar.Color.Dark" type="dword" data="00a1a193"/>
|
||||
<value name="StatusBar.Hide.VCon" type="hex" data="00"/>
|
||||
<value name="StatusBar.Hide.CapsL" type="hex" data="00"/>
|
||||
<value name="StatusBar.Hide.NumL" type="hex" data="00"/>
|
||||
<value name="StatusBar.Hide.ScrL" type="hex" data="00"/>
|
||||
<value name="StatusBar.Hide.VisL" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.Lang" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.KeyHooks" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.WPos" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.WSize" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.WClient" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.WWork" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.WVBack" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.WVDC" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.Style" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.StyleEx" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.hFore" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.hFocus" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.Zoom" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.Dpi" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.ABuf" type="hex" data="00"/>
|
||||
<value name="StatusBar.Hide.CPos" type="hex" data="00"/>
|
||||
<value name="StatusBar.Hide.CSize" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.BSize" type="hex" data="00"/>
|
||||
<value name="StatusBar.Hide.CurX" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.CurY" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.CurS" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.CurI" type="hex" data="00"/>
|
||||
<value name="StatusBar.Hide.ConEmuPID" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.ConEmuHWND" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.ConEmuView" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.Srv" type="hex" data="00"/>
|
||||
<value name="StatusBar.Hide.SrvHWND" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.Transparency" type="hex" data="00"/>
|
||||
<value name="StatusBar.Hide.New" type="hex" data="00"/>
|
||||
<value name="StatusBar.Hide.Sync" type="hex" data="00"/>
|
||||
<value name="StatusBar.Hide.Proc" type="hex" data="00"/>
|
||||
<value name="StatusBar.Hide.Title" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.Time" type="hex" data="01"/>
|
||||
<value name="StatusBar.Hide.Resize" type="hex" data="00"/>
|
||||
<value name="Tabs" type="hex" data="01"/>
|
||||
<value name="TabsLocation" type="hex" data="00"/>
|
||||
<value name="TabIcons" type="hex" data="01"/>
|
||||
<value name="OneTabPerGroup" type="hex" data="00"/>
|
||||
<value name="ActivateSplitMouseOver" type="hex" data="01"/>
|
||||
<value name="TabSelf" type="hex" data="01"/>
|
||||
<value name="TabLazy" type="hex" data="01"/>
|
||||
<value name="TabFlashChanged" type="dword" data="00000008"/>
|
||||
<value name="TabRecent" type="hex" data="01"/>
|
||||
<value name="TabDblClick" type="dword" data="00000001"/>
|
||||
<value name="TabBtnDblClick" type="dword" data="00000000"/>
|
||||
<value name="TabsOnTaskBar" type="hex" data="02"/>
|
||||
<value name="TaskBarOverlay" type="hex" data="01"/>
|
||||
<value name="TaskbarProgress" type="hex" data="01"/>
|
||||
<value name="TabCloseMacro" type="string" data=""/>
|
||||
<value name="TabFontFace" type="string" data="Segoe UI"/>
|
||||
<value name="TabFontCharSet" type="dword" data="00000000"/>
|
||||
<value name="SaveAllEditors" type="string" data=""/>
|
||||
<value name="ToolbarAddSpace" type="dword" data="00000000"/>
|
||||
<value name="TabConsole" type="string" data="<%c> %s"/>
|
||||
<value name="TabModifiedSuffix" type="string" data="[*]"/>
|
||||
<value name="TabSkipWords" type="string" data="Administrator:|Администратор:"/>
|
||||
<value name="TabPanels" type="string" data="<%c> %s"/>
|
||||
<value name="TabEditor" type="string" data="<%c.%i>{%s}"/>
|
||||
<value name="TabEditorModified" type="string" data="<%c.%i>[%s] *"/>
|
||||
<value name="TabViewer" type="string" data="<%c.%i>[%s]"/>
|
||||
<value name="TabLenMax" type="dword" data="00000014"/>
|
||||
<value name="AdminTitleSuffix" type="string" data=" (Admin)"/>
|
||||
<value name="AdminShowShield" type="hex" data="01"/>
|
||||
<value name="HideInactiveConsoleTabs" type="hex" data="00"/>
|
||||
<value name="ShowFarWindows" type="hex" data="01"/>
|
||||
<value name="TryToCenter" type="hex" data="00"/>
|
||||
<value name="CenterConsolePad" type="dword" data="00000000"/>
|
||||
<value name="ShowScrollbar" type="hex" data="02"/>
|
||||
<value name="ScrollBarAppearDelay" type="dword" data="00000064"/>
|
||||
<value name="ScrollBarDisappearDelay" type="dword" data="000003e8"/>
|
||||
<value name="IconID" type="dword" data="00000001"/>
|
||||
<value name="MainTimerElapse" type="dword" data="0000000a"/>
|
||||
<value name="MainTimerInactiveElapse" type="dword" data="000003e8"/>
|
||||
<value name="AffinityMask" type="dword" data="00000000"/>
|
||||
<value name="SkipFocusEvents" type="hex" data="00"/>
|
||||
<value name="MonitorConsoleLang" type="hex" data="03"/>
|
||||
<value name="DesktopMode" type="hex" data="00"/>
|
||||
<value name="SnapToDesktopEdges" type="hex" data="00"/>
|
||||
<value name="AlwaysOnTop" type="hex" data="00"/>
|
||||
<value name="SleepInBackground" type="hex" data="00"/>
|
||||
<value name="RetardInactivePanes" type="hex" data="00"/>
|
||||
<value name="MinimizeOnLoseFocus" type="hex" data="00"/>
|
||||
<value name="DisableFarFlashing" type="hex" data="00"/>
|
||||
<value name="DisableAllFlashing" type="hex" data="00"/>
|
||||
<value name="FindText" type="string" data=""/>
|
||||
<value name="FindMatchCase" type="hex" data="00"/>
|
||||
<value name="FindMatchWholeWords" type="hex" data="00"/>
|
||||
<value name="FindTransparent" type="hex" data="01"/>
|
||||
<value name="PanView.BackColor" type="dword" data="30ffffff"/>
|
||||
<value name="PanView.PFrame" type="dword" data="00000001"/>
|
||||
<value name="PanView.PFrameColor" type="dword" data="28808080"/>
|
||||
<value name="PanView.SFrame" type="dword" data="00000001"/>
|
||||
<value name="PanView.SFrameColor" type="dword" data="07c0c0c0"/>
|
||||
<value name="PanView.Thumbs.ImgSize" type="dword" data="00000060"/>
|
||||
<value name="PanView.Thumbs.SpaceX1" type="dword" data="00000001"/>
|
||||
<value name="PanView.Thumbs.SpaceY1" type="dword" data="00000001"/>
|
||||
<value name="PanView.Thumbs.SpaceX2" type="dword" data="00000005"/>
|
||||
<value name="PanView.Thumbs.SpaceY2" type="dword" data="00000014"/>
|
||||
<value name="PanView.Thumbs.LabelSpacing" type="dword" data="00000002"/>
|
||||
<value name="PanView.Thumbs.LabelPadding" type="dword" data="00000000"/>
|
||||
<value name="PanView.Thumbs.FontName" type="string" data="Segoe UI"/>
|
||||
<value name="PanView.Thumbs.FontHeight" type="dword" data="0000000e"/>
|
||||
<value name="PanView.Tiles.ImgSize" type="dword" data="00000030"/>
|
||||
<value name="PanView.Tiles.SpaceX1" type="dword" data="00000004"/>
|
||||
<value name="PanView.Tiles.SpaceY1" type="dword" data="00000004"/>
|
||||
<value name="PanView.Tiles.SpaceX2" type="dword" data="000000ac"/>
|
||||
<value name="PanView.Tiles.SpaceY2" type="dword" data="00000004"/>
|
||||
<value name="PanView.Tiles.LabelSpacing" type="dword" data="00000004"/>
|
||||
<value name="PanView.Tiles.LabelPadding" type="dword" data="00000001"/>
|
||||
<value name="PanView.Tiles.FontName" type="string" data="Segoe UI"/>
|
||||
<value name="PanView.Tiles.FontHeight" type="dword" data="0000000e"/>
|
||||
<value name="PanView.LoadPreviews" type="hex" data="03"/>
|
||||
<value name="PanView.LoadFolders" type="hex" data="01"/>
|
||||
<value name="PanView.LoadTimeout" type="dword" data="0000000f"/>
|
||||
<value name="PanView.MaxZoom" type="dword" data="00000258"/>
|
||||
<value name="PanView.UsePicView2" type="hex" data="01"/>
|
||||
<value name="PanView.RestoreOnStartup" type="hex" data="00"/>
|
||||
<value name="Update.VerLocation" type="string" data=""/>
|
||||
<value name="Update.UseProxy" type="hex" data="00"/>
|
||||
<value name="Update.Proxy" type="string" data=""/>
|
||||
<value name="Update.ProxyUser" type="string" data=""/>
|
||||
<value name="Update.ProxyPassword" type="string" data=""/>
|
||||
<value name="Update.ExeCmdLine" type="string" data=""/>
|
||||
<value name="Update.ArcCmdLine" type="string" data=""/>
|
||||
<value name="Update.DownloadPath" type="string" data="%TEMP%\ConEmu"/>
|
||||
<value name="Update.LeavePackages" type="hex" data="00"/>
|
||||
<value name="Update.PostUpdateCmd" type="string" data="echo Last successful update>ConEmuUpdate.info && date /t>>ConEmuUpdate.info && time /t>>ConEmuUpdate.info"/>
|
||||
<value name="Multi.Modifier" type="dword" data="0000005b"/>
|
||||
<value name="Multi.ArrowsModifier" type="dword" data="0000005b"/>
|
||||
<value name="KeyMacroVersion" type="hex" data="02"/>
|
||||
<value name="MinimizeRestore" type="dword" data="000011c0"/>
|
||||
<value name="MinimizeRestore2" type="dword" data="00000000"/>
|
||||
<value name="GlobalRestore" type="dword" data="00000000"/>
|
||||
<value name="ForcedFullScreen" type="dword" data="12115b0d"/>
|
||||
<value name="SwitchGuiFocus" type="dword" data="00005b5a"/>
|
||||
<value name="SetFocusGui" type="dword" data="00000000"/>
|
||||
<value name="SetFocusChild" type="dword" data="00000000"/>
|
||||
<value name="ChildSystemMenu" type="dword" data="00000000"/>
|
||||
<value name="Multi.NewConsole" type="dword" data="00005b57"/>
|
||||
<value name="Multi.NewConsoleShift" type="dword" data="00105b57"/>
|
||||
<value name="Multi.CmdKey" type="dword" data="00005b58"/>
|
||||
<value name="Multi.NewWindow" type="dword" data="00000000"/>
|
||||
<value name="Multi.NewConsolePopup" type="dword" data="00005b4e"/>
|
||||
<value name="Multi.NewConsolePopup2" type="dword" data="00000000"/>
|
||||
<value name="Multi.NewAttach" type="dword" data="00005b47"/>
|
||||
<value name="Multi.NewSplitV" type="dword" data="0010114f"/>
|
||||
<value name="Multi.NewSplitH" type="dword" data="00101145"/>
|
||||
<value name="Multi.SplitMaximize" type="dword" data="00005d0d"/>
|
||||
<value name="Multi.SplitSizeVU" type="dword" data="00105d26"/>
|
||||
<value name="Multi.SplitSizeVD" type="dword" data="00105d28"/>
|
||||
<value name="Multi.SplitSizeHL" type="dword" data="00105d25"/>
|
||||
<value name="Multi.SplitSizeHR" type="dword" data="00105d27"/>
|
||||
<value name="Key.TabPane1" type="dword" data="00005d09"/>
|
||||
<value name="Key.TabPane2" type="dword" data="00105d09"/>
|
||||
<value name="Multi.SplitFocusU" type="dword" data="00005d26"/>
|
||||
<value name="Multi.SplitFocusD" type="dword" data="00005d28"/>
|
||||
<value name="Multi.SplitFocusL" type="dword" data="00005d25"/>
|
||||
<value name="Multi.SplitFocusR" type="dword" data="00005d27"/>
|
||||
<value name="Multi.Next" type="dword" data="00005b51"/>
|
||||
<value name="Multi.NextShift" type="dword" data="00105b51"/>
|
||||
<value name="Multi.Recreate" type="dword" data="00005bc0"/>
|
||||
<value name="Multi.AltCon" type="dword" data="00005b41"/>
|
||||
<value name="Multi.Pause" type="dword" data="80808013"/>
|
||||
<value name="Multi.Scroll" type="dword" data="00000000"/>
|
||||
<value name="Multi.GroupInput" type="dword" data="00005d47"/>
|
||||
<value name="Multi.Close" type="dword" data="00005b2e"/>
|
||||
<value name="CloseTabKey" type="dword" data="00125b2e"/>
|
||||
<value name="CloseGroupKey" type="dword" data="00115b2e"/>
|
||||
<value name="CloseGroupPrcKey" type="dword" data="00000000"/>
|
||||
<value name="CloseAllConKey" type="dword" data="00000000"/>
|
||||
<value name="CloseZombiesKey" type="dword" data="00000000"/>
|
||||
<value name="CloseExceptConKey" type="dword" data="00000000"/>
|
||||
<value name="KillProcessKey" type="dword" data="00000000"/>
|
||||
<value name="KillAllButShellKey" type="dword" data="00105b2e"/>
|
||||
<value name="DuplicateRootKey" type="dword" data="00005b53"/>
|
||||
<value name="CloseConEmuKey" type="dword" data="00005b73"/>
|
||||
<value name="Multi.Rename" type="dword" data="00005d52"/>
|
||||
<value name="AffinityPriorityKey" type="dword" data="00005d41"/>
|
||||
<value name="Multi.MoveLeft" type="dword" data="00125b25"/>
|
||||
<value name="Multi.MoveRight" type="dword" data="00125b27"/>
|
||||
<value name="CTS.VkBlockStart" type="dword" data="00000000"/>
|
||||
<value name="CTS.VkTextStart" type="dword" data="00000000"/>
|
||||
<value name="CTS.VkCopyFmt0" type="dword" data="00001143"/>
|
||||
<value name="CTS.VkCopyFmt1" type="dword" data="00101143"/>
|
||||
<value name="CTS.VkCopyFmt2" type="dword" data="00000000"/>
|
||||
<value name="CTS.VkCopyAll" type="dword" data="00000000"/>
|
||||
<value name="HighlightMouseSwitch" type="dword" data="00005d4c"/>
|
||||
<value name="HighlightMouseSwitchX" type="dword" data="00005d58"/>
|
||||
<value name="Multi.ShowTabsList" type="dword" data="00000000"/>
|
||||
<value name="Multi.ShowTabsList2" type="dword" data="00005d7b"/>
|
||||
<value name="ClipboardVkAllLines" type="dword" data="0000102d"/>
|
||||
<value name="ClipboardVkFirstLine" type="dword" data="00001156"/>
|
||||
<value name="DeleteWordToLeft" type="dword" data="00001108"/>
|
||||
<value name="FindTextKey" type="dword" data="00005d46"/>
|
||||
<value name="ScreenshotKey" type="dword" data="00005b48"/>
|
||||
<value name="ScreenshotFullKey" type="dword" data="00105b48"/>
|
||||
<value name="ShowStatusBarKey" type="dword" data="00005d53"/>
|
||||
<value name="ShowTabBarKey" type="dword" data="00005d54"/>
|
||||
<value name="ShowCaptionKey" type="dword" data="00005d43"/>
|
||||
<value name="AlwaysOnTopKey" type="dword" data="00000000"/>
|
||||
<value name="TransparencyInc" type="dword" data="00000000"/>
|
||||
<value name="TransparencyDec" type="dword" data="00000000"/>
|
||||
<value name="Key.TabMenu" type="dword" data="00005d20"/>
|
||||
<value name="Key.TabMenu2" type="dword" data="00001002"/>
|
||||
<value name="Key.Maximize" type="dword" data="00001278"/>
|
||||
<value name="Key.MaximizeWidth" type="dword" data="00105b28"/>
|
||||
<value name="Key.MaximizeHeight" type="dword" data="00105b26"/>
|
||||
<value name="Key.TileToLeft" type="dword" data="00005b25"/>
|
||||
<value name="Key.TileToRight" type="dword" data="00005b27"/>
|
||||
<value name="Key.JumpPrevMonitor" type="dword" data="00105b25"/>
|
||||
<value name="Key.JumpNextMonitor" type="dword" data="00105b27"/>
|
||||
<value name="Key.FullScreen" type="dword" data="0000120d"/>
|
||||
<value name="Key.SysMenu" type="dword" data="00001220"/>
|
||||
<value name="Key.SysMenu2" type="dword" data="00001102"/>
|
||||
<value name="Key.BufUp" type="dword" data="00001126"/>
|
||||
<value name="Key.BufDn" type="dword" data="00001128"/>
|
||||
<value name="Key.BufPgUp" type="dword" data="00001121"/>
|
||||
<value name="Key.BufPgDn" type="dword" data="00001122"/>
|
||||
<value name="Key.BufHfPgUp" type="dword" data="00005d21"/>
|
||||
<value name="Key.BufHfPgDn" type="dword" data="00005d22"/>
|
||||
<value name="Key.BufTop" type="dword" data="00005d24"/>
|
||||
<value name="Key.BufBottom" type="dword" data="00005d23"/>
|
||||
<value name="Key.BufCursor" type="dword" data="00005d08"/>
|
||||
<value name="FontLargerKey" type="dword" data="000011d0"/>
|
||||
<value name="FontSmallerKey" type="dword" data="000011d1"/>
|
||||
<value name="FontOriginalKey" type="dword" data="00001104"/>
|
||||
<value name="PasteFileKey" type="dword" data="00101146"/>
|
||||
<value name="PastePathKey" type="dword" data="00101144"/>
|
||||
<value name="PasteCygwinKey" type="dword" data="00005d2d"/>
|
||||
<value name="KeyMacro01" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro01.Text" type="string" data=""/>
|
||||
<value name="KeyMacro02" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro02.Text" type="string" data=""/>
|
||||
<value name="KeyMacro03" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro03.Text" type="string" data=""/>
|
||||
<value name="KeyMacro04" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro04.Text" type="string" data=""/>
|
||||
<value name="KeyMacro05" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro05.Text" type="string" data=""/>
|
||||
<value name="KeyMacro06" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro06.Text" type="string" data=""/>
|
||||
<value name="KeyMacro07" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro07.Text" type="string" data=""/>
|
||||
<value name="KeyMacro08" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro08.Text" type="string" data=""/>
|
||||
<value name="KeyMacro09" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro09.Text" type="string" data=""/>
|
||||
<value name="KeyMacro10" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro10.Text" type="string" data=""/>
|
||||
<value name="KeyMacro11" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro11.Text" type="string" data=""/>
|
||||
<value name="KeyMacro12" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro12.Text" type="string" data=""/>
|
||||
<value name="KeyMacro13" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro13.Text" type="string" data=""/>
|
||||
<value name="KeyMacro14" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro14.Text" type="string" data=""/>
|
||||
<value name="KeyMacro15" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro15.Text" type="string" data=""/>
|
||||
<value name="KeyMacro16" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro16.Text" type="string" data=""/>
|
||||
<value name="KeyMacro17" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro17.Text" type="string" data=""/>
|
||||
<value name="KeyMacro18" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro18.Text" type="string" data=""/>
|
||||
<value name="KeyMacro19" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro19.Text" type="string" data=""/>
|
||||
<value name="KeyMacro20" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro20.Text" type="string" data=""/>
|
||||
<value name="KeyMacro21" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro21.Text" type="string" data=""/>
|
||||
<value name="KeyMacro22" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro22.Text" type="string" data=""/>
|
||||
<value name="KeyMacro23" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro23.Text" type="string" data=""/>
|
||||
<value name="KeyMacro24" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro24.Text" type="string" data=""/>
|
||||
<value name="KeyMacro25" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro25.Text" type="string" data=""/>
|
||||
<value name="KeyMacro26" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro26.Text" type="string" data=""/>
|
||||
<value name="KeyMacro27" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro27.Text" type="string" data=""/>
|
||||
<value name="KeyMacro28" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro28.Text" type="string" data=""/>
|
||||
<value name="KeyMacro29" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro29.Text" type="string" data=""/>
|
||||
<value name="KeyMacro30" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro30.Text" type="string" data=""/>
|
||||
<value name="KeyMacro31" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro31.Text" type="string" data=""/>
|
||||
<value name="KeyMacro32" type="dword" data="00000000"/>
|
||||
<value name="KeyMacro32.Text" type="string" data=""/>
|
||||
<value name="CTS.VkBlock" type="hex" data="a4"/>
|
||||
<value name="CTS.VkText" type="hex" data="a0"/>
|
||||
<value name="CTS.VkAct" type="hex" data="00"/>
|
||||
<value name="CTS.VkPrompt" type="hex" data="00"/>
|
||||
<value name="FarGotoEditorVk" type="hex" data="a2"/>
|
||||
<value name="DndLKey" type="hex" data="00"/>
|
||||
<value name="DndRKey" type="hex" data="a2"/>
|
||||
<value name="WndDragKey" type="dword" data="00121101"/>
|
||||
<key name="Tasks" modified="2015-02-25 12:17:02" build="150224a">
|
||||
<value name="Count" type="dword" data="00000000"/>
|
||||
</key>
|
||||
<key name="Apps" modified="2015-02-25 12:17:02" build="150224a">
|
||||
<value name="Count" type="dword" data="00000000"/>
|
||||
</key>
|
||||
<key name="Colors" modified="2015-02-25 12:17:02" build="150224a">
|
||||
<value name="Count" type="dword" data="00000000"/>
|
||||
</key>
|
||||
</key>
|
||||
|
||||
<!-- Named configurations (choosed by /config argument) are placed in subkeys -->
|
||||
<!--
|
||||
<key name="test">
|
||||
<value name="TabMargins" type="hex" data="00,00,00,00,19,00,00,00,00,00,00,00,00,00,00,00"/>
|
||||
<value name="CmdLineHistory" type="multi"><line data="cmd"/><line data="telnet"/></value>
|
||||
</key>
|
||||
-->
|
||||
</key>
|
||||
</key>
|
||||
@@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Rename this file to "ConEmu.xml" to enable portable mode.
|
||||
You may place "ConEmu.xml" file AFTER ConEmu starts,
|
||||
so You can save settings to xml, loaded from registry,
|
||||
and vice versa.
|
||||
-->
|
||||
<key name="Software">
|
||||
<key name="ConEmu">
|
||||
<key name=".Vanilla">
|
||||
<value name="StartType" type="hex" data="02"/>
|
||||
<value name="StartTasksName" type="string" data="{cmd}"/>
|
||||
|
||||
<!--Use slightly modified Monokai color scheme by default-->
|
||||
<value name="ColorTable00" type="dword" data="00222827"/>
|
||||
<value name="ColorTable01" type="dword" data="009e5401"/>
|
||||
<value name="ColorTable02" type="dword" data="0004aa74"/>
|
||||
<value name="ColorTable03" type="dword" data="00a6831a"/>
|
||||
<value name="ColorTable04" type="dword" data="003403a7"/>
|
||||
<value name="ColorTable05" type="dword" data="009c5689"/>
|
||||
<value name="ColorTable06" type="dword" data="0049b6b6"/>
|
||||
<value name="ColorTable07" type="dword" data="00cacaca"/>
|
||||
<value name="ColorTable08" type="dword" data="007c7c7c"/>
|
||||
<value name="ColorTable09" type="dword" data="00f58303"/>
|
||||
<value name="ColorTable10" type="dword" data="0006d08d"/>
|
||||
<value name="ColorTable11" type="dword" data="00e5c258"/>
|
||||
<value name="ColorTable12" type="dword" data="004b04f3"/>
|
||||
<value name="ColorTable13" type="dword" data="00b87da8"/>
|
||||
<value name="ColorTable14" type="dword" data="0081cccc"/>
|
||||
<value name="ColorTable15" type="dword" data="00ffffff"/>
|
||||
<value name="SingleInstance" type="hex" data="01"/>
|
||||
<value name="Multi.DupConfirm" type="hex" data="00"/>
|
||||
<value name="Multi.DetachConfirm" type="hex" data="00"/>
|
||||
<value name="AlphaValue" type="hex" data="d9"/>
|
||||
|
||||
<!--Value ‘00’ forces ‘Fast configuration’ dialog to be shown on first start-->
|
||||
<value name="KeyboardHooks" type="hex" data="00"/>
|
||||
|
||||
<value name="AlphaValueSeparate" type="hex" data="00"/>
|
||||
<value name="ConWnd Width" type="dword" data="02000046"/>
|
||||
<value name="ConWnd Height" type="dword" data="02000028"/>
|
||||
<value name="Cascaded" type="hex" data="01"/>
|
||||
<value name="AutoSaveSizePos" type="hex" data="00"/>
|
||||
<value name="IntegralSize" type="hex" data="00"/>
|
||||
<value name="QuakeStyle" type="hex" data="01"/>
|
||||
<value name="QuakeAnimation" type="dword" data="0000012c"/>
|
||||
<value name="HideCaptionAlwaysFrame" type="hex" data="00"/>
|
||||
<value name="Min2Tray" type="hex" data="01"/>
|
||||
<value name="StatusBar.Show" type="hex" data="00"/>
|
||||
<!--TabBar will be shown if more than one tab is created-->
|
||||
<value name="Tabs" type="hex" data="02"/>
|
||||
<!--Two following settings will make a 6-pixel pad around console working area-->
|
||||
<value name="TryToCenter" type="hex" data="01"/>
|
||||
<value name="CenterConsolePad" type="dword" data="00000006"/>
|
||||
<!--Update settings are default and disabled-->
|
||||
<value name="Update.CheckOnStartup" type="hex" data="00"/>
|
||||
<value name="Update.CheckHourly" type="hex" data="00"/>
|
||||
<value name="Update.UseBuilds" type="hex" data="02"/>
|
||||
<!--Few hotkeys are redefined-->
|
||||
<key name="HotKeys">
|
||||
<value name="KeyMacroVersion" type="hex" data="02"/>
|
||||
<!--Sets a single ‘tilda’ or ‘`’ key for ConEmu slide up/down-->
|
||||
<value name="MinimizeRestore" type="dword" data="808080c0"/>
|
||||
<value name="Multi.Recreate" type="dword" data="00105bc0"/>
|
||||
<value name="Multi.Scroll" type="dword" data="00005b53"/>
|
||||
<value name="DuplicateRootKey" type="dword" data="00005bbb"/>
|
||||
<value name="Multi.ShowTabsList" type="dword" data="8080807b"/>
|
||||
<!--Ctrl+D will type ‘exit’ followed by ‘Enter’, user have to disable it if using clink-->
|
||||
<value name="KeyMacro01" type="dword" data="00001144"/>
|
||||
<value name="KeyMacro01.Text" type="string" data="print("exit\n")"/>
|
||||
</key>
|
||||
</key>
|
||||
</key>
|
||||
</key>
|
||||
@@ -0,0 +1,249 @@
|
||||
# This is the configurationfile for DOSBox 0.74. (Please use the latest version of DOSBox)
|
||||
# Lines starting with a # are commentlines and are ignored by DOSBox.
|
||||
# They are used to (briefly) document the effect of each option.
|
||||
|
||||
[sdl]
|
||||
# fullscreen: Start dosbox directly in fullscreen. (Press ALT-Enter to go back)
|
||||
# fulldouble: Use double buffering in fullscreen. It can reduce screen flickering, but it can also result in a slow DOSBox.
|
||||
# fullresolution: What resolution to use for fullscreen: original or fixed size (e.g. 1024x768).
|
||||
# Using your monitor's native resolution with aspect=true might give the best results.
|
||||
# If you end up with small window on a large screen, try an output different from surface.
|
||||
# windowresolution: Scale the window to this size IF the output device supports hardware scaling.
|
||||
# (output=surface does not!)
|
||||
# output: What video system to use for output.
|
||||
# Possible values: surface, overlay, opengl, openglnb, ddraw.
|
||||
# autolock: Mouse will automatically lock, if you click on the screen. (Press CTRL-F10 to unlock)
|
||||
# sensitivity: Mouse sensitivity.
|
||||
# waitonerror: Wait before closing the console if dosbox has an error.
|
||||
# priority: Priority levels for dosbox. Second entry behind the comma is for when dosbox is not focused/minimized.
|
||||
# pause is only valid for the second entry.
|
||||
# Possible values: lowest, lower, normal, higher, highest, pause.
|
||||
# mapperfile: File used to load/save the key/event mappings from. Resetmapper only works with the defaul value.
|
||||
# usescancodes: Avoid usage of symkeys, might not work on all operating systems.
|
||||
|
||||
fullscreen=false
|
||||
fulldouble=false
|
||||
fullresolution=original
|
||||
windowresolution=original
|
||||
#output=surface
|
||||
output=ddraw
|
||||
autolock=true
|
||||
sensitivity=100
|
||||
waitonerror=true
|
||||
priority=higher,normal
|
||||
mapperfile=mapper-0.74.map
|
||||
usescancodes=true
|
||||
|
||||
[dosbox]
|
||||
# language: Select another language file.
|
||||
# machine: The type of machine tries to emulate.
|
||||
# Possible values: hercules, cga, tandy, pcjr, ega, vgaonly, svga_s3, svga_et3000, svga_et4000, svga_paradise, vesa_nolfb, vesa_oldvbe.
|
||||
# captures: Directory where things like wave, midi, screenshot get captured.
|
||||
# memsize: Amount of memory DOSBox has in megabytes.
|
||||
# This value is best left at its default to avoid problems with some games,
|
||||
# though few games might require a higher value.
|
||||
# There is generally no speed advantage when raising this value.
|
||||
|
||||
language=
|
||||
machine=svga_s3
|
||||
captures=capture
|
||||
memsize=16
|
||||
|
||||
[render]
|
||||
# frameskip: How many frames DOSBox skips before drawing one.
|
||||
# aspect: Do aspect correction, if your output method doesn't support scaling this can slow things down!.
|
||||
# scaler: Scaler used to enlarge/enhance low resolution modes.
|
||||
# If 'forced' is appended, then the scaler will be used even if the result might not be desired.
|
||||
# Possible values: none, normal2x, normal3x, advmame2x, advmame3x, advinterp2x, advinterp3x, hq2x, hq3x, 2xsai, super2xsai, supereagle, tv2x, tv3x, rgb2x, rgb3x, scan2x, scan3x.
|
||||
|
||||
frameskip=0
|
||||
#aspect=false
|
||||
aspect=5:4
|
||||
scaler=normal2x
|
||||
|
||||
[cpu]
|
||||
# core: CPU Core used in emulation. auto will switch to dynamic if available and appropriate.
|
||||
# Possible values: auto, dynamic, normal, simple.
|
||||
# cputype: CPU Type used in emulation. auto is the fastest choice.
|
||||
# Possible values: auto, 386, 386_slow, 486_slow, pentium_slow, 386_prefetch.
|
||||
# cycles: Amount of instructions DOSBox tries to emulate each millisecond.
|
||||
# Setting this value too high results in sound dropouts and lags.
|
||||
# Cycles can be set in 3 ways:
|
||||
# 'auto' tries to guess what a game needs.
|
||||
# It usually works, but can fail for certain games.
|
||||
# 'fixed #number' will set a fixed amount of cycles. This is what you usually need if 'auto' fails.
|
||||
# (Example: fixed 4000).
|
||||
# 'max' will allocate as much cycles as your computer is able to handle.
|
||||
#
|
||||
# Possible values: auto, fixed, max.
|
||||
# cycleup: Amount of cycles to decrease/increase with keycombo.(CTRL-F11/CTRL-F12)
|
||||
# cycledown: Setting it lower than 100 will be a percentage.
|
||||
|
||||
core=auto
|
||||
cputype=auto
|
||||
cycles=auto
|
||||
cycleup=10
|
||||
cycledown=20
|
||||
|
||||
[mixer]
|
||||
# nosound: Enable silent mode, sound is still emulated though.
|
||||
# rate: Mixer sample rate, setting any device's rate higher than this will probably lower their sound quality.
|
||||
# Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
|
||||
# blocksize: Mixer block size, larger blocks might help sound stuttering but sound will also be more lagged.
|
||||
# Possible values: 1024, 2048, 4096, 8192, 512, 256.
|
||||
# prebuffer: How many milliseconds of data to keep on top of the blocksize.
|
||||
|
||||
nosound=false
|
||||
rate=44100
|
||||
blocksize=1024
|
||||
prebuffer=20
|
||||
|
||||
[midi]
|
||||
# mpu401: Type of MPU-401 to emulate.
|
||||
# Possible values: intelligent, uart, none.
|
||||
# mididevice: Device that will receive the MIDI data from MPU-401.
|
||||
# Possible values: default, win32, alsa, oss, coreaudio, coremidi, none.
|
||||
# midiconfig: Special configuration options for the device driver. This is usually the id of the device you want to use.
|
||||
# See the README/Manual for more details.
|
||||
|
||||
mpu401=intelligent
|
||||
mididevice=default
|
||||
midiconfig=
|
||||
|
||||
[sblaster]
|
||||
# sbtype: Type of Soundblaster to emulate. gb is Gameblaster.
|
||||
# Possible values: sb1, sb2, sbpro1, sbpro2, sb16, gb, none.
|
||||
# sbbase: The IO address of the soundblaster.
|
||||
# Possible values: 220, 240, 260, 280, 2a0, 2c0, 2e0, 300.
|
||||
# irq: The IRQ number of the soundblaster.
|
||||
# Possible values: 7, 5, 3, 9, 10, 11, 12.
|
||||
# dma: The DMA number of the soundblaster.
|
||||
# Possible values: 1, 5, 0, 3, 6, 7.
|
||||
# hdma: The High DMA number of the soundblaster.
|
||||
# Possible values: 1, 5, 0, 3, 6, 7.
|
||||
# sbmixer: Allow the soundblaster mixer to modify the DOSBox mixer.
|
||||
# oplmode: Type of OPL emulation. On 'auto' the mode is determined by sblaster type. All OPL modes are Adlib-compatible, except for 'cms'.
|
||||
# Possible values: auto, cms, opl2, dualopl2, opl3, none.
|
||||
# oplemu: Provider for the OPL emulation. compat might provide better quality (see oplrate as well).
|
||||
# Possible values: default, compat, fast.
|
||||
# oplrate: Sample rate of OPL music emulation. Use 49716 for highest quality (set the mixer rate accordingly).
|
||||
# Possible values: 44100, 49716, 48000, 32000, 22050, 16000, 11025, 8000.
|
||||
|
||||
sbtype=sb16
|
||||
sbbase=220
|
||||
irq=7
|
||||
dma=1
|
||||
hdma=5
|
||||
sbmixer=true
|
||||
oplmode=auto
|
||||
oplemu=default
|
||||
oplrate=44100
|
||||
|
||||
[gus]
|
||||
# gus: Enable the Gravis Ultrasound emulation.
|
||||
# gusrate: Sample rate of Ultrasound emulation.
|
||||
# Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
|
||||
# gusbase: The IO base address of the Gravis Ultrasound.
|
||||
# Possible values: 240, 220, 260, 280, 2a0, 2c0, 2e0, 300.
|
||||
# gusirq: The IRQ number of the Gravis Ultrasound.
|
||||
# Possible values: 5, 3, 7, 9, 10, 11, 12.
|
||||
# gusdma: The DMA channel of the Gravis Ultrasound.
|
||||
# Possible values: 3, 0, 1, 5, 6, 7.
|
||||
# ultradir: Path to Ultrasound directory. In this directory
|
||||
# there should be a MIDI directory that contains
|
||||
# the patch files for GUS playback. Patch sets used
|
||||
# with Timidity should work fine.
|
||||
|
||||
gus=false
|
||||
gusrate=44100
|
||||
gusbase=240
|
||||
gusirq=5
|
||||
gusdma=3
|
||||
ultradir=C:\ULTRASND
|
||||
|
||||
[speaker]
|
||||
# pcspeaker: Enable PC-Speaker emulation.
|
||||
# pcrate: Sample rate of the PC-Speaker sound generation.
|
||||
# Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
|
||||
# tandy: Enable Tandy Sound System emulation. For 'auto', emulation is present only if machine is set to 'tandy'.
|
||||
# Possible values: auto, on, off.
|
||||
# tandyrate: Sample rate of the Tandy 3-Voice generation.
|
||||
# Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
|
||||
# disney: Enable Disney Sound Source emulation. (Covox Voice Master and Speech Thing compatible).
|
||||
|
||||
pcspeaker=true
|
||||
pcrate=44100
|
||||
tandy=auto
|
||||
tandyrate=44100
|
||||
disney=true
|
||||
|
||||
[joystick]
|
||||
# joysticktype: Type of joystick to emulate: auto (default), none,
|
||||
# 2axis (supports two joysticks),
|
||||
# 4axis (supports one joystick, first joystick used),
|
||||
# 4axis_2 (supports one joystick, second joystick used),
|
||||
# fcs (Thrustmaster), ch (CH Flightstick).
|
||||
# none disables joystick emulation.
|
||||
# auto chooses emulation depending on real joystick(s).
|
||||
# (Remember to reset dosbox's mapperfile if you saved it earlier)
|
||||
# Possible values: auto, 2axis, 4axis, 4axis_2, fcs, ch, none.
|
||||
# timed: enable timed intervals for axis. Experiment with this option, if your joystick drifts (away).
|
||||
# autofire: continuously fires as long as you keep the button pressed.
|
||||
# swap34: swap the 3rd and the 4th axis. can be useful for certain joysticks.
|
||||
# buttonwrap: enable button wrapping at the number of emulated buttons.
|
||||
|
||||
joysticktype=auto
|
||||
timed=true
|
||||
autofire=false
|
||||
swap34=false
|
||||
buttonwrap=false
|
||||
|
||||
[serial]
|
||||
# serial1: set type of device connected to com port.
|
||||
# Can be disabled, dummy, modem, nullmodem, directserial.
|
||||
# Additional parameters must be in the same line in the form of
|
||||
# parameter:value. Parameter for all types is irq (optional).
|
||||
# for directserial: realport (required), rxdelay (optional).
|
||||
# (realport:COM1 realport:ttyS0).
|
||||
# for modem: listenport (optional).
|
||||
# for nullmodem: server, rxdelay, txdelay, telnet, usedtr,
|
||||
# transparent, port, inhsocket (all optional).
|
||||
# Example: serial1=modem listenport:5000
|
||||
# Possible values: dummy, disabled, modem, nullmodem, directserial.
|
||||
# serial2: see serial1
|
||||
# Possible values: dummy, disabled, modem, nullmodem, directserial.
|
||||
# serial3: see serial1
|
||||
# Possible values: dummy, disabled, modem, nullmodem, directserial.
|
||||
# serial4: see serial1
|
||||
# Possible values: dummy, disabled, modem, nullmodem, directserial.
|
||||
|
||||
serial1=dummy
|
||||
serial2=dummy
|
||||
serial3=disabled
|
||||
serial4=disabled
|
||||
|
||||
[dos]
|
||||
# xms: Enable XMS support.
|
||||
# ems: Enable EMS support.
|
||||
# umb: Enable UMB support.
|
||||
# keyboardlayout: Language code of the keyboard layout (or none).
|
||||
|
||||
xms=true
|
||||
ems=true
|
||||
umb=true
|
||||
keyboardlayout=auto
|
||||
|
||||
[ipx]
|
||||
# ipx: Enable ipx over UDP/IP emulation.
|
||||
|
||||
ipx=false
|
||||
|
||||
[autoexec]
|
||||
# Lines in this section will be run at startup.
|
||||
# You can put your MOUNT lines here.
|
||||
|
||||
#@mount C C:\
|
||||
#@mount D D:\
|
||||
#@mount E E:\
|
||||
@mount F F:\
|
||||
@mount V V:\ -t cdrom
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
You may browse Frequently Asked Questions online
|
||||
English: https://conemu.github.io/en/ConEmuFAQ.html
|
||||
Russian: https://conemu.github.io/ru/ConEmuFAQ.html
|
||||
|
||||
And ConEmu's documentation is here
|
||||
English: https://conemu.github.io/en/TableOfContents.html
|
||||
Russian: https://conemu.github.io/ru/TableOfContents.html
|
||||
@@ -0,0 +1,12 @@
|
||||
REGEDIT4
|
||||
|
||||
; Redirect output of console program to FAR editor.
|
||||
; Checkbox 'AltEnter' in ConEmu settings must be On.
|
||||
; Plugin 'Far commands' must be installed.
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far\KeyMacros\Shell\AltEnter]
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Shell\AltEnter]
|
||||
"Sequence"="CtrlHome e d i t : < Enter"
|
||||
"DisableOutput"=dword:00000001
|
||||
"Description"="Execute CmdLine and redirect output to Editor"
|
||||
"NotEmptyCommandLine"=dword:00000001
|
||||
@@ -0,0 +1,11 @@
|
||||
REGEDIT4
|
||||
|
||||
; Show properties for current item
|
||||
; Checkbox 'AltEnter' in ConEmu settings must be On.
|
||||
; Plugin 'EMenu' must be installed.
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far\KeyMacros\Shell\AltEnter]
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Shell\AltEnter]
|
||||
"Description"="Hotkey to execute properties command: Alt-Enter"
|
||||
"Sequence"="Esc r c l k _ c m d : p r o p e r t i e s Enter"
|
||||
"DisableOutput"=dword:00000001
|
||||
@@ -0,0 +1,11 @@
|
||||
REGEDIT4
|
||||
|
||||
; Description.
|
||||
; Create new console with ConEmu debugger on this instance of FAR
|
||||
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far\KeyMacros\Shell\CtrlAltD]
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Shell\CtrlAltD]
|
||||
"Sequence"="F11 $if (menu.Select(\"ConEmu\",2)<=0) MsgBox(\"ConEmu\",\"Plugin was not found in list!\",1) $Exit $end Enter 8"
|
||||
"Description"="Create new console with ConEmu debugger on this instance of FAR"
|
||||
"DisableOutput"=dword:00000001
|
||||
@@ -0,0 +1,16 @@
|
||||
REGEDIT4
|
||||
|
||||
; Description.
|
||||
; Show console output in editor (ConEmu)
|
||||
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far\KeyMacros\Shell\CtrlO]
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Shell\CtrlO]
|
||||
"Sequence"="F11 $if (menu.Select(\"ConEmu\",2)<=0) MsgBox(\"ConEmu\",\"Plugin was not found in list!\",1) $Exit $end Enter Enter CtrlEnd"
|
||||
"Description"="Show console output in editor (ConEmu)"
|
||||
"DisableOutput"=dword:00000001
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Shell\CtrlAltO]
|
||||
"Sequence"="CtrlO"
|
||||
"Description"="Hide/Show panels (standard FAR CtrlO)"
|
||||
"DisableOutput"=dword:00000001
|
||||
@@ -0,0 +1,16 @@
|
||||
REGEDIT4
|
||||
|
||||
; Description.
|
||||
; Show console output in viewer (ConEmu)
|
||||
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far\KeyMacros\Shell\CtrlO]
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Shell\CtrlO]
|
||||
"Sequence"="F11 $if (menu.Select(\"ConEmu\",2)<=0) MsgBox(\"ConEmu\",\"Plugin was not found in list!\",1) $Exit $end Enter Down Enter End"
|
||||
"Description"="Show console output in viewer (ConEmu)"
|
||||
"DisableOutput"=dword:00000001
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Shell\CtrlAltO]
|
||||
"Sequence"="CtrlO"
|
||||
"Description"="Hide/Show panels (standard FAR CtrlO)"
|
||||
"DisableOutput"=dword:00000001
|
||||
@@ -0,0 +1,11 @@
|
||||
REGEDIT4
|
||||
|
||||
; Description.
|
||||
; Switch ConEmu tabs visibility
|
||||
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far\KeyMacros\Common\CtrlShiftT]
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Common\CtrlShiftT]
|
||||
"Sequence"="F11 $if (menu.Select(\"ConEmu\",2)<=0) MsgBox(\"ConEmu\",\"Plugin was not found in list!\",1) $Exit $end Enter 3"
|
||||
"Description"="Switch ConEmu tabs visibility"
|
||||
"DisableOutput"=dword:00000001
|
||||
@@ -0,0 +1,11 @@
|
||||
REGEDIT4
|
||||
|
||||
; Description.
|
||||
; Autoattach Far manager to ConEmu GUI at startup
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Shell\CtrlAltDel]
|
||||
"Sequence"="F11 $if (menu.Select(\"ConEmu\",2)<=0) MsgBox(\"ConEmu\",\"Plugin was not found in list!\",1) $Exit $end Enter $if (menu.select(\"7.\",1)>0) Enter $else Esc $end"
|
||||
"RunAfterFARStart"=dword:00000001
|
||||
"DisableOutput"=dword:00000001
|
||||
"Description"="Autoattach FAR to ConEmu GUI"
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
REGEDIT4
|
||||
|
||||
; Note! This is just an example of calling GuiMacro from Far Manager
|
||||
; Note! Ctrl+Wheel may be already binded in ConEmu Keys&Macro settings
|
||||
|
||||
; Increase/decrease ConEmu GUI font size
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Common\AltMsWheelDown]
|
||||
"Sequence"="F11 $if (menu.Select(\"ConEmu\",2)<=0) MsgBox(\"ConEmu\",\"Plugin was not found in list!\",1) $Exit $end Enter $if (menu.select(\"~.\",1)>0) ~ $Text \"FontSetSize(1,-2)\" Enter $end Esc"
|
||||
"DisableOutput"=dword:00000001
|
||||
"Description"="ConEmu: Decrease GUI font size"
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Common\AltMsWheelUp]
|
||||
"Sequence"="F11 $if (menu.Select(\"ConEmu\",2)<=0) MsgBox(\"ConEmu\",\"Plugin was not found in list!\",1) $Exit $end Enter $if (menu.select(\"~.\",1)>0) ~ $Text \"FontSetSize(1,2)\" Enter $end Esc"
|
||||
"DisableOutput"=dword:00000001
|
||||
"Description"="ConEmu: Increase GUI font size"
|
||||
@@ -0,0 +1,20 @@
|
||||
REGEDIT4
|
||||
|
||||
; Description.
|
||||
; Run 'File under cursor' or 'Command line' in new console of ConEmu.
|
||||
; 'Press enter to close console' will be displayed after command completion.
|
||||
; Note! If you want to disable this confirmation, add ":n" after "-new_console"
|
||||
; below. I.e. " -new_console:bn" or " -new_console:n".
|
||||
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far\KeyMacros\Shell\ShiftEnter]
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Shell\ShiftEnter]
|
||||
"Sequence"="$if (!CmdLine.Empty) $if (CmdLine.Value==\".\" || CmdLine.Value==\"..\" || CmdLine.Value==\"...\") ShiftEnter $else End $Text \" -new_console\" Enter $end $else $if (APanel.FilePanel && !APanel.Plugin && !APanel.Empty && !APanel.Folder && len(APanel.Current)>4) %exec = ucase(env(\"PATHEXT\")); $if (%exec==\"\") %exec = \".COM;.EXE;.BAT;.CMD\"; $end %ext = ucase(fsplit(APanel.Current,8)); $if (%ext!=\"\" && index(\";\"+%exec+\";\",\";\"+%ext+\";\")>=0) CtrlEnter $Text \" -new_console\" Enter $else ShiftEnter $end $else ShiftEnter $end $end"
|
||||
"Description"="Run <Command line> or <File under cursor> in new console of ConEmu"
|
||||
"DisableOutput"=dword:00000001
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far\KeyMacros\Search\ShiftEnter]
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Search\ShiftEnter]
|
||||
"Sequence"="Esc $if (Shell && !Tree) CtrlEnter $Text \"-new_console\" Enter $else ShiftEnter $end"
|
||||
"DisableOutput"=dword:00000001
|
||||
"Description"="Run <File under cursor> in new console of ConEmu"
|
||||
@@ -0,0 +1,55 @@
|
||||
REGEDIT4
|
||||
|
||||
; Description.
|
||||
; Show all windows list from all consoles
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Vars]
|
||||
"%%ConEmu_TabList"="F11 $if (menu.Select(\"ConEmu\",2)<=0) MsgBox(\"ConEmu\",\"Plugin was not found in list!\",1) $Exit $end Enter T"
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far\KeyMacros\Shell\F12]
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Shell\F12]
|
||||
"Sequence"="eval(%%ConEmu_TabList)"
|
||||
"DisableOutput"=dword:00000001
|
||||
"Description"="Show all windows list from all consoles"
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far\KeyMacros\Search\F12]
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Search\F12]
|
||||
"Sequence"="eval(%%ConEmu_TabList)"
|
||||
"DisableOutput"=dword:00000001
|
||||
"Description"="Show all windows list from all consoles"
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far\KeyMacros\Dialog\F12]
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Dialog\F12]
|
||||
"Sequence"="eval(%%ConEmu_TabList)"
|
||||
"DisableOutput"=dword:00000001
|
||||
"Description"="Show all windows list from all consoles"
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far\KeyMacros\Editor\F12]
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Editor\F12]
|
||||
"Sequence"="eval(%%ConEmu_TabList)"
|
||||
"DisableOutput"=dword:00000001
|
||||
"Description"="Show all windows list from all consoles"
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far\KeyMacros\Viewer\F12]
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Viewer\F12]
|
||||
"Sequence"="eval(%%ConEmu_TabList)"
|
||||
"DisableOutput"=dword:00000001
|
||||
"Description"="Show all windows list from all consoles"
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far\KeyMacros\Info\F12]
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Info\F12]
|
||||
"Sequence"="eval(%%ConEmu_TabList)"
|
||||
"DisableOutput"=dword:00000001
|
||||
"Description"="Show all windows list from all consoles"
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far\KeyMacros\QView\F12]
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\QView\F12]
|
||||
"Sequence"="eval(%%ConEmu_TabList)"
|
||||
"DisableOutput"=dword:00000001
|
||||
"Description"="Show all windows list from all consoles"
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far\KeyMacros\Tree\F12]
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Tree\F12]
|
||||
"Sequence"="eval(%%ConEmu_TabList)"
|
||||
"DisableOutput"=dword:00000001
|
||||
"Description"="Show all windows list from all consoles"
|
||||
@@ -0,0 +1,18 @@
|
||||
REGEDIT4
|
||||
|
||||
; Description.
|
||||
; Switch ConEmu Panel Views mode.
|
||||
|
||||
|
||||
; Far1
|
||||
[-HKEY_CURRENT_USER\Software\Far\KeyMacros\Shell\CtrlShiftF1]
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Shell\CtrlShiftF1]
|
||||
"Sequence"="F11 $if (menu.Select(\"ConEmu Panel Views\",2)<=0) MsgBox(\"ConEmu Panel Views\",\"Plugin was not found in list!\",1) $Exit $end Enter Home Enter"
|
||||
"Description"="Switch Thumbnails view on active panel"
|
||||
"DisableOutput"=dword:00000001
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far\KeyMacros\Shell\CtrlShiftF2]
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyMacros\Shell\CtrlShiftF2]
|
||||
"Sequence"="F11 $if (menu.Select(\"ConEmu Panel Views\",2)<=0) MsgBox(\"ConEmu Panel Views\",\"Plugin was not found in list!\",1) $Exit $end Enter End Enter"
|
||||
"Description"="Switch Thumbnail view on active panel"
|
||||
"DisableOutput"=dword:00000001
|
||||
@@ -0,0 +1,13 @@
|
||||
REGEDIT4
|
||||
|
||||
; Description.
|
||||
; This FAR TechInfo's replace key bar label for macroses from Thumbnails.reg
|
||||
; CtrlShiftF1 - switches Thumbnails view, CtrlShiftF2 - Tiles view
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyBarLabels\English\Shell]
|
||||
"CtrlShiftF1"="Thumb"
|
||||
"CtrlShiftF2"="Tiles"
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Far\KeyBarLabels\Russian\Shell]
|
||||
"CtrlShiftF1"="�᪨§"
|
||||
"CtrlShiftF2"="�«¨âª "
|
||||
@@ -0,0 +1,46 @@
|
||||
|
||||
// This is sample macro-file for MacroLib plugin for Far Manager 2.x
|
||||
// You can download plugin here:
|
||||
// http://code.google.com/p/far-plugins/wiki/MacroLib
|
||||
|
||||
|
||||
//include "Consts.fmi"
|
||||
const ConEmu = 0x43454D55
|
||||
|
||||
macro Descr="ConEmu: Auto switch to Editor Tab"
|
||||
Key="F3 F4"
|
||||
Area="Shell Search"
|
||||
Cond="PanelType:0"
|
||||
{{
|
||||
%k = Key(#AKey);
|
||||
$if (!APanel.Empty && (APanel.Current!=".."))
|
||||
%s=APanel.Path;
|
||||
%s=%s+iif(substr(%s,len(%s)-1)=="\\","","\\")+APanel.Current;
|
||||
//MsgBox("Current item", %s)
|
||||
%c = substr(%k,len(%k)-1,1);
|
||||
%cmd = iif(%c=="4","FindEditor:","FindViewer:")+%s;
|
||||
%iRc=callplugin(#%ConEmu,%cmd);
|
||||
//MsgBox("EditOpen result", "callplugin="+%iRc+"\n<"+env("ConEmuMacroResult")+">")
|
||||
$if (%iRc!=0)
|
||||
%r = env("ConEmuMacroResult");
|
||||
$if (substr(%r,0,5)=="Found")
|
||||
$Exit // Ok
|
||||
$else $if (substr(%r,0,6)=="Active")
|
||||
F12 eval(substr(%r,7))
|
||||
$Exit // Ok
|
||||
$else $if (%r=="Blocked")
|
||||
// MsgBox("ConEmu macro","Tab can't be activated now\n"+%s);
|
||||
$end $end $end
|
||||
$end
|
||||
$end
|
||||
|
||||
//history.enable(0xF)
|
||||
$if (%k=="F4") F4 $else F3 $end
|
||||
|
||||
// As we get here, Far will try to open viewer or editor window.
|
||||
// But, it may be already opened in the current Far instance.
|
||||
// When it's exists, Far show messagebox with confirmation and buttons:
|
||||
// { Current } [ New instance ] [ Reload ]
|
||||
// Next macro line depress { Current } button
|
||||
$if (Dialog && Title=="Editor" && Dlg.ItemCount==7 && Dlg.CurPos==5 && Dlg.ItemType==7) Enter $end
|
||||
}}
|
||||
@@ -0,0 +1,23 @@
|
||||
|
||||
// This is sample macro-file for MacroLib plugin for Far Manager 2.x
|
||||
// You can download plugin here:
|
||||
// http://code.google.com/p/far-plugins/wiki/MacroLib
|
||||
|
||||
|
||||
// Note! This is just an example of calling GuiMacro from Far Manager
|
||||
// Note! Ctrl+Wheel may be already binded in ConEmu Keys&Macro settings
|
||||
|
||||
//include "Consts.fmi"
|
||||
const ConEmu = 0x43454D55
|
||||
|
||||
macro Descr="ConEmu: Increase ConEmu font size"
|
||||
Key="AltMsWheelUp"
|
||||
{{
|
||||
callplugin(#%ConEmu,"FontSetSize(1,2)")
|
||||
}}
|
||||
|
||||
macro Descr="ConEmu: Increase ConEmu font size"
|
||||
Key="AltMsWheelDown"
|
||||
{{
|
||||
callplugin(#%ConEmu,"FontSetSize(1,-2)")
|
||||
}}
|
||||
@@ -0,0 +1,18 @@
|
||||
|
||||
// This is sample macro-file for MacroLib plugin for Far Manager 2.x
|
||||
// You can download plugin here:
|
||||
// http://code.google.com/p/far-plugins/wiki/MacroLib
|
||||
|
||||
|
||||
//include "Consts.fmi"
|
||||
const ConEmu = 0x43454D55
|
||||
|
||||
macro Descr="ConEmu: Test GuiMacro" Key="AltShiftF12"
|
||||
{{
|
||||
F11
|
||||
$if (menu.select("ConEmu",2) > 0)
|
||||
Enter ~
|
||||
$else
|
||||
MsgBox("Error","ConEmu plugin was not found in the list")
|
||||
$end
|
||||
}}
|
||||
@@ -0,0 +1,109 @@
|
||||
|
||||
// This is sample macro-file for MacroLib plugin for Far Manager 2.x
|
||||
// You can download plugin here:
|
||||
// http://code.google.com/p/far-plugins/wiki/MacroLib
|
||||
|
||||
|
||||
// Run 'File under cursor' or 'Command line' in new console of ConEmu.
|
||||
// 'Press enter to close console' will be displayed after command completion.
|
||||
// Note! If you want to disable this confirmation,
|
||||
// set 'DisableCloseConfirm = 1'
|
||||
|
||||
const DisableCloseConfirm = 0
|
||||
|
||||
// AltEnter - run command and activate new ConEmu tab
|
||||
// Note! You must enable "Alt+Enter" option in ConEmu Settings->Keys.
|
||||
|
||||
// ShiftEnter - run command in background ConEmu tab
|
||||
// Note! If you want to activate new tab on ShiftEnter,
|
||||
// set 'UseBackgroundTab = 0'
|
||||
|
||||
const UseBackgroundTab = 1
|
||||
|
||||
|
||||
// While starting command in background tab, there is a flicker on panels.
|
||||
// If you want to disable flicker, set 'DisableFlicker = 1'.
|
||||
// Note! ConEmu plugin reqired for 'DisableFlicker = 1'.
|
||||
|
||||
const DisableFlicker = 0
|
||||
|
||||
|
||||
macro
|
||||
Descr="Run <File under cursor> or <Command line> in new console of ConEmu"
|
||||
Key="ShiftEnter AltEnter"
|
||||
Area="Shell Search ACompl"
|
||||
{{
|
||||
history.enable(0xff) // Remove this line in old Far2 versions
|
||||
|
||||
$if (akey(1,1)=="ShiftEnter" && #%UseBackgroundTab)
|
||||
%add = " -new_console:b";
|
||||
$if (#%DisableCloseConfirm) %add = %add + "n"; $end
|
||||
$else
|
||||
// AltEnter creates foreground console(tab)
|
||||
%add = " -new_console";
|
||||
$if (#%DisableCloseConfirm) %add = %add + ":n"; $end
|
||||
$end
|
||||
|
||||
%oldcmd = "";
|
||||
$if (Search)
|
||||
// Save and clear command line - about to execute panel(!) item
|
||||
%oldcmd = CmdLine.Value; %oldpos = CmdLine.CurPos;
|
||||
Esc Esc // First - close search, second - clear command line
|
||||
$end
|
||||
|
||||
$if (!CmdLine.Empty)
|
||||
$if (MacroArea=="AutoCompletion")
|
||||
Esc // Close autocompletion
|
||||
$end
|
||||
|
||||
$if (CmdLine.Value=="." || CmdLine.Value==".." || CmdLine.Value=="...")
|
||||
ShiftEnter
|
||||
$Exit
|
||||
$else
|
||||
$if (MacroArea=="AutoCompletion")
|
||||
Del // Remove autocompletion selection
|
||||
// Unfortunately, 'AutoCompletion' area exists in both Shell & Dialog.
|
||||
Esc $if (MacroArea!="Shell") $Exit $end
|
||||
$end
|
||||
//CtrlEnd - fails, couse of AutoCompletion
|
||||
$Rep(CmdLine.ItemCount) CtrlD $end
|
||||
//Append "-new_console" if not exists
|
||||
$if (index(CmdLine.Value,"-new_console")<0) print(%add) $end
|
||||
$end
|
||||
$else $if (APanel.FilePanel && !APanel.Plugin && !APanel.Empty && !APanel.Folder && len(APanel.Current)>4)
|
||||
$if (MacroArea=="AutoCompletion")
|
||||
// Unfortunately, 'AutoCompletion' area exists in both Shell & Dialog.
|
||||
Esc $if (MacroArea!="Shell") $Exit $end
|
||||
$end
|
||||
%exec = ucase(env("PATHEXT"));
|
||||
$if (%exec=="") %exec = ".COM;.EXE;.BAT;.CMD"; $end
|
||||
%ext = ucase(fsplit(APanel.Current,8));
|
||||
$if (%ext!="" && index(";"+%exec+";",";"+%ext+";")>=0)
|
||||
CtrlEnter
|
||||
Del // Remove possible autocompletion selection
|
||||
//Append "-new_console"
|
||||
print(%add)
|
||||
$else
|
||||
$if (akey(1,1)=="ShiftEnter") ShiftEnter $end
|
||||
$Exit
|
||||
$end
|
||||
$else
|
||||
$if (akey(1,1)=="ShiftEnter") ShiftEnter $end
|
||||
$Exit
|
||||
$end $end
|
||||
|
||||
Del // Remove possible autocompletion selection
|
||||
|
||||
$if (#%DisableFlicker)
|
||||
$Rep(CmdLine.ItemCount) CtrlS $end
|
||||
print("ConEmu:run:")
|
||||
$end
|
||||
|
||||
Enter // Execute
|
||||
|
||||
// Restore old command line state (running file from Panel in QSearch mode)
|
||||
$if (%oldcmd != "")
|
||||
print(%oldcmd)
|
||||
$if (%oldpos>=1 && %oldpos<=CmdLine.ItemCount) CtrlHome $Rep(%oldpos-1) CtrlD $end $end
|
||||
$end
|
||||
}}
|
||||
@@ -0,0 +1,30 @@
|
||||
|
||||
// This is sample macro-file for MacroLib plugin for Far Manager 3.x
|
||||
// You can download plugin here:
|
||||
// http://code.google.com/p/far-plugins/wiki/MacroLib
|
||||
|
||||
|
||||
// Show all windows list from all consoles
|
||||
|
||||
const ConEmu = 0x43454D55
|
||||
|
||||
macro
|
||||
Descr="ConEmu: Show all windows list from all consoles"
|
||||
Area="Shell QView Info Tree Search Dialog Editor Viewer"
|
||||
Key="F12"
|
||||
{{
|
||||
F11
|
||||
$if (menu.select("ConEmu",2) > 0)
|
||||
Enter T
|
||||
$else
|
||||
MsgBox("Error","ConEmu plugin was not found in the list")
|
||||
$end
|
||||
}}
|
||||
|
||||
macro
|
||||
Descr="ConEmu: Standard Far windows list"
|
||||
Area="Shell QView Info Tree Search Dialog Editor Viewer"
|
||||
Key="CtrlShiftF12"
|
||||
{{
|
||||
F12
|
||||
}}
|
||||
@@ -0,0 +1,41 @@
|
||||
|
||||
// This is sample macro-file for MacroLib plugin for Far Manager 2.x
|
||||
// You can download plugin here:
|
||||
// http://code.google.com/p/far-plugins/wiki/MacroLib
|
||||
|
||||
|
||||
const ConEmu = 0x43454D55
|
||||
const ConEmuTh = 0x43455568
|
||||
|
||||
// Макросы для ConEmu
|
||||
macro Descr="ConEmu: Switch tabs visibility" Key="CtrlShiftT"
|
||||
{{
|
||||
callplugin(#%ConEmu,3)
|
||||
}}
|
||||
macro Descr="ConEmu: Show console output in editor" Area="Shell" Key="CtrlO"
|
||||
{{
|
||||
callplugin(#%ConEmu,1) CtrlEnd
|
||||
}}
|
||||
macro Descr="Hide/Show panels (standard FAR CtrlO)" Area="Shell" Key="CtrlAltO"
|
||||
{{
|
||||
CtrlO
|
||||
}}
|
||||
macro Descr="Тест открытия EMenu макросом (ready for conemu)" Area="Shell" Key="ShiftApps"
|
||||
{{
|
||||
$If (!CmdLine.Empty) %Flg_Cmd=1; %CmdCurPos=CmdLine.ItemCount-CmdLine.CurPos+1; %CmdVal=CmdLine.Value; Esc $Else %Flg_Cmd=0; $End print("rclk_gui:") Enter $If (%Flg_Cmd==1) print(%CmdVal) %Flg_Cmd=0; %Num=%CmdCurPos; $While (%Num!=0) %Num=%Num-1; CtrlS $End $End
|
||||
}}
|
||||
// Create new console with ConEmu debugger on this instance of FAR
|
||||
macro Descr="ConEmu: debugger on this instance of FAR" Area="Shell" Key="CtrlAltD"
|
||||
{{
|
||||
callplugin(#%ConEmu,8)
|
||||
}}
|
||||
|
||||
// Макросы ConEmu PanelView
|
||||
macro Descr="ConEmuTh: Switch Thumbnail view on active panel" Area="Shell" Key="CtrlShiftF1"
|
||||
{{
|
||||
callplugin(#%ConEmuTh,1)
|
||||
}}
|
||||
macro Descr="ConEmuTh: Switch Tiles view on active panel" Area="Shell" Key="CtrlShiftF2"
|
||||
{{
|
||||
callplugin(#%ConEmuTh,2)
|
||||
}}
|
||||
@@ -0,0 +1,13 @@
|
||||
REGEDIT4
|
||||
|
||||
; Redirect output of console program to FAR editor.
|
||||
; Checkbox 'AltEnter' in ConEmu settings must be On.
|
||||
; Plugin 'Far commands' must be installed.
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\AltEnter]
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\AltEnter]
|
||||
"Sequence"="CtrlHome e d i t : < Enter"
|
||||
"DisableOutput"=dword:00000001
|
||||
"Description"="Execute CmdLine and redirect output to Editor"
|
||||
"NotEmptyCommandLine"=dword:00000001
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
REGEDIT4
|
||||
|
||||
; Show properties for current item
|
||||
; Checkbox 'AltEnter' in ConEmu settings must be On.
|
||||
; Plugin 'EMenu' must be installed.
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\AltEnter]
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\AltEnter]
|
||||
"Description"="Hotkey to execute properties command: Alt-Enter"
|
||||
"Sequence"="Esc r c l k _ c m d : p r o p e r t i e s Enter"
|
||||
"DisableOutput"=dword:00000001
|
||||
@@ -0,0 +1,11 @@
|
||||
REGEDIT4
|
||||
|
||||
; Description.
|
||||
; Create new console with ConEmu debugger on this instance of FAR
|
||||
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\CtrlAltD]
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\CtrlAltD]
|
||||
"Sequence"="callplugin(0x43454D55,8)"
|
||||
"Description"="Create new console with ConEmu debugger on this instance of FAR"
|
||||
"DisableOutput"=dword:00000001
|
||||
@@ -0,0 +1,16 @@
|
||||
REGEDIT4
|
||||
|
||||
; Description.
|
||||
; Show console output in editor (ConEmu)
|
||||
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\CtrlO]
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\CtrlO]
|
||||
"Sequence"="callplugin(0x43454D55,1) CtrlEnd"
|
||||
"Description"="Show console output in editor (ConEmu)"
|
||||
"DisableOutput"=dword:00000001
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\CtrlAltO]
|
||||
"Sequence"="CtrlO"
|
||||
"Description"="Hide/Show panels (standard FAR CtrlO)"
|
||||
"DisableOutput"=dword:00000001
|
||||
@@ -0,0 +1,16 @@
|
||||
REGEDIT4
|
||||
|
||||
; Description.
|
||||
; Show console output in viewer (ConEmu)
|
||||
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\CtrlO]
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\CtrlO]
|
||||
"Sequence"="callplugin(0x43454D55,2) End"
|
||||
"Description"="Show console output in viewer (ConEmu)"
|
||||
"DisableOutput"=dword:00000001
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\CtrlAltO]
|
||||
"Sequence"="CtrlO"
|
||||
"Description"="Hide/Show panels (standard FAR CtrlO)"
|
||||
"DisableOutput"=dword:00000001
|
||||
@@ -0,0 +1,11 @@
|
||||
REGEDIT4
|
||||
|
||||
; Description.
|
||||
; Switch ConEmu tabs visibility
|
||||
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far2\KeyMacros\Common\CtrlShiftT]
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Common\CtrlShiftT]
|
||||
"Sequence"="callplugin(0x43454D55,3)"
|
||||
"Description"="Switch ConEmu tabs visibility"
|
||||
"DisableOutput"=dword:00000001
|
||||
@@ -0,0 +1,11 @@
|
||||
REGEDIT4
|
||||
|
||||
; Description.
|
||||
; Autoattach Far manager to ConEmu GUI at startup
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\CtrlAltDel]
|
||||
"Sequence"="callplugin(0x43454D55,7)"
|
||||
"RunAfterFARStart"=dword:00000001
|
||||
"DisableOutput"=dword:00000001
|
||||
"Description"="Autoattach FAR to ConEmu GUI"
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,16 @@
|
||||
REGEDIT4
|
||||
|
||||
; Note! This is just an example of calling GuiMacro from Far Manager
|
||||
; Note! Ctrl+Wheel may be already binded in ConEmu Keys&Macro settings
|
||||
|
||||
; Increase/decrease ConEmu GUI font size
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Common\AltMsWheelDown]
|
||||
"Sequence"="callplugin(0x43454D55,\"FontSetSize(1,-2)\")"
|
||||
"DisableOutput"=dword:00000001
|
||||
"Description"="ConEmu: Decrease GUI font size"
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Common\AltMsWheelUp]
|
||||
"Sequence"="callplugin(0x43454D55,\"FontSetSize(1,2)\")"
|
||||
"DisableOutput"=dword:00000001
|
||||
"Description"="ConEmu: Increase GUI font size"
|
||||
@@ -0,0 +1,54 @@
|
||||
REGEDIT4
|
||||
|
||||
; Description.
|
||||
; Run 'File under cursor' or 'Command line' in new console of ConEmu.
|
||||
; 'Press enter to close console' will be displayed after command completion.
|
||||
; Note! If you want to disable this confirmation, add ":n" after "-new_console"
|
||||
; below. I.e. " -new_console:bn" or " -new_console:n".
|
||||
|
||||
; ShiftEnter - run command in background ConEmu tab
|
||||
; Note! If you want to activate new tab on ShiftEnter,
|
||||
; remove ":b" in " -new_console:b" below.
|
||||
|
||||
; AltEnter - run command and activate new ConEmu tab
|
||||
; Note! You must enable "Alt+Enter" option in ConEmu Settings->Keys.
|
||||
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Vars]
|
||||
"%%ConEmu_ShiftEnter"="$if (akey(1,1)==\"ShiftEnter\") %add = \" -new_console:b\"; $else %add = \" -new_console\"; $end %oldcmd = \"\"; $if (Search) %oldcmd = CmdLine.Value; %oldpos = CmdLine.CurPos; Esc Esc $end $if (!CmdLine.Empty) $if (CmdLine.Value==\".\" || CmdLine.Value==\"..\" || CmdLine.Value==\"...\") ShiftEnter $else $if (MacroArea==\"AutoCompletion\") $if (CmdLine.Selected) Del $end Esc $if (MacroArea!=\"Shell\") $Exit $end $end $Rep(CmdLine.ItemCount) CtrlD $end $if (index(CmdLine.Value,\"-new_console\")<0) print(%add) $end $if (CmdLine.Selected) Del $end Enter $end $else $if (APanel.FilePanel && !APanel.Plugin && !APanel.Empty && !APanel.Folder && len(APanel.Current)>4) $if (MacroArea==\"AutoCompletion\") Esc $if (MacroArea!=\"Shell\") $Exit $end $end %exec = ucase(env(\"PATHEXT\")); $if (%exec==\"\") %exec = \".COM;.EXE;.BAT;.CMD\"; $end %ext = ucase(fsplit(APanel.Current,8)); $if (%ext!=\"\" && index(\";\"+%exec+\";\",\";\"+%ext+\";\")>=0) CtrlEnter $if (CmdLine.Selected) Del $end print(%add) $if (CmdLine.Selected) Del $end Enter $else $if (akey(1,1)==\"ShiftEnter\") ShiftEnter $end $end $else $if (akey(1,1)==\"ShiftEnter\") ShiftEnter $end $end $end $if (%oldcmd != \"\") print(%oldcmd) $if (%oldpos>=1 && %oldpos<=CmdLine.ItemCount) CtrlHome $Rep(%oldpos-1) CtrlD $end $end $end"
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\ShiftEnter]
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\ShiftEnter]
|
||||
"Sequence"="eval(%%ConEmu_ShiftEnter)"
|
||||
"Description"="Run <File under cursor> or <Command line> in new console of ConEmu"
|
||||
"DisableOutput"=dword:00000001
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far2\KeyMacros\Search\ShiftEnter]
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Search\ShiftEnter]
|
||||
"Sequence"="eval(%%ConEmu_ShiftEnter)"
|
||||
"DisableOutput"=dword:00000001
|
||||
"Description"="Run <File under cursor> or <Command line> in new console of ConEmu"
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far2\KeyMacros\AutoCompletion\ShiftEnter]
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\AutoCompletion\ShiftEnter]
|
||||
"Sequence"="eval(%%ConEmu_ShiftEnter)"
|
||||
"DisableOutput"=dword:00000001
|
||||
"Description"="Run <File under cursor> or <Command line> in new console of ConEmu"
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\AltEnter]
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\AltEnter]
|
||||
"Sequence"="eval(%%ConEmu_ShiftEnter)"
|
||||
"Description"="Run <File under cursor> or <Command line> in new console of ConEmu"
|
||||
"DisableOutput"=dword:00000001
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far2\KeyMacros\Search\AltEnter]
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Search\AltEnter]
|
||||
"Sequence"="eval(%%ConEmu_ShiftEnter)"
|
||||
"DisableOutput"=dword:00000001
|
||||
"Description"="Run <File under cursor> or <Command line> in new console of ConEmu"
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far2\KeyMacros\AutoCompletion\AltEnter]
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\AutoCompletion\AltEnter]
|
||||
"Sequence"="eval(%%ConEmu_ShiftEnter)"
|
||||
"DisableOutput"=dword:00000001
|
||||
"Description"="Run <File under cursor> or <Command line> in new console of ConEmu"
|
||||
@@ -0,0 +1,18 @@
|
||||
REGEDIT4
|
||||
|
||||
; Description.
|
||||
; Switch ConEmu Panel Views mode.
|
||||
|
||||
|
||||
; Far2
|
||||
[-HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\CtrlShiftF1]
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\CtrlShiftF1]
|
||||
"Sequence"="callplugin(0x43455568,1)"
|
||||
"Description"="Switch Thumbnails view on active panel"
|
||||
"DisableOutput"=dword:00000001
|
||||
|
||||
[-HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\CtrlShiftF2]
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Shell\CtrlShiftF2]
|
||||
"Sequence"="callplugin(0x43455568,2)"
|
||||
"Description"="Switch Tiles view on active panel"
|
||||
"DisableOutput"=dword:00000001
|
||||
@@ -0,0 +1,13 @@
|
||||
REGEDIT4
|
||||
|
||||
; Description.
|
||||
; This FAR TechInfo's replace key bar label for macroses from Thumbnails.reg
|
||||
; CtrlShiftF1 - switches Thumbnails view, CtrlShiftF2 - Tiles view
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyBarLabels\English\Shell]
|
||||
"CtrlShiftF1"="Thumb"
|
||||
"CtrlShiftF2"="Tiles"
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyBarLabels\Russian\Shell]
|
||||
"CtrlShiftF1"="Ýñêèç"
|
||||
"CtrlShiftF2"="Ïëèòêà"
|
||||
@@ -0,0 +1,15 @@
|
||||
REGEDIT4
|
||||
|
||||
; Description.
|
||||
; This example FAR2 macro allows browse font names easily
|
||||
; while plugin dialog "Unicode CharMap" is active.
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Dialog\CtrlDown]
|
||||
"Sequence"="$If (Title==\"Unicode CharMap\") CtrlF Down Enter $Else CtrlDown $End"
|
||||
"DisableOutput"=dword:00000001
|
||||
"Description"="Unicode CharMap: Listing fonts with CtrlUp/CtrlDown"
|
||||
|
||||
[HKEY_CURRENT_USER\Software\Far2\KeyMacros\Dialog\CtrlUp]
|
||||
"Sequence"="$If (Title==\"Unicode CharMap\") CtrlF Up Enter $Else CtrlUp $End"
|
||||
"DisableOutput"=dword:00000001
|
||||
"Description"="Unicode CharMap: Listing fonts with CtrlUp/CtrlDown"
|
||||
@@ -0,0 +1,50 @@
|
||||
|
||||
// This is sample macro-file for MacroLib plugin for Far Manager 3.x
|
||||
// You can download plugin here:
|
||||
// http://code.google.com/p/far-plugins/wiki/MacroLib
|
||||
|
||||
|
||||
// Show output of last console command
|
||||
// Checkbox 'Long console output' must be checked in
|
||||
// ConEmu Settings -> Features
|
||||
|
||||
// OpenType=1 - Open in editor, OpenType=2 - Open in viewer
|
||||
const OpenType = 1
|
||||
|
||||
const ConEmu = "4b675d80-1d4a-4ea9-8436-fdc23f2fc14b"
|
||||
|
||||
farmacro
|
||||
Descr="ConEmu: Show console output in editor"
|
||||
Area="Shell"
|
||||
Key="CtrlO"
|
||||
{{
|
||||
callplugin(#%ConEmu,#%OpenType) CtrlEnd
|
||||
}}
|
||||
|
||||
farmacro
|
||||
Descr="ConEmu: Return to panels from console output"
|
||||
Area="Editor.'*.tmp'"
|
||||
Area="Viewer.'*.tmp'"
|
||||
Key="CtrlO"
|
||||
{{
|
||||
$if (Editor) %f=Editor.FileName; $else %f=Viewer.FileName; $end
|
||||
$if (lcase(fsplit(%f,8))!=".tmp" || ucase(substr(fsplit(%f,4),0,3))!="CEM")
|
||||
$AKey
|
||||
$Exit
|
||||
$end
|
||||
// Was editor modified?
|
||||
%m=0; $if (Editor) $if (Editor.State & 0x40) %m=1; $end $end
|
||||
// Close
|
||||
Esc
|
||||
// Skip save confirmation
|
||||
$if (%m && Dialog) Right Enter $end
|
||||
}}
|
||||
|
||||
farmacro
|
||||
Descr="Hide/Show panels (standard FAR CtrlO)"
|
||||
Area="Shell Editor Viewer"
|
||||
Key="CtrlAltO"
|
||||
DisableOutput=0
|
||||
{{
|
||||
CtrlO
|
||||
}}
|
||||
@@ -0,0 +1,17 @@
|
||||
|
||||
// This is sample macro-file for MacroLib plugin for Far Manager 3.x
|
||||
// You can download plugin here:
|
||||
// http://code.google.com/p/far-plugins/wiki/MacroLib
|
||||
|
||||
|
||||
// Switch visibility of tab/toolbar panel.
|
||||
// Look at 'Enable Tabs' checkbox in ConEmu Settings -> Tabs
|
||||
|
||||
const ConEmu = "4b675d80-1d4a-4ea9-8436-fdc23f2fc14b"
|
||||
|
||||
farmacro
|
||||
Descr="ConEmu: Switch tabs visibility"
|
||||
Key="CtrlShiftT"
|
||||
{{
|
||||
callplugin(#%ConEmu,3)
|
||||
}}
|
||||
@@ -0,0 +1,51 @@
|
||||
|
||||
// This is sample macro-file for MacroLib plugin for Far Manager 2.x
|
||||
// You can download plugin here:
|
||||
// http://code.google.com/p/far-plugins/wiki/MacroLib
|
||||
|
||||
|
||||
// Several Far instances may be opened in ConEmu tabs.
|
||||
// This macro activates existing Editor/Viewer, wich
|
||||
// may be opened in then inactive instance of Far.
|
||||
|
||||
const ConEmu = "4b675d80-1d4a-4ea9-8436-fdc23f2fc14b"
|
||||
|
||||
farmacro
|
||||
Descr="ConEmu: Auto switch to Editor Tab"
|
||||
Key="F3 F4"
|
||||
Area="Shell Search"
|
||||
Cond="PanelType:0"
|
||||
{{
|
||||
%k = akey(1,0);
|
||||
|
||||
$if (!APanel.Empty && (APanel.Current!=".."))
|
||||
%s=APanel.Path;
|
||||
%s=%s+iif(substr(%s,len(%s)-1)=="\\","","\\")+APanel.Current;
|
||||
//MsgBox("Current item", %s)
|
||||
%c = substr(%k,len(%k)-1,1);
|
||||
%cmd = iif(%c=="4","FindEditor:","FindViewer:")+%s;
|
||||
%iRc=callplugin(#%ConEmu,%cmd);
|
||||
//MsgBox("EditOpen result", "callplugin="+%iRc+"\n<"+env("ConEmuMacroResult")+">")
|
||||
$if (%iRc!=0)
|
||||
%r = env("ConEmuMacroResult");
|
||||
$if (substr(%r,0,5)=="Found")
|
||||
$Exit // Ok
|
||||
$else $if (substr(%r,0,6)=="Active")
|
||||
F12 eval(substr(%r,7))
|
||||
$Exit // Ok
|
||||
$else $if (%r=="Blocked")
|
||||
// MsgBox("ConEmu macro","Tab can't be activated now\n"+%s);
|
||||
$end $end $end
|
||||
$end
|
||||
$end
|
||||
|
||||
//history.enable(0xF)
|
||||
$if (%k=="F4") F4 $else F3 $end
|
||||
|
||||
// As we get here, Far will try to open viewer or editor window.
|
||||
// But, it may be already opened in the current Far instance.
|
||||
// When it's exists, Far show messagebox with confirmation and buttons:
|
||||
// { Current } [ New instance ] [ Reload ]
|
||||
// Next macro line depress { Current } button
|
||||
$if (Dialog && Title=="Editor" && Dlg.ItemCount==7 && Dlg.CurPos==5 && Dlg.ItemType==7) Enter $end
|
||||
}}
|
||||
@@ -0,0 +1,26 @@
|
||||
|
||||
// This is sample macro-file for MacroLib plugin for Far Manager 2.x
|
||||
// You can download plugin here:
|
||||
// http://code.google.com/p/far-plugins/wiki/MacroLib
|
||||
|
||||
|
||||
// Note! This is just an example of calling GuiMacro from Far Manager
|
||||
// Note! Ctrl+Wheel may be already binded in ConEmu Keys&Macro settings
|
||||
|
||||
// Increase/decrease font size in ConEmu window with Alt+Wheel
|
||||
|
||||
const ConEmu = "4b675d80-1d4a-4ea9-8436-fdc23f2fc14b"
|
||||
|
||||
farmacro
|
||||
Descr="ConEmu: Increase ConEmu font size"
|
||||
Key="AltMsWheelUp"
|
||||
{{
|
||||
callplugin(#%ConEmu,"FontSetSize(1,2)")
|
||||
}}
|
||||
|
||||
farmacro
|
||||
Descr="ConEmu: Decrease ConEmu font size"
|
||||
Key="AltMsWheelDown"
|
||||
{{
|
||||
callplugin(#%ConEmu,"FontSetSize(1,-2)")
|
||||
}}
|
||||
@@ -0,0 +1,104 @@
|
||||
|
||||
// This is sample macro-file for MacroLib plugin for Far Manager 3.x
|
||||
// You can download plugin here:
|
||||
// http://code.google.com/p/far-plugins/wiki/MacroLib
|
||||
|
||||
|
||||
// Run 'File under cursor' or 'Command line' in new console of ConEmu.
|
||||
// 'Press enter to close console' will be displayed after command completion.
|
||||
// Note! If you want to disable this confirmation,
|
||||
// set 'DisableCloseConfirm = 1'
|
||||
|
||||
const DisableCloseConfirm = 0
|
||||
|
||||
// AltEnter - run command and activate new ConEmu tab
|
||||
// Note! You must enable "Alt+Enter" option in ConEmu Settings->Keys.
|
||||
|
||||
// ShiftEnter - run command in background ConEmu tab
|
||||
// Note! If you want to activate new tab on ShiftEnter,
|
||||
// set 'UseBackgroundTab = 0'
|
||||
|
||||
const UseBackgroundTab = 1
|
||||
|
||||
|
||||
// While starting command in background tab, there is a flicker on panels.
|
||||
// If you want to disable flicker, set 'DisableFlicker = 1'.
|
||||
// Note! ConEmu plugin is reqired for 'DisableFlicker = 1'.
|
||||
|
||||
const DisableFlicker = 0
|
||||
|
||||
|
||||
farmacro
|
||||
Descr="Run <File under cursor> or <Command line> in new console of ConEmu"
|
||||
Key="ShiftEnter AltEnter"
|
||||
Area="Shell Search ShellACompl"
|
||||
{{
|
||||
//history.enable(0xff)
|
||||
|
||||
%add = " -new_console";
|
||||
$if (akey(1,1)=="ShiftEnter" && #%UseBackgroundTab)
|
||||
%add = %add + ":b";
|
||||
$if (#%DisableCloseConfirm) %add = %add + ":n"; $end
|
||||
$else
|
||||
// AltEnter creates foreground console(tab)
|
||||
$if (#%DisableCloseConfirm) %add = %add + ":n"; $end
|
||||
//%add = %add + ":s40V"; // split vertically for example
|
||||
$end
|
||||
|
||||
%oldcmd = "";
|
||||
$if (Search)
|
||||
// Save and clear command line - about to execute panel(!) item
|
||||
%oldcmd = CmdLine.Value; %oldpos = CmdLine.CurPos;
|
||||
Esc Esc // First - close search, second - clear command line
|
||||
$end
|
||||
|
||||
$if (!CmdLine.Empty)
|
||||
$if (Macro.Area=="Shell.AutoCompletion")
|
||||
Esc // Close autocompletion
|
||||
$end
|
||||
|
||||
$if (CmdLine.Value=="." || CmdLine.Value==".." || CmdLine.Value=="...")
|
||||
ShiftEnter
|
||||
$Exit
|
||||
$else
|
||||
$if (Macro.Area=="Shell.AutoCompletion")
|
||||
Del // Remove autocompletion selection
|
||||
$end
|
||||
//CtrlEnd - fails, couse of AutoCompletion
|
||||
$Rep(CmdLine.ItemCount) CtrlD $end
|
||||
//Append "-new_console" if not exists
|
||||
$if (index(CmdLine.Value,"-new_console")<0) print(%add) $end
|
||||
$end
|
||||
$else $if (APanel.FilePanel && !APanel.Plugin && !APanel.Empty && !APanel.Folder && len(APanel.Current)>4)
|
||||
%exec = ucase(env("PATHEXT"));
|
||||
$if (%exec=="") %exec = ".COM;.EXE;.BAT;.CMD"; $end
|
||||
%ext = ucase(fsplit(APanel.Current,8));
|
||||
$if (%ext!="" && index(";"+%exec+";",";"+%ext+";")>=0)
|
||||
CtrlEnter
|
||||
Del // Remove possible autocompletion selection
|
||||
//Append "-new_console"
|
||||
print(%add)
|
||||
$else
|
||||
$if (akey(1,1)=="ShiftEnter") ShiftEnter $end
|
||||
$Exit
|
||||
$end
|
||||
$else
|
||||
$if (akey(1,1)=="ShiftEnter") ShiftEnter $end
|
||||
$Exit
|
||||
$end $end
|
||||
|
||||
Del // Remove possible autocompletion selection
|
||||
|
||||
$if (#%DisableFlicker && Plugin.Call("4B675D80-1D4A-4EA9-8436-FDC23F2FC14B","IsConEmu"))
|
||||
$Rep(CmdLine.ItemCount) CtrlS $end
|
||||
print("ConEmu:run:")
|
||||
$end
|
||||
|
||||
Enter // Execute
|
||||
|
||||
// Restore old command line state (running file from Panel in QSearch mode)
|
||||
$if (%oldcmd != "")
|
||||
print(%oldcmd)
|
||||
$if (%oldpos>=1 && %oldpos<=CmdLine.ItemCount) CtrlHome $Rep(%oldpos-1) CtrlD $end $end
|
||||
$end
|
||||
}}
|
||||
@@ -0,0 +1,25 @@
|
||||
|
||||
// This is sample macro-file for MacroLib plugin for Far Manager 3.x
|
||||
// You can download plugin here:
|
||||
// http://code.google.com/p/far-plugins/wiki/MacroLib
|
||||
|
||||
|
||||
// Show all windows list from all consoles
|
||||
|
||||
const ConEmu = "4b675d80-1d4a-4ea9-8436-fdc23f2fc14b"
|
||||
|
||||
farmacro
|
||||
Descr="ConEmu: Show all windows list from all consoles"
|
||||
Area="Shell QView Info Tree Search Dialog Editor Viewer"
|
||||
Key="F12"
|
||||
{{
|
||||
$if (Plugin.Menu(#%ConEmu)) T $end
|
||||
}}
|
||||
|
||||
farmacro
|
||||
Descr="ConEmu: Standard Far windows list"
|
||||
Area="Shell QView Info Tree Search Dialog Editor Viewer"
|
||||
Key="CtrlShiftF12"
|
||||
{{
|
||||
F12
|
||||
}}
|
||||
@@ -0,0 +1,34 @@
|
||||
|
||||
// This is sample macro-file for MacroLib plugin for Far Manager 3.x
|
||||
// You can download plugin here:
|
||||
// http://code.google.com/p/far-plugins/wiki/MacroLib
|
||||
|
||||
|
||||
// Switch visibility of ConEmu Panel Views
|
||||
// You may customize Panel Views display in ConEmu Settings -> Views
|
||||
|
||||
const ConEmuTh = "bd454d48-448e-46cc-909d-b6cf789c2d65"
|
||||
|
||||
farmacro
|
||||
Descr="ConEmuTh: Switch Thumbnails view on active panel"
|
||||
Area="Shell"
|
||||
Key="CtrlShiftF1"
|
||||
{{
|
||||
callplugin(#%ConEmuTh,1)
|
||||
}}
|
||||
|
||||
farmacro
|
||||
Descr="ConEmuTh: Switch Tiles view on active panel"
|
||||
Area="Shell"
|
||||
Key="CtrlShiftF2"
|
||||
{{
|
||||
callplugin(#%ConEmuTh,2)
|
||||
}}
|
||||
|
||||
farmacro
|
||||
Descr="ConEmu: Turn off Tiles or Thumbnails on active panel"
|
||||
Area="Shell"
|
||||
//Key="CtrlAltF2"
|
||||
{{
|
||||
callplugin(#%ConEmuTh,256)
|
||||
}}
|
||||
@@ -0,0 +1,56 @@
|
||||
|
||||
FarMacro
|
||||
Descr="Editor: Clipboard actions menu"
|
||||
Key="MsRClick"
|
||||
Area="Dialog Editor"
|
||||
{{
|
||||
%CopyLine="Copy whole line";
|
||||
%CopyWord="Copy single word";
|
||||
%Paste="Paste from clipboard";
|
||||
|
||||
$if (Editor)
|
||||
MsLClick CtrlU $SelWord
|
||||
$else // Dialog
|
||||
%dx=dlg.getvalue(0,2); %dy=dlg.getvalue(0,3); %c=dlg.getvalue(0,0);
|
||||
$if (%c<1) $Exit $end
|
||||
%i=1;
|
||||
$while (%i<=%c)
|
||||
%t=dlg.getvalue(%i,1);
|
||||
$if (%t==4/*DI_EDIT*/ || %t==6/*DI_EDIT*/)
|
||||
%f=dlg.getvalue(%i,8);
|
||||
$if (!(%f & 0xD0000000/*hidden,nofocus,...*/))
|
||||
$if ((%dy+dlg.GetValue(%i,3))==MsY)
|
||||
$if (((%dx+dlg.GetValue(%i,2))<=MsX) && ((%dx+dlg.GetValue(%i,4))>=MsX))
|
||||
dlg.SetFocus(%i)
|
||||
%c=0;
|
||||
$end
|
||||
$end
|
||||
$end
|
||||
$end
|
||||
%i=%i+1;
|
||||
$end
|
||||
$if (%c!=0)
|
||||
MsRClick $Exit
|
||||
$end
|
||||
$end
|
||||
|
||||
%Menu=%CopyLine+"\n";
|
||||
$if (Editor.SelValue!="")
|
||||
%Menu=%Menu+%CopyWord+"\n";
|
||||
$end
|
||||
%Menu=%Menu+%Paste;
|
||||
|
||||
%s = Menu.Show(%Menu,"",0x3,"",MsX,MsY+1);
|
||||
$if (%s=="") $Exit $end
|
||||
|
||||
$if (%s==%CopyLine)
|
||||
$if (Dialog) Home $else editor.Pos(1,2,1) $end ShiftEnd
|
||||
CtrlIns $Exit
|
||||
$end
|
||||
$if (%s==%CopyWord)
|
||||
CtrlIns $Exit
|
||||
$end
|
||||
$if (%s==%Paste)
|
||||
ShiftIns $Exit
|
||||
$end
|
||||
}}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!--
|
||||
Description.
|
||||
This FAR TechInfo's replace key bar label for macroses from ConEmu.Thumbnails.fml
|
||||
CtrlShiftF1 - switches Thumbnails view, CtrlShiftF2 - Tiles view
|
||||
Use: "%FARHOME%\Far.exe" /import Thumbnails_KeyBar.farconfig
|
||||
-->
|
||||
<farconfig version="3.0.2102">
|
||||
<generalconfig>
|
||||
<setting key="KeyBarLabels.English.Shell" name="CtrlShiftF1" type="text" value="Thumb" />
|
||||
<setting key="KeyBarLabels.English.Shell" name="CtrlShiftF2" type="text" value="Tiles" />
|
||||
<setting key="KeyBarLabels.Russian.Shell" name="CtrlShiftF1" type="text" value="Эскиз" />
|
||||
<setting key="KeyBarLabels.Russian.Shell" name="CtrlShiftF2" type="text" value="Плитка" />
|
||||
</generalconfig>
|
||||
</farconfig>
|
||||
@@ -0,0 +1,55 @@
|
||||
|
||||
-- Place this file into your %FARPROFILE%\Macros\scripts
|
||||
|
||||
-- When tab switching in ConEmu is configured to Ctrl+Number
|
||||
-- this macro will help to use Ctrl+Number combinations
|
||||
|
||||
Macro
|
||||
{
|
||||
area="Shell";
|
||||
key="/[LR]CtrlShift[0-9]/";
|
||||
description="Panels: Switch panel modes with LCtrl+Shift+Number";
|
||||
action = function()
|
||||
-- BUG? Following is expected to be working, but it doesn't... Far Panels ignores LCtrl+key posted this way
|
||||
-- Keys("LCtrl"..akey(1):sub(-1))
|
||||
Keys("Ctrl"..akey(1):sub(-1))
|
||||
-- it would be nice to have macro API
|
||||
-- far.PanelControl(far.Flags.FCTL_SETVIEWMODE, mf.atoi(akey(1):sub(-1)))
|
||||
end
|
||||
}
|
||||
|
||||
Macro
|
||||
{
|
||||
area="Shell";
|
||||
-- key="/RCtrlShift[0-9]/";
|
||||
description="Panels: No action";
|
||||
action = function()
|
||||
return
|
||||
end
|
||||
}
|
||||
|
||||
Macro
|
||||
{
|
||||
area="Editor Viewer";
|
||||
key="/RCtrlShift[0-9]/";
|
||||
description="Editor: Set std.bookmark with RCtrl+Shift+Number +++";
|
||||
action = function()
|
||||
-- Extend std.bookmarks with stack bookmarks
|
||||
BM.Add()
|
||||
-- And set new std.bookmark
|
||||
Keys("CtrlShift"..akey(1):sub(-1))
|
||||
end
|
||||
}
|
||||
|
||||
Macro
|
||||
{
|
||||
area="Editor Viewer";
|
||||
key="/RCtrl[0-9]/";
|
||||
description="Editor: Jump to std.bookmark with RCtrl+Number";
|
||||
action = function()
|
||||
-- Store previous position in stack bookmarks
|
||||
BM.Add()
|
||||
-- And jump to std.bookmark
|
||||
Keys("Ctrl"..akey(1):sub(-1))
|
||||
end
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
|
||||
-- Place this file into your %FARPROFILE%\Macros\scripts
|
||||
|
||||
|
||||
-- Show output of last console command
|
||||
-- Checkbox 'Long console output' must be checked in
|
||||
-- ConEmu Settings -> Features
|
||||
|
||||
-- OpenType=1 - Open in editor, OpenType=2 - Open in viewer
|
||||
local OpenType = 1
|
||||
|
||||
local ConEmu = "4b675d80-1d4a-4ea9-8436-fdc23f2fc14b"
|
||||
|
||||
Macro
|
||||
{
|
||||
area="Shell";
|
||||
key="CtrlO";
|
||||
flags="NoSendKeysToPlugins";
|
||||
description="ConEmu: Show console output in editor";
|
||||
action = function()
|
||||
Plugin.Call(ConEmu,OpenType) Keys("CtrlEnd")
|
||||
end;
|
||||
}
|
||||
|
||||
-- Area="Editor.'CEM*.tmp'"
|
||||
-- Area="Viewer.'CEM*.tmp'"
|
||||
|
||||
Macro
|
||||
{
|
||||
area="Editor Viewer";
|
||||
key="CtrlO";
|
||||
flags="NoSendKeysToPlugins";
|
||||
description="ConEmu: Return to panels from console output";
|
||||
condition = function(Key)
|
||||
-- Only our temp files: "CEM*.tmp"
|
||||
if Area.Editor then f=Editor.FileName; else f=Viewer.FileName; end
|
||||
return (mf.lcase(mf.fsplit(f,8))==".tmp" and mf.ucase(mf.substr(mf.fsplit(f,4),0,3))=="CEM")
|
||||
end;
|
||||
action = function()
|
||||
-- Close
|
||||
Keys("F10")
|
||||
-- Skip save confirmation
|
||||
if Area.Dialog and Dlg.Id=="F776FEC0-50F7-4E7E-BDA6-2A63F84A957B" then
|
||||
Keys("Right Enter")
|
||||
end
|
||||
end;
|
||||
}
|
||||
|
||||
Macro
|
||||
{
|
||||
area="Shell";
|
||||
key="CtrlAltO";
|
||||
flags="NoSendKeysToPlugins";
|
||||
description="Hide/Show panels (standard FAR CtrlO)";
|
||||
action = function()
|
||||
Keys("CtrlO")
|
||||
end;
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
|
||||
-- Place this file into your %FARPROFILE%\Macros\scripts
|
||||
|
||||
|
||||
-- Switch visibility of tab/toolbar panel.
|
||||
-- Look at 'Enable Tabs' checkbox in ConEmu Settings -> Tabs
|
||||
|
||||
local ConEmu = "4b675d80-1d4a-4ea9-8436-fdc23f2fc14b"
|
||||
|
||||
Macro
|
||||
{
|
||||
area="";
|
||||
key="CtrlShiftT";
|
||||
flags="";
|
||||
description="ConEmu: Switch tabs visibility";
|
||||
action = function()
|
||||
Plugin.Call(ConEmu,3)
|
||||
end;
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
|
||||
-- Place this file into your %FARPROFILE%\Macros\scripts
|
||||
|
||||
|
||||
-- Several Far instances may be opened in ConEmu tabs.
|
||||
-- This macro activates existing Editor/Viewer, wich
|
||||
-- may be opened in then inactive instance of Far.
|
||||
|
||||
local ConEmu = "4b675d80-1d4a-4ea9-8436-fdc23f2fc14b"
|
||||
|
||||
Macro
|
||||
{
|
||||
area="Shell Search";
|
||||
key="F3 F4";
|
||||
flags="NoPluginPanels";
|
||||
description="ConEmu: Auto switch to Editor Tab";
|
||||
condition = function(Key)
|
||||
return (not APanel.Empty and (APanel.Current~=".."));
|
||||
end;
|
||||
action = function()
|
||||
|
||||
k = akey(1,1);
|
||||
|
||||
s=APanel.Path;
|
||||
s=s..mf.iif(mf.substr(s,mf.len(s)-1)=="\\","","\\")..APanel.Current;
|
||||
--msgbox("Current item", s)
|
||||
c = mf.substr(k,mf.len(k)-1,1);
|
||||
cmd = mf.iif(c=="4","FindEditor:","FindViewer:")..s;
|
||||
r = Plugin.SyncCall(ConEmu,cmd);
|
||||
--msgbox("EditOpen result", "Plugin.SyncCall="..r)
|
||||
if r then
|
||||
if mf.substr(r,0,5)=="Found" then
|
||||
exit() -- OK
|
||||
elseif mf.substr(r,0,6)=="Active" then
|
||||
iWnd = mf.atoi(mf.substr(r,7),10)+101
|
||||
Plugin.SyncCall(ConEmu,iWnd);
|
||||
Plugin.SyncCall(ConEmu,100);
|
||||
exit() -- Ok
|
||||
elseif r=="Blocked" then
|
||||
-- msgbox("ConEmu macro","Tab can't be activated now\n"..spname);
|
||||
end
|
||||
end
|
||||
|
||||
-- history.enable(0xF) ?
|
||||
|
||||
-- Do the F3/F4 key press
|
||||
Keys(k)
|
||||
|
||||
-- As we get here, Far will try to open viewer or editor window.
|
||||
-- But, it may be already opened in the current Far instance.
|
||||
-- When it's exists, Far show messagebox with confirmation and buttons:
|
||||
-- { Current } [ New instance ] [ Reload ]
|
||||
-- Next macro line depress { Current } button
|
||||
if Area.Dialog and Dlg.Id=="AFDAD388-494C-41E8-BAC6-BBE9115E1CC0" then
|
||||
if Dlg.ItemCount==7 and Dlg.CurPos==5 and Dlg.ItemType==7 then
|
||||
Keys("Enter")
|
||||
end
|
||||
end
|
||||
|
||||
end;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
|
||||
-- Place this file into your %FARPROFILE%\Macros\scripts
|
||||
|
||||
|
||||
-- Note! This is just an example of calling GuiMacro from Far Manager
|
||||
-- Note! Ctrl+Wheel may be already binded in ConEmu Keys&Macro settings
|
||||
|
||||
-- Increase/decrease font size in ConEmu window with Ctrl+Wheel
|
||||
|
||||
local ConEmu = "4b675d80-1d4a-4ea9-8436-fdc23f2fc14b"
|
||||
|
||||
Macro
|
||||
{
|
||||
area="Common";
|
||||
key="AltMsWheelUp";
|
||||
flags="";
|
||||
description="ConEmu: Increase ConEmu font size";
|
||||
action = function()
|
||||
Plugin.Call(ConEmu,"FontSetSize(1,2)")
|
||||
end;
|
||||
}
|
||||
|
||||
Macro
|
||||
{
|
||||
area="Common";
|
||||
key="AltMsWheelDown";
|
||||
flags="";
|
||||
description="ConEmu: Decrease ConEmu font size";
|
||||
action = function()
|
||||
Plugin.Call(ConEmu,"FontSetSize(1,-2)")
|
||||
end;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
|
||||
-- Place this file into your %FARPROFILE%\Macros\scripts
|
||||
|
||||
|
||||
-- Show all windows list from all consoles
|
||||
-- May be useful when you want to copy a file(s) from one Far panel
|
||||
-- to another folder from another Far instance
|
||||
|
||||
local ConEmu = "4b675d80-1d4a-4ea9-8436-fdc23f2fc14b"
|
||||
|
||||
Macro
|
||||
{
|
||||
area="Dialog Editor";
|
||||
key="ShiftF11";
|
||||
flags="";
|
||||
description="ConEmu: Show all panels/dirs from all consoles";
|
||||
action = function()
|
||||
Plugin.Call(ConEmu,11)
|
||||
end
|
||||
}
|
||||
@@ -0,0 +1,136 @@
|
||||
|
||||
-- Place this file into your %FARPROFILE%\Macros\scripts
|
||||
|
||||
|
||||
-- Run 'File under cursor' or 'Command line' in new console of ConEmu.
|
||||
-- 'Press enter to close console' will be displayed after command completion.
|
||||
-- Note! If you want to disable this confirmation,
|
||||
-- set 'DisableCloseConfirm = true'
|
||||
|
||||
local DisableCloseConfirm = false
|
||||
|
||||
-- AltEnter - run command and activate new ConEmu tab
|
||||
-- Note! You must enable "Alt+Enter" option in ConEmu Settings->Keys.
|
||||
|
||||
-- ShiftEnter - run command in background ConEmu tab
|
||||
-- Note! If you want to activate new tab on ShiftEnter,
|
||||
-- set 'UseBackgroundTab = false'
|
||||
|
||||
local UseBackgroundTab = true
|
||||
|
||||
|
||||
-- While starting command in background tab, there may be a flicker on panels.
|
||||
-- If you want to disable flicker, set 'DisableFlicker = true'.
|
||||
-- Note! ConEmu plugin reqired for 'DisableFlicker = true'.
|
||||
|
||||
local DisableFlicker = false
|
||||
|
||||
|
||||
|
||||
-- Descr="Run <File under cursor> or <Command line> in new console of ConEmu"
|
||||
-- Key="ShiftEnter AltEnter"
|
||||
-- Area="Shell Search ShellACompl"
|
||||
|
||||
Macro
|
||||
{
|
||||
area="Shell Search ShellAutoCompletion";
|
||||
key="ShiftEnter AltEnter";
|
||||
flags="NoSendKeysToPlugins";
|
||||
description="ConEmu: Run <File under cursor> or <Command line> in new console of ConEmu";
|
||||
action = function()
|
||||
|
||||
-- history.enable(0xff)
|
||||
|
||||
add = " -new_console"
|
||||
if akey(1,1)=="ShiftEnter" and UseBackgroundTab then
|
||||
add = add .. ":b";
|
||||
if DisableCloseConfirm then
|
||||
add = add .. ":n";
|
||||
end
|
||||
else
|
||||
-- AltEnter creates foreground console(tab)
|
||||
if DisableCloseConfirm then
|
||||
add = add .. ":n";
|
||||
end
|
||||
--add = add .. ":s40V"; -- split vertically for example
|
||||
end
|
||||
|
||||
oldcmd = "";
|
||||
if Area.ShellAutoCompletion then
|
||||
Keys("Esc") -- close autocompletion
|
||||
else
|
||||
if Area.Search then
|
||||
-- Save and clear command line - about to execute panel(!) item
|
||||
oldcmd = CmdLine.Value; oldpos = CmdLine.CurPos;
|
||||
Keys("Esc Esc") -- First - close search, second - clear command line
|
||||
end
|
||||
end
|
||||
|
||||
if not CmdLine.Empty then
|
||||
-- already closed
|
||||
--if Area.Current=="Shell.AutoCompletion" then
|
||||
-- Keys("Esc") -- Close autocompletion
|
||||
--end
|
||||
|
||||
if CmdLine.Value=="." or CmdLine.Value==".." or CmdLine.Value=="..." then
|
||||
Keys("ShiftEnter")
|
||||
exit()
|
||||
else
|
||||
--if Area.Current=="Shell.AutoCompletion" then
|
||||
-- Keys("Del") -- Remove autocompletion selection
|
||||
--end
|
||||
|
||||
-- CtrlEnd - fails, because of AutoCompletion
|
||||
-- Just move the cursor to the end of command line
|
||||
for RCounter=CmdLine.ItemCount,1,-1 do Keys("CtrlD") end
|
||||
|
||||
-- Append "-new_console" if not exists
|
||||
if mf.index(CmdLine.Value,"-new_console")<0 then
|
||||
print(add)
|
||||
end
|
||||
end
|
||||
elseif APanel.FilePanel and not APanel.Plugin and not APanel.Empty and not APanel.Folder and mf.len(APanel.Current)>4 then
|
||||
-- The command line was empty
|
||||
-- Get the list of "executable" extensions
|
||||
exec = mf.ucase(mf.env("PATHEXT"));
|
||||
if exec=="" then exec = ".COM;.EXE;.BAT;.CMD"; end
|
||||
-- And compare them to current panel item
|
||||
ext = mf.ucase(mf.fsplit(APanel.Current,8));
|
||||
if ext~="" and mf.index(";"..exec..";",";"..ext..";")>=0 then
|
||||
Keys("CtrlEnter")
|
||||
--Keys("Del") -- Remove possible autocompletion selection
|
||||
-- Append "-new_console"
|
||||
print(add)
|
||||
else
|
||||
if akey(1,1)=="ShiftEnter" then
|
||||
Keys("ShiftEnter")
|
||||
end
|
||||
exit()
|
||||
end
|
||||
else
|
||||
if akey(1,1)=="ShiftEnter" then
|
||||
Keys("ShiftEnter")
|
||||
end
|
||||
exit()
|
||||
end
|
||||
|
||||
--Keys("Del") -- Remove possible autocompletion selection
|
||||
|
||||
if DisableFlicker and Plugin.Call("4B675D80-1D4A-4EA9-8436-FDC23F2FC14B","IsConEmu") then
|
||||
for RCounter=CmdLine.ItemCount,1,-1 do Keys("CtrlS") end
|
||||
print("ConEmu:run:")
|
||||
end
|
||||
|
||||
Keys("Enter") -- Execute
|
||||
|
||||
-- Restore old command line state (running file from Panel in QSearch mode)
|
||||
if oldcmd ~= "" then
|
||||
print(oldcmd)
|
||||
if oldpos>=1 and oldpos<=CmdLine.ItemCount then
|
||||
Keys("CtrlHome")
|
||||
for RCounter=oldpos-1,1,-1 do Keys("CtrlD") end
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
|
||||
-- Place this file into your %FARPROFILE%\Macros\scripts
|
||||
|
||||
|
||||
-- Show all windows list from all consoles
|
||||
|
||||
local ConEmu = "4b675d80-1d4a-4ea9-8436-fdc23f2fc14b"
|
||||
|
||||
Macro
|
||||
{
|
||||
area="Shell QView Info Tree Search Dialog Editor Viewer";
|
||||
key="F12";
|
||||
flags="NoSendKeysToPlugins";
|
||||
description="ConEmu: Show all windows list from all consoles";
|
||||
action = function()
|
||||
if Plugin.Menu(ConEmu) then
|
||||
Keys("T")
|
||||
end
|
||||
end
|
||||
}
|
||||
|
||||
Macro
|
||||
{
|
||||
area="Shell QView Info Tree Search Dialog Editor Viewer";
|
||||
key="CtrlShiftF12";
|
||||
flags="NoSendKeysToPlugins";
|
||||
description="ConEmu: Standard Far windows list";
|
||||
action = function()
|
||||
Keys("F12")
|
||||
end
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
|
||||
-- Place this file into your %FARPROFILE%\Macros\scripts
|
||||
|
||||
|
||||
-- Switch visibility of ConEmu Panel Views
|
||||
-- You may customize Panel Views display in ConEmu Settings -> Views
|
||||
|
||||
local ConEmuTh = "bd454d48-448e-46cc-909d-b6cf789c2d65"
|
||||
|
||||
Macro
|
||||
{
|
||||
area="Shell";
|
||||
key="CtrlShiftF1";
|
||||
flags="";
|
||||
description="ConEmu: Switch Thumbnails view on active panel";
|
||||
action = function()
|
||||
Plugin.Call(ConEmuTh,1)
|
||||
end
|
||||
}
|
||||
|
||||
Macro
|
||||
{
|
||||
area="Shell";
|
||||
key="CtrlShiftF2";
|
||||
flags="";
|
||||
description="ConEmu: Switch Tiles view on active panel";
|
||||
action = function()
|
||||
Plugin.Call(ConEmuTh,2)
|
||||
end
|
||||
}
|
||||
|
||||
Macro
|
||||
{
|
||||
area="Shell";
|
||||
--key="CtrlAltF2";
|
||||
flags="";
|
||||
description="ConEmu: Turn off Tiles or Thumbnails on active panel";
|
||||
action = function()
|
||||
Plugin.Call(ConEmuTh,256)
|
||||
end
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
|
||||
-- Place this file into your %FARPROFILE%\Macros\scripts
|
||||
|
||||
|
||||
-- This macros was created to simplify Far Editor usage on tablets
|
||||
-- Mapped to MsRClick (or long tap on tablets) it will show menu
|
||||
-- ┌───────────────────────┐
|
||||
-- │ Copy whole line │
|
||||
-- │ Copy single word │
|
||||
-- │ Paste from clipboard │
|
||||
-- └───────────────────────┘
|
||||
|
||||
Macro
|
||||
{
|
||||
area="Dialog Editor";
|
||||
key="MsRClick";
|
||||
flags="";
|
||||
description="ConEmu: Clipboard actions menu";
|
||||
action = function()
|
||||
|
||||
CopyLine="Copy whole line";
|
||||
CopyWord="Copy single word";
|
||||
Paste="Paste from clipboard";
|
||||
|
||||
if Area.Editor then
|
||||
Keys("MsLClick CtrlU") Keys("SelWord")
|
||||
else
|
||||
dx=Dlg.GetValue(0,2); dy=Dlg.GetValue(0,3); c=Dlg.GetValue(0,0);
|
||||
if c<1 then exit() end
|
||||
i=1;
|
||||
while i<=c do
|
||||
t=Dlg.GetValue(i,1);
|
||||
if t==4 or t==6 then
|
||||
f=Dlg.GetValue(i,8);
|
||||
if not (band(f,0xD0000000)) then
|
||||
if (dy+Dlg.GetValue(i,3))==Mouse.Y then
|
||||
if ((dx+Dlg.GetValue(i,2))<=Mouse.X) and ((dx+Dlg.GetValue(i,4))>=Mouse.X) then
|
||||
Dlg.SetFocus(i)
|
||||
c=0;
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
i=i+1;
|
||||
end
|
||||
if c~=0 then
|
||||
Keys("MsRClick") exit()
|
||||
end
|
||||
end
|
||||
|
||||
Menu__RENAMED=CopyLine.."\n";
|
||||
if Editor.SelValue~="" then
|
||||
Menu__RENAMED=Menu__RENAMED..CopyWord.."\n";
|
||||
end
|
||||
Menu__RENAMED=Menu__RENAMED..Paste;
|
||||
|
||||
s = Menu.Show(Menu__RENAMED,"",0x3,"",Mouse.X,Mouse.Y+1);
|
||||
if s=="" then exit() end
|
||||
|
||||
if s==CopyLine then
|
||||
if Area.Dialog then Keys("Home") else Editor.Pos(1,2,1) end Keys("ShiftEnd")
|
||||
Keys("CtrlIns") exit()
|
||||
end
|
||||
if s==CopyWord then
|
||||
Keys("CtrlIns") exit()
|
||||
end
|
||||
if s==Paste then
|
||||
Keys("ShiftIns") exit()
|
||||
end
|
||||
|
||||
end
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!--
|
||||
Description.
|
||||
This Far TechInfo's replace key bar label for macroses from ConEmu.Thumbnails.lua
|
||||
CtrlShiftF1 - switches Thumbnails view, CtrlShiftF2 - Tiles view
|
||||
Use: "%FARHOME%\Far.exe" /import Thumbnails_KeyBar.farconfig
|
||||
-->
|
||||
<farconfig version="3.0.2102">
|
||||
<generalconfig>
|
||||
<setting key="KeyBarLabels.English.Shell" name="CtrlShiftF1" type="text" value="Thumb" />
|
||||
<setting key="KeyBarLabels.English.Shell" name="CtrlShiftF2" type="text" value="Tiles" />
|
||||
<setting key="KeyBarLabels.Russian.Shell" name="CtrlShiftF1" type="text" value="Эскиз" />
|
||||
<setting key="KeyBarLabels.Russian.Shell" name="CtrlShiftF2" type="text" value="Плитка" />
|
||||
</generalconfig>
|
||||
</farconfig>
|
||||
@@ -0,0 +1,218 @@
|
||||
@echo off
|
||||
|
||||
rem *** Usage ***
|
||||
rem call 'GitShowBranch /i' for prompt initialization
|
||||
rem you may change ConEmuGitPath variable, if git.exe/git.cmd is not in your %PATH%
|
||||
|
||||
rem Predefined dir where git binaries are stored
|
||||
|
||||
rem ConEmuGitPath must contain quoted path, if it has spaces for instance
|
||||
|
||||
if NOT DEFINED ConEmuGitPath (
|
||||
rem set ConEmuGitPath=git
|
||||
set ConEmuGitPath="%~d0\GitSDK\cmd\git.exe"
|
||||
)
|
||||
if NOT exist "%ConEmuGitPath%" (
|
||||
set ConEmuGitPath=git
|
||||
)
|
||||
|
||||
if /I "%~1" == "/i" (
|
||||
if exist "%~dp0ConEmuC.exe" (
|
||||
call "%~dp0ConEmuC.exe" /IsConEmu
|
||||
if errorlevel 2 goto no_conemu
|
||||
) else if exist "%~dp0ConEmuC64.exe" (
|
||||
call "%~dp0ConEmuC64.exe" /IsConEmu
|
||||
if errorlevel 2 goto no_conemu
|
||||
)
|
||||
call "%ConEmuGitPath%" --version
|
||||
if errorlevel 1 (
|
||||
call cecho "GIT not found, change your ConEmuGitPath environment variable"
|
||||
goto :EOF
|
||||
)
|
||||
if defined ConEmuPrompt1 (
|
||||
PROMPT %ConEmuPrompt1%$E]9;7;"cmd -cur_console:R /c%~nx0"$e\$E]9;8;"gitbranch"$e\%ConEmuPrompt2%%ConEmuPrompt3%
|
||||
) else (
|
||||
PROMPT $P$E]9;7;"cmd -cur_console:R /c%~nx0"$e\$E]9;8;"gitbranch"$e\$g
|
||||
)
|
||||
goto :EOF
|
||||
) else if /I "%~1" == "/u" (
|
||||
if defined ConEmuPrompt1 (
|
||||
PROMPT %ConEmuPrompt1%%ConEmuPrompt2%%ConEmuPrompt3%
|
||||
) else (
|
||||
PROMPT $P$G
|
||||
)
|
||||
goto :EOF
|
||||
)
|
||||
|
||||
if /I "%~1" == "/?" goto help
|
||||
if /I "%~1" == "-?" goto help
|
||||
if /I "%~1" == "-h" goto help
|
||||
if /I "%~1" == "--help" goto help
|
||||
|
||||
|
||||
goto run
|
||||
|
||||
|
||||
:help
|
||||
setlocal
|
||||
call "%~dp0SetEscChar.cmd"
|
||||
if "%ConEmuANSI%"=="ON" (
|
||||
set white=%ESC%[1;37;40m
|
||||
set red=%ESC%[1;31;40m
|
||||
set normal=%ESC%[0m
|
||||
) else (
|
||||
set white=
|
||||
set red=
|
||||
set normal=
|
||||
)
|
||||
echo %white%%~nx0 description%normal%
|
||||
echo You may see your current git branch in %white%cmd prompt%normal%
|
||||
echo Just run `%red%%~nx0 /i%normal%` to setup it in the current cmd instance
|
||||
echo And you will see smth like `%white%T:\ConEmu [daily +0 ~7 -0]^>%normal%`
|
||||
echo If you see double `%red%^>^>%normal%` unset your `%white%FARHOME%normal%` env.variable
|
||||
echo You may use it in %white%Far Manager%normal%,
|
||||
echo set your Far %white%prompt%normal% to `%red%$p%%gitbranch%%%normal%` and call `%red%%~nx0%normal%`
|
||||
echo after each command which can change your working directory state
|
||||
echo Example: "%~dp0Addons\git.cmd"
|
||||
goto :EOF
|
||||
|
||||
|
||||
|
||||
:inc_add
|
||||
set /A gitbranch_add=%gitbranch_add%+1
|
||||
goto :EOF
|
||||
:inc_chg
|
||||
set /A gitbranch_chg=%gitbranch_chg%+1
|
||||
goto :EOF
|
||||
:inc_del
|
||||
set /A gitbranch_del=%gitbranch_del%+1
|
||||
goto :EOF
|
||||
|
||||
:eval
|
||||
rem Calculate changes count
|
||||
if "%gitbranch_ln%" == "##" (
|
||||
rem save first line, this must be branch
|
||||
) else if "%gitbranch_ln:~0,2%" == "??" (
|
||||
call :inc_add
|
||||
) else if "%gitbranch_ln:~0,1%" == "A" (
|
||||
call :inc_add
|
||||
) else if "%gitbranch_ln:~0,1%" == "D" (
|
||||
call :inc_del
|
||||
) else if "%gitbranch_ln:~0,1%" == "M" (
|
||||
call :inc_chg
|
||||
)
|
||||
goto :EOF
|
||||
|
||||
:calc
|
||||
rem Ensure that gitbranch_ln has no line returns
|
||||
set "gitbranch_ln=%~1"
|
||||
call :eval
|
||||
goto :EOF
|
||||
|
||||
:drop_ext
|
||||
for /F "delims=." %%l in ("%gitbranch%") do set "gitbranch=%%l"
|
||||
goto :EOF
|
||||
|
||||
:no_conemu
|
||||
rem GitShowBranch works in ConEmu only
|
||||
rem Also gitbranch can't be modified
|
||||
rem because export will not be working
|
||||
exit /b 0
|
||||
goto :EOF
|
||||
|
||||
:run
|
||||
|
||||
if exist "%~dp0ConEmuC.exe" (
|
||||
call "%~dp0ConEmuC.exe" /IsConEmu
|
||||
if errorlevel 2 goto no_conemu
|
||||
) else if exist "%~dp0ConEmuC64.exe" (
|
||||
call "%~dp0ConEmuC64.exe" /IsConEmu
|
||||
if errorlevel 2 goto no_conemu
|
||||
)
|
||||
|
||||
|
||||
rem let gitlogpath be folder to store git output
|
||||
if "%TEMP:~-1%" == "\" (set "gitlogpath=%TEMP:~0,-1%") else (set "gitlogpath=%TEMP%")
|
||||
set git_out=%gitlogpath%\conemu_git_%ConEmuServerPID%_1.log
|
||||
set git_err=%gitlogpath%\conemu_git_%ConEmuServerPID%_2.log
|
||||
|
||||
|
||||
rem Just to ensure that non-oem characters will not litter the prompt
|
||||
set "ConEmu_SaveLang=%LANG%"
|
||||
set LANG=en_US
|
||||
|
||||
rem Due to a bug(?) of cmd.exe we can't quote ConEmuGitPath variable
|
||||
rem otherwise if it contains only unquoted "git" and matches "git.cmd" for example
|
||||
rem the "%~dp0" macros in that cmd will return a crap.
|
||||
|
||||
call %ConEmuGitPath% -c color.status=false status --short --branch --porcelain 1>"%git_out%" 2>"%git_err%"
|
||||
if errorlevel 1 (
|
||||
set "LANG=%ConEmu_SaveLang%"
|
||||
set ConEmu_SaveLang=
|
||||
del "%git_out%">nul
|
||||
del "%git_err%">nul
|
||||
set gitbranch=
|
||||
goto prepare
|
||||
)
|
||||
set "LANG=%ConEmu_SaveLang%"
|
||||
set ConEmu_SaveLang=
|
||||
|
||||
rem Firstly check if it is not a git repository
|
||||
rem Set "gitbranch" to full contents of %git_err% file
|
||||
set /P gitbranch=<"%git_err%"
|
||||
rem But we need only first line of it
|
||||
set "gitbranch=%gitbranch%"
|
||||
if NOT DEFINED gitbranch goto skip_not_a_git
|
||||
if /I "%gitbranch:~0,16%" == "fatal: not a git" (
|
||||
rem echo Not a .git repository
|
||||
del "%git_out%">nul
|
||||
del "%git_err%">nul
|
||||
set gitbranch=
|
||||
goto prepare
|
||||
)
|
||||
:skip_not_a_git
|
||||
|
||||
set gitbranch_add=0
|
||||
set gitbranch_chg=0
|
||||
set gitbranch_del=0
|
||||
|
||||
rem Set "gitbranch" to full contents of %git_out% file
|
||||
set /P gitbranch=<"%git_out%"
|
||||
rem But we need only first line of it
|
||||
set "gitbranch=%gitbranch%"
|
||||
rem To ensure that %git_out% does not contain brackets
|
||||
pushd %gitlogpath%
|
||||
for /F %%l in (conemu_git_%ConEmuServerPID%_1.log) do call :calc "%%l"
|
||||
popd
|
||||
rem echo done ':calc', br='%gitbranch%', ad='%gitbranch_add%', ch='%gitbranch_chg%', dl='%gitbranch_del%'
|
||||
|
||||
call %ConEmuGitPath% rev-parse --abbrev-ref HEAD 1>"%git_out%" 2>"%git_err%"
|
||||
if errorlevel 1 (
|
||||
set gitbranch=
|
||||
) else (
|
||||
set /P gitbranch=<"%git_out%"
|
||||
)
|
||||
|
||||
del "%git_out%">nul
|
||||
del "%git_err%">nul
|
||||
|
||||
if NOT DEFINED gitbranch (
|
||||
set "gitbranch=-unknown-"
|
||||
) else if "%gitbranch%" == "" (
|
||||
set "gitbranch=-unknown-"
|
||||
)
|
||||
|
||||
rem Are there changes? Or we need to display branch name only?
|
||||
if "%gitbranch_add% %gitbranch_chg% %gitbranch_del%" == "0 0 0" (
|
||||
set "gitbranch= [%gitbranch%]"
|
||||
) else (
|
||||
set "gitbranch= [%gitbranch% +%gitbranch_add% ~%gitbranch_chg% -%gitbranch_del%]"
|
||||
)
|
||||
rem echo "%gitbranch%"
|
||||
|
||||
:prepare
|
||||
if NOT "%FARHOME%" == "" set gitbranch=%gitbranch%^>
|
||||
|
||||
:export
|
||||
rem Export to parent Far Manager or cmd.exe processes
|
||||
"%ConEmuBaseDir%\ConEmuC.exe" /silent /export=CON gitbranch
|
||||
@@ -0,0 +1,64 @@
|
||||
@echo off
|
||||
|
||||
rem Usage example for your batch files
|
||||
rem call IsConEmu.cmd > nul
|
||||
rem if errorlevel 1 (
|
||||
rem ... Your batch started out of ConEmu, simple command prompt
|
||||
rem ) else (
|
||||
rem ... Your batch is running in active ConEmu window
|
||||
rem )
|
||||
|
||||
|
||||
rem Don't change any env.variables outside of this batch
|
||||
setlocal
|
||||
|
||||
rem For ANSI example you may set "YES" instead of "NO"
|
||||
set UseAnsi=NO
|
||||
if "%UseAnsi%"=="YES" goto TryAnsi
|
||||
|
||||
rem Preferable way - use GuiMacro
|
||||
if exist "%~dp0ConEmuC.exe" (
|
||||
|
||||
call "%~dp0ConEmuC.exe" /GuiMacro IsConEmu > nul
|
||||
if errorlevel 1 goto showresult
|
||||
set ConEmuMacroResult=Yes
|
||||
goto showresult
|
||||
|
||||
) else if exist "%~dp0ConEmuC64.exe" (
|
||||
|
||||
call "%~dp0ConEmuC64.exe" /GuiMacro IsConEmu > nul
|
||||
if errorlevel 1 goto showresult
|
||||
set ConEmuMacroResult=Yes
|
||||
goto showresult
|
||||
|
||||
) else (
|
||||
|
||||
echo "%~dp0ConEmuC.exe" not found!
|
||||
exit /b 2
|
||||
goto :EOF
|
||||
|
||||
)
|
||||
|
||||
|
||||
rem Ok, try ANSI
|
||||
set ConEmuMacroResult=
|
||||
set ESC=
|
||||
|
||||
:TryAnsi
|
||||
rem Check if ANSI is enabled
|
||||
if not "%ConEmuANSI%"=="ON" (
|
||||
echo ConEmu ANSI X3.64 was not enabled!
|
||||
exit /b 2
|
||||
goto :EOF
|
||||
)
|
||||
|
||||
echo %ESC%[s%ESC%]9;6;"IsConEmu"%ESC%\%ESC%[u%ESC%[A
|
||||
|
||||
:showresult
|
||||
if "%ConEmuMacroResult%"=="Yes" (
|
||||
echo ConEmu found!
|
||||
exit /b 0
|
||||
) else (
|
||||
echo ConEmu NOT found!
|
||||
exit /b 1
|
||||
)
|
||||
+133
@@ -0,0 +1,133 @@
|
||||
ConEmu-Maximus5 - Handy Windows terminal
|
||||
Copyright (c) 2006-2008, Zoin <zoinen@gmail.com>
|
||||
Copyright (c) 2009-2021, Maximus5 <ConEmu.Maximus5@gmail.com>
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
3. The name of the authors may not be used to endorse or promote products
|
||||
derived from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR
|
||||
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
MinHook - The Minimalistic API Hooking Library for x64/x86
|
||||
Copyright (C) 2009-2015 Tsuda Kageyu.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
||||
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER
|
||||
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Hacker Disassembler Engine 32 C
|
||||
Copyright (c) 2008-2009, Vyacheslav Patkov.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
||||
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
|
||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Hacker Disassembler Engine 64 C
|
||||
Copyright (c) 2008-2009, Vyacheslav Patkov.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
||||
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
|
||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
json-parser
|
||||
Copyright (C) 2012, 2013 James McLaughlin et al. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGE.
|
||||
@@ -0,0 +1,27 @@
|
||||
ConEmu is ‘portable’ by default, it uses ‘ConEmu.xml’ file
|
||||
to store all settings. But Windows Registry is supported too.
|
||||
|
||||
If you see error «XML setting file can not be used!»,
|
||||
it means, interface IID_IXMLDOMDocument is not registered
|
||||
in the system.
|
||||
Just copy here files «msxml3.dll» and «msxml3r.dll».
|
||||
Better to take the files from the Windows XP - they have
|
||||
fewer dependencies, and they will work in Windows 2000.
|
||||
|
||||
* https://conemu.github.io/en/SettingsFast.html
|
||||
* https://conemu.github.io/en/Settings.html
|
||||
|
||||
============================================================
|
||||
ConEmu «портабелен» по умолчанию и хранит все настройки в
|
||||
файле «ConEmu.xml». Но реестр Windows также поддерживается.
|
||||
|
||||
Если попытке использовании «ConEmu.xml» появляется ошибка
|
||||
«XML setting file can not be used!», значит в системе
|
||||
не зарегистрирован интерфейс IID_IXMLDOMDocument.
|
||||
Чтобы его не регистрировать, скопируйте в этот каталог
|
||||
файлы «msxml3.dll» и «msxml3r.dll». Файлы лучше брать из
|
||||
Windows XP - в них меньше зависимостей и они будут работать
|
||||
в Windows 2000.
|
||||
|
||||
* https://conemu.github.io/en/SettingsFast.html
|
||||
* https://conemu.github.io/en/Settings.html
|
||||
@@ -0,0 +1,10 @@
|
||||
@echo off
|
||||
|
||||
rem Run this file in cmd.exe or tcc.exe to change
|
||||
rem Tab title in ConEmu. Same as "Rename tab" in GUI.
|
||||
|
||||
rem Note!
|
||||
rem "Inject ConEmuHk" and "ANSI X3.64" options
|
||||
rem must be turned ON in ConEmu Settings!
|
||||
|
||||
echo ]9;3;"%~1"\
|
||||
@@ -0,0 +1,21 @@
|
||||
@echo off
|
||||
|
||||
rem If your git log containing UTF-8 or national characters is messed,
|
||||
rem just set in the Settings/Environment proper `LANG` variable, examples:
|
||||
rem set LANG=en_US.UTF-8
|
||||
rem set LANG=ru_RU.utf8
|
||||
rem set LANG=ru_RU.CP1251
|
||||
|
||||
rem Check if we can output colors to PTY or not
|
||||
ConEmuC -isredirect
|
||||
|
||||
if errorlevel 2 goto is_con
|
||||
|
||||
rem Plain text mode
|
||||
git log --graph "--date=format:%%y%%m%%d:%%H%%M" "--pretty=format:%%h%%d %%an %%ad %%s" %*
|
||||
goto :EOF
|
||||
|
||||
:is_con
|
||||
rem Colored mode
|
||||
git log --graph "--date=format:%%y%%m%%d:%%H%%M" "--pretty=format:%%C(auto)%%h%%d %%C(bold blue)%%an %%Cgreen%%ad %%Creset%%s" %*
|
||||
goto :EOF
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user