Questions tagged [conemu]
ConEmu (short for Console Emulator) is a console window (terminal emulator) and tabbed environment for Windows.
264
questions
0
votes
2answers
78 views
Running a zsh alias with WSL in a ConEmu startup task
My current WSL2 + ConEmu + bash/zsh setup currently works as expected.
I have some aliases set up in my .zshrc:
//.zshrc
alias mycommand1="[does some stuff]"
alias mycommand2="[does ...
0
votes
0answers
19 views
Copy windows path into linux based terminals: Conemu, Cygwin, Git Bash
When I copy a windows path from windows explorer's location bar, C:\Users\Administrator\Links, it gets automatically translated to one of the following:
Cygwin in Conemu:
/mnt/c/Users/Administrator/...
0
votes
0answers
9 views
ESC not functioning when connect to Linux Emacs from Conemu
I'm using Conemu as an interface of gitbash, to ssh into my ubuntu server.
I run Emacs27 in this term mode.
Everything work well except this ESC, instead of the normal behavior, it displays 'ESC' in ...
0
votes
0answers
17 views
Batch file that launch commands in CMDER
I need to find a way to execute commands in bat file via cmder.
When I put start -cur_console:s1T50H -cur_console:d:C:\Users\MY\Path\ inside cmder its open another shell as i want.
What should I do to ...
0
votes
0answers
22 views
Neovim display and keymaps issue with CoC and Cmder
Good day!
I'm currently using Cmder + Neovim + Coc and I'm having issues on it.
First, the display gets disrupted when I open a vertical split whenever the file has a long line on it. It goes to the ...
0
votes
0answers
29 views
ConEmu.Control.WinForms: not able to run sequence of commands
Trying to adapt existing C# samples of WinForm hosting ConEmu control to run a sequence of tasks but with no success: I am experiencing odd behaviours from the ConEmu WinForm control, I am scratching ...
1
vote
0answers
23 views
How to pass a BASH script parameter to ConEmu?
How can I pass a bash script command line parameter to ConEmu?
For example I would like to execute MyBashScript.sh on startup.
ConEmu64.exe /??? MyBashScript.sh
1
vote
0answers
28 views
Trying to launch Windows Subsystem for Linux (WSL) through ConEmu and provide additional commands
I have a service I want to run with the "make run" command in WSL via a new task in ConEmu. Right now I have in the commands section:
-new_console:d:C:\pathtofolder\folder wsl
How do I add ...
0
votes
0answers
26 views
Cmd/PowerShell/Cmder backwards autocompletion don't work as intended
I have a problem on a computer using Windows 10 Pro 1903 build 18362.535 with the autocompletion of any console I've tested.
On my home computer I can do: cd .. + (Press TAB) and the result is cd ..\ ...
0
votes
0answers
8 views
Can't get ConEmu and Python Poetry to play nicely with each other
When I type something like:
poetry --version
I get in ConEmu:
Poetry version ←[36m1.1.4←[0m
This makes Python Poetry unusable as there are codes all over the place instead of text.
Even though I ...
1
vote
1answer
25 views
scanf() no carriage return after printf()
I have the following code that reads 4 numbers from user input:
#include <stdio.h>
#include <stdlib.h>
#define MAX_NUMS 4
int main()
{
int nums[MAX_NUMS];
int i;
int num;
...
0
votes
0answers
23 views
ConEmu run {cmd} instead of cmd.exe
When I run cmd in the "windows start/search" then ConEmu opens with "C:\WINDOWS\system32\cmd.exe".
Then, if I open a new tab then it opens properly a new {Shell:cmd}
How can I set ...
0
votes
1answer
48 views
ConEmu - Tasks for different Ubuntu Distributions
I am opening in ConEmu my default WSL2 terminal with the task:
wsl.exe ~ -cur_console:pm:/mnt
Until now I had just one Linux Distribution in WSL2 - Ubuntu-18.04.
Now I have the second machine on WSL2 ...
0
votes
0answers
26 views
Conemu: How to open directory in a current open tab?
I am trying to create Conemu task just to open some directory in the current console. This task setup, for example, opens this directory in a new powershell tab:
powershell.exe -new_console:d:C:\Users\...
0
votes
1answer
28 views
How to know if running in ConEmu?
I have a Java program, which emits ANSI escape sequences to generate colored output in a terminal. This works on Linux out of the box and it works on Windows, if the program gets executed in ConEmu. ...
0
votes
0answers
67 views
How to set cursor to thin in insert mode, while still being block in nomal mode
I have tried a lot of things from all over Stack Overflow, and I guess it's something related to conemu, I am using conemu. It's so pain to see spot every second while I'm in normal or insert mode.
I ...
0
votes
1answer
332 views
Setting {WSL::Bash} as default shell throws an error in cmder
note: backend error output: -v: -c: line 0: unexpected EOF while looking for matching `''
-v: -c: line 1: syntax error: unexpected end of file
ConEmuC: Root process was alive less than 10 sec, ...
0
votes
1answer
105 views
Change directory and run command in ConEmu tasks
I'm trying to create ConEmu task in Cmder, I want to navigate to particular directory and run a SSH command and using git-bash for this. I'm able to change directory but can't run the SSH command.
...
1
vote
1answer
4k views
“The filename, directory name, or volume label syntax is incorrect” error occurs in specific circumstance
This is a batch script activate.bat from the project w64devkit v1.3.1
@set PATH=%~dp0\bin;%PATH%
@busybox sh -l
I get error "The filename, directory name, or volume label syntax is incorrect&...
1
vote
1answer
504 views
xterm-256 support for git bash
I am trying to enable xterm 256 color via git bash. It turns out there are 2 ways to start a git bash in Windows.
windows cmd, run this git-cmd.exe --command=usr/bin/bash.exe -l -i
mintty, run git-...
0
votes
0answers
14 views
An error occurred while configuring CONEMU
After some settings, an unexpected error occurred in the conemu application. Instead of the text that should look modified, a standard console appears, but in the application shell. Resetting the ...
0
votes
0answers
29 views
ConEmu CTRL+C not passed to grep in wslbridge.exe
I am using ConEmu with the wslbridge.exe. I am incapable to pass down CTRL+C to cancel a grep that takes too long. Or an ls or any long command that displays stdout. I've followed this answer but ...
0
votes
1answer
55 views
ConEmu: how to open a standard windows cmd.exe window from conemu (and execute a command - e.g. start a batch file)
I need to open a legacy app which requires a standard cmd.exe
I would like to be able to spawn it from a batch file (.bat) and run it from command line in ConEmu
Don't see a way to do that.
start and ...
0
votes
1answer
26 views
Switching tab using conemu GuiMacro Tab() function does not work
I have the following conemu GuiMacro's defined
<F9> - Tab(3)
<F10> - Tab(2)
When I press the keys, I see the previous/next tab being highlighted in the tab bar, but the highlighted ...
0
votes
1answer
277 views
How to execute a command in current tab in Cmder (ConEmu)
I use Cmder to log into SSH with multiple tabs. I always run the same commands on each of them. I tried automating it, but Cmder always tries to run the commands from my local cmd.exe rather than the ...
2
votes
2answers
283 views
ConEmu/cygwin newlines don't perform carriage return functionality
I upgraded Cygwin and now Bash is acting weird. Newlines aren't always returning the cursor to the left side of the screen, but sometimes they do. Here is what I'm experiencing:
$ echo hello
...
1
vote
0answers
24 views
Tab dont work well when I use linux screen in ConEmu?
ConEmu version preview-191012. Screen version 4.00.03 (FAU) 23-Oct-06.
I connect to remote machine and attach to screen in ConEmu.
If I press 'tab' to autocomplete filename, the cursor will move ...
0
votes
1answer
86 views
ConEmu/Cygwin: 'ls -ls' command line does not return an aligned output
I've installed Cygwin v3.1.2 (0.340/5/3) and ConEmu v20191012 (64bits)
When I run the command line below
c:\temp>ls -ls
total 0
0 -rw-rw-r--+ 1 me None 0 Jan 5 12:40 fileA
...
0
votes
1answer
30 views
Small text in new window after launching exe with shift+enter in FAR
Sometimes I need to launch exe or bat file in separate window, I always did it with shift+enter.
On Win7 there was no issues, now I have switched to Win10, and when I launch program via shift+enter I ...
0
votes
1answer
230 views
cd back to previous location in Cmder
In bash you can type:
cd -
to go back to your previous location.
How do I do this in Cmder?
29
votes
5answers
5k views
Conemu doesn't work with wsl since windows update
Since I have updated windows, my conemu terminal is giving me the following error each time a session is created:
wslbridge error: failed to start backend process
note: backend error output: -v: -c: ...
0
votes
1answer
24 views
ConEmu text is too faint
I've just installed ConEmu for the first time on my Windows laptop (Windows 10, ConEmu 191012 Preview). But for some reason the text in all the windows is really faint. I've Googled and search Stack ...
0
votes
2answers
86 views
Initiate ipdb from Vim in another ConEmu Tab
Struggling to initiate another ConEmu Tab from Vim
My procedure was:
Vim is started from ConEmu
Issue a command from Vim to open new tab and start ipdb.
My idea was:
:silent !ConEmu.exe /cmd {...
0
votes
1answer
19 views
How to get ConEmu tab index from command line?
I am writing script to setup environment variable based on tab index. eg.
if tab 1 cd /d c:\proj1
if tab 2 cd /d c:\proj2
etc.
1
vote
1answer
54 views
Embed MingW prompt window into ConEmu
I failed to embed MingW window into ConEmu. I basically copy-pasted the Git Bash command for ConEmu Settings > Starup > Tasks:
set "PATH=%ConEmuDir%\..\msys64\usr\bin;%PATH%" & %ConEmuDir%\....
0
votes
0answers
88 views
Blinking is off - Still cursor blinking - ConEmu and Cmder
I have this issue where cursor is constantly blinking in Cmder with windows 10 . If I switch off blinking from Settings=>features=>Text Cursor is still blinking in fact faster then when this setting ...
2
votes
1answer
188 views
Running command on task startup
Im trying to run a command in conemu when I open up a console from a task.
For example, I want to open a bash terminal and run node -v to see my current node version. My Current task commands look ...
0
votes
1answer
106 views
ConEmu closes immediately
After deleting working (and quite old version of) Conemu from my laptop by mistake I tried to install it anew. But now, clicking on the icon, the window opens and immediately, in half a second, closes....
0
votes
1answer
564 views
Cmder cursor and highlight issues with Neovim
Currently in normal mode and the cursor is still just a | instead of the usual block
This doesn't change regardless of the mode, I have tried reinstalling both neovim and cmder and the same result ...
0
votes
1answer
383 views
conemu - start multiple commands in new window
I have the following run.cmd file. This runs 2 scripts (a webserver and a watch script) and opens a new console. All good.
How can I run all these scripts to be opened in a "new window" conemu ...
3
votes
1answer
670 views
Keep ConEmu screen buffer after exiting vim
I am using ConEmu/cmder on my windows 10 machine, Whenever I open/edit a file using vim and exit the screen gets cleared and doesn't save the previous state/contents. Is there a way to resume my work ...
0
votes
1answer
544 views
Run two commands synchronously in a split terminal
I would like to launch my development server using a single launch script in a split console with ConEmu. It can be a ConEmu task, a batch script, or whatever it takes. I have achieved this with Gulp ...
0
votes
1answer
75 views
I want to call my script when command not found in bash (cmder)?
If the Command is not found in bash(cmder).
Then i need to call my batch or shell file.
and execute custom code to print result instead of default
bash: foo: command not found
Is there any settings ...
0
votes
0answers
159 views
Change the default value of the “Startup directory for new process” in the “Create new console” dialog
How do we change the default value for the Startup directory for new process? Out of the box the default is my user directory C:\Users\bigfo.
My current workaround is to change the {Bash::bash} task ...
0
votes
2answers
3k views
Using CMDER, issue with setting PATH
I'm trying to use CMDER for a development environment that I've setup.
Basically I've created a .bat file that calls:
@ECHO OFF
start Z:\_DEV\OS_WINDOWS\9_MISC_TOOLS\CMDER\Cmder.exe
Then I've placed ...
0
votes
1answer
103 views
Can I display “bold” characters instead of “intense/bright” in ConEmu?
I want to display bold characters in WSL through ConEmu (currently using ConEmu 190331 x64).
When I print the following echo -e "FROM NOT BOLD \e[1mTO BOLD\e[0m", I get this Image to ConEmu
As you ...
0
votes
0answers
61 views
Text expansion in Cmder / ConEMU
A long time ago, I set my Cmder (ConEMU) to expand "~" to C:\Users\%USERNAME%.
Embarrassingly, I have forgotten how I did it.
Now I'd like to un-do it.
I've checked my alias files and ran "...
1
vote
0answers
249 views
Encoding of redirected file
I'm trying to redirect the output of a python script into a new file, using the Cmder/ConEmu Tool on Windows 10. The output will be containing non-ascii characters, and I need the encoding of the new ...
-1
votes
2answers
470 views
One-line ping answer with time and RTD on Windows
How to get the time and response round-trip delay (RTD) of a ping command?
ping 10.11.12.13 -n 1
every second in the following format:
[time] [delay]
[time] [delay]
[time] [delay]
...
...in a ...
2
votes
1answer
2k views
WSL Bash with ZSH integrated in ConEmu - Open Here Issue
I am using Ubuntu Bash with ZSH installed on WSL, Windows 10.
Command in (ConEmu Task settings):
"%WINDIR%\System32\wsl.exe ~" -cur_console:p
Command in (ConEmu Integration settings):
-...