Build 151207
- conemu#438: No newlines in log files after prompts (cygwin/msys). Cygwin/msys shells do not write LF to screen unless they were started from ConEmu’s cygwin/msys connector. Therefore we have to do some magic to ‘detect’ line feeds…
- Update terminals module to v0.7
- In some cases PID of terminal-connector was not shown in the StatusBar.
- Xterm’s alternative screen was not cleared on activating.
- conemu#351: Allow changing URL for retrieving version location on Settings/Update.
- conemu#351: Use
https://conemu.github.io/version.ini
by default. - Changes in processing of default hotkey
Win+X
.- It runs whole task contents, but not only first ‘tab’ from task;
- If no one task was marked as ‘Default shell’, run default
COMSPEC
with arguments ` /k “%ConEmuBaseDir%\CmdInit.cmd”`.
Build 151205
- Show cygwin/msys/clink flags on Settings/Info.
- Post Fxx keys ncurses-friendly in the xterm mode emulation.
- conemu#442: In text selection pressing
Ctrl+Shift+Arrow
increases selection faster.Ctrl+Shift+Left/Right
jumps by words if possible, or by 10 chars.Ctrl+Shift+Up/Down
jumps by screen halfs. - conemu#455: Redirected output from batch files to
CON
device was not working. - conemu#438: No newlines in log files after prompts.
- Do logging of Far prompt (only screen copy) if ‘Log console output’ is ON.
- Update cygwin/msys connector to v0.6.
Build 151202
- When ConEmu was started as a child window (InsideParent) it behaves as it has no focus.
- Ensure that all child windows are closed properly on termination (InsideParent).
- Option ‘Activate split/pane on mouse hover’ was not working in InsideParent mode.
- Execution of ‘-GuiMacro:PID’ was failed if ConEmu.exe was in InsideParent.
- Don’t allow to execute ‘-GuiMacro:…’ on wrong instance.
- Increase debugger backscroll even if it was started in ConEmu tab.
- XTerm keys fixup (F1..F4, BackSpace, Alt+Char).
- Disable ‘Ctrl+Backspace - delete word leftward to the text cursor’ in cygwin/msys connector.
Ctrl+BS is posted as “\x1F” and it may be configured in the
.inputrc
as following:
# Ctrl-BS - kill word on the left
"\x1F": "\C-w"
- ANSI: Implement
ESC c
- Full reset (clear screen, backscroll, move cursor to the upper-left corner). - ANSI: Fix errors in
ESC [ *n* @
andESC [ *n* P
sequences (insert/delete characters). - ANSI: Support byobu status line.
- ANSI: Fix extended attributes errors on automatic line scrolling.
- ANSI: Implement
ESC E
,ESC D
,ESC M
sequences.
| ESC E | Same as `\r\n` |
| ESC D | Same as `\n` but preserves X coord |
| ESC M | Reverse `\n` |
Build 151129
- ANSI: Implement (xterm) codes to save
ESC 7
and restoreESC 8
cursor position. - ANSI: Sequences
ESC ] ... ESC \
were not processed properly in some cases. - cygwin/msys connector v0.4.
- Warning fixes (from Michael Lukashov).
Build 151126
- First try to create cygwin/msys terminal connector.
- JumpList icon was not created properly for Task in some cases.
If
/icon
switch was not specified for Task parameters, and first line of Task commands started with specials*
or>
, JumpList icon was not created properly. - conemu#431: Fix crash in EmergencyShow (Win10, closing ConEmu).
- Show in the StatusBar cygwin/msys connector’s PID as AltServer.
- Pass UTF-8 encoded strings to debugger (ANSI debug logging).
- ANSI: Implement
ESC [ 3 J
: dispose all backscroll lines (from xterm). - ANSI: Implement
ESC ] 9 ; 10 ST
- Request xterm keyboard emulation. - Testing purposes: Options
-a
and-s
inConEmuC -type
.-a
writes text to console using MBCS functions.-s
writes text to console byte-by-byte (streaming). Example:ConEmuC -t -a -s UTF-8-broken.txt
. - Improve UTF-8 support. In some cases, console output was broken.
- Internal. Reset m_Term on tab restart
- ANSI: Support xterm bracketed paste mode.
Console application should write
\e[?2004h
to enable and\e[?2004l
to disable bracketed paste mode. When mode is enabled, ConEmu sends pasted text to console input buffer framed into\s[200~
…\e[201~
. - ANSI: Long OSC sequences written splitted by writes were processed improperly.
- Don’t treat cygwin/msys connector as ‘Incomplete operation’.
- Warnings fixes (from Michael Lukashov).
Build 151122
- Minhook related: Try to change our imports to ease use of trampolines.
- Append optional switches to single-command tasks.
For example, there is default task
{cmd}
which has single command:cmd /k "%ConEmuBaseDir%\CmdInit.cmd"
. Now you may to run{cmd} /git
from NewConsole dialog or via-cmd
switch of ConEmu.exe. So, the result will be:cmd /k "%ConEmuBaseDir%\CmdInit.cmd" /git
. - ConEmu here: Suggest to start
{cmd}
task instead of barecmd
by default.- So the default command for ‘ConEmu Here’ will be
{cmd} -cur_console:n
.- Note. Prepend
/reuse /cmd
before task name, if you want to reuse running ConEmu window:/reuse /cmd {cmd} -cur_console:n
.
- Note. Prepend
- Default command for ‘ConEmu Inside will be
{powershell} -cur_console:n
.
- So the default command for ‘ConEmu Here’ will be
- DefTerm. Workaround for some weird command lines (CodeBlocks).
For example, in CodeBlocks:
C:\Program Files\CodeBlocks/cb_console_runner.exe "C:\sources\app.exe"
MSDN recommends to quotate paths containing spaces and specials, but CB ignores this guideline. - Try to bypass
start
if-new_console:z
specified (incmd.exe
prompt).
Build 151119
- conemu#412: Failed to restore window position on secondary monitor (d3da351 regression).
- Far Manager plugins ‘ConEmu Background’ and ‘ConEmu Underlines’ were not working on Windows 7.
- First user palette was multiplied on sequental TabMenu calls ‘View (palettes)’.
- On ‘Debug active process…’ always show ‘New console’ dialog. So user may run debugger in a split or even change debugger comand line.
- Allow to set hotkeys for debugging menu items.
- Debug active process (default is
Win+Shift+D
); - Active process memory dump;
- Active process tree memory dump.
- Debug active process (default is
- For debugger NewConsole dialog suggest ‘30%’ for split and don’t autoselect command.
- Debugger. Switch
/AUTOMINI
will create sequential mini-dumps.- So, it may be useful for creating ‘mini snapshots’ of running
application with specified time intervals.
After
/AUTOMINI
switch user may specify interval. Milliseconds:/AUTOMINI 500
or/AUTOMINI 500ms
; seconds:/AUTOMINI 5s
; and minutes:/AUTOMINI 1m
. - Create sequental dumps of 64bit PID=1234 with 500ms interval:
ConEmuC64.exe /DEBUGPID=1234 /AUTOMINI 500
- Note. Press
Win+Shift+D
(default hotkey) to open NewConsole dialog with prefilled command to start debugger on the active process in the active console.
- So, it may be useful for creating ‘mini snapshots’ of running
application with specified time intervals.
After
- GuiMacro:
Debug(<Action>)
allows to create debugger console or memory dumps.
Action=0: Debug active process (confirmation dialog with options)
Action=1: Active process memory dump...
Action=2: Active process tree memory dump...
Build 151115
- conemu#415: GetLastError returned
6
after WriteFile even on success. Shift
+Debug active process
allows to run debugger in a split. If menu itemDebug active process
is called withShift
key pressed, NewConsole dialog is opened (allowing to run debugger in a split).- ConEmuC Debugger. Don’t suggest to create MiniDump on MS_VC_THREADNAME_EXCEPTION.
- In some cases ConEmuC64 was started as server for 32-bit root process.
- conemu#94: Gray window on PuTTY when connected via local proxy command.
- Correct condition for attaching console app started from ChildGui (from conemu#94).
- conemu#419: Cygwin-friendly paths were pasted into Clink’s prompt.
- Option ‘Suppress bells’ added to ‘Features’ settings page. It suppresses annoying bells produced by echoing char(7), Beep and MessageBeep functions. ‘Inject ConEmuHk’ is required. Instead, ConEmu window (Frame/Title and TaskBar button) will flash one time if ‘Disable all flashing’ is not checked.
- Let palettes list (TabMenu) will not be too long. There are 25 predefined palettes now, and if user creates user-defined palettes, the menu had unhandy scrolling.
- Detection of ‘Active process’ is almost rewritten.
- Since now, ‘Active process’ is the last process started in console (same as before);
- But process used to select AppDistinct options must be interactive. For example, you
have defined AppDistinct settings, with palette
<PowerShell>
forpowershell.exe
and palette<ConEmu>
forbash.exe
andgit-bash.exe
. Than, palette will not be changed anymore when you just rungit status
from powershell’s prompt, it will be changed if onlybash.exe
is started directly from powershell’s prompt. That was impelemented to suppress colors flashing during non-interactive command.
- StatusBar column ‘Active process’ shows ‘Interactive’ and ‘Plugin is loaded’.
- Asterisk
*
after process name: process is reading keyboard input. - Sharp
#
after process name: ConEmu plugin is loaded in Far Manager.
- Asterisk
- Add ‘ConEmu Underlines’ and ‘ConEmu Background’ items to Far’s F11 menu (panels, editor, viewer).
Build 151109
- Move checkbox
Activate split/pane on mouse hover
to theControls
settings page. - Write process list changes and active process name to log (ConEmu -log).
- Write CtrlC/CtrlBreak and other console events to log (ConEmu -log).
- Don’t restart PC without confirmation after
CUP ALL
(chocolatey update). https://groups.google.com/d/topic/chocolatey/UvVVLpoBnCg/discussion -
Improve ConEmuC debugger output.
- A lot of ANSI fixes generally for plink fork.
- ANSI. Primary buffer was not restored properly if there was no backscroll.
- ANSI. Support tmux status line.
- ANSI. Fix some scrolling issues.
- ANSI. Sequence
ESC [ *a* ; *b* r
addresses working area coordinates. ANSI aware applications don’t know about backscroll (upper invisible area) buffer, they intend to work within ‘working area’ instead. - ANSI. New sequences are supported.
Sequence | Description |
---|---|
ESC [ n @ | Insert n (default 1) blank characters. |
ESC [ n P | Delete n (default 1) characters. |
ESC [ row d | Moves the cursor to line row (absolute, 1-based). |
ESC [ 7 m | Use inverse colors |
ESC [ 27 m | Use normal colors |
ESC [ ? 47 h | Same as ‘ESC [ ? 1047 h’ |
ESC [ ? 47 l | Same as ‘ESC [ ? 1047 l’ |
ESC [ ? 1047 h | Activate xterm alternative buffer (no backscroll) |
ESC [ ? 1047 l | Restore xterm working buffer (with backscroll) |
ESC [ ? 1048 h | Save cursor position |
ESC [ ? 1048 l | Restore cursor position |
ESC [ ? 1049 h | Save cursor position and activate xterm alternative buffer (no backscroll) |
ESC [ ? 1049 l | Restore cursor position and restore xterm working buffer (with backscroll) |
- ANSI. Report ‘xterm version 136’ on request to avoid problems in Vim, accessed by ssh on Unix machines, just let it think it’s an xterm terminal.
Sequence | Description |
---|---|
ESC [ > c | Reports ESC > 0 ; 136 ; 0 c |
Build 151101
- conemu#401: Fix:
Ctrl+~
doesn’t work on build 151029. - conemu#399: Use mouse for ConEmu’s selection instead of passing to cygwin’s vim.
- conemu#398: Fix: Taskbar previews don’t match tabs order.
- Fix: Win7 taskbar aero peeks appeared in wrong position if pad size was not null.