Questions tagged [conemu]
ConEmu (short for Console Emulator) is a console window (terminal emulator) and tabbed environment for Windows.
277
questions
0
votes
0
answers
9
views
ConEmu: split shortcut + broadcast shortcut
New to ConEmu and need help to do the following actions:
How to set up a shortcut to open a new terminal as split, right or bottom ?! so far I can only do it via menu after many many clicks!
How to ...
0
votes
1
answer
39
views
fail to display block element correctly in terminal
When I use plotext to plot graph in Linux terminial which is connected via ssh, I find that it fails to display block elements correctly.
Here is the command I use
python3 -c "import plotext as ...
0
votes
1
answer
37
views
Console application/shell script with static "header" text at top of the window
I want to create an application with all of the traditional shell features (command history by pressing up/down, autocomplete with Tab, etc.) which will also allow for a couple of static rows at the ...
0
votes
0
answers
14
views
Issues with opening up four .bat scripts in ConEmu window with .bat code
Made code to start four of my .bat scripts in one ConEmu window with .bat code but it has some issues and only opens up one of them.
Code:
@echo off
setlocal
set "ScriptDir=%~dp0"
set "...
0
votes
0
answers
40
views
How to execute consecutive commands in Cmder using batch file, e.g. enter the shell of a Docker container and then execute another one?
I am using a batch file for the Cmder startup and here is what I have there:
ConEmu.exe /single /cmd cmd /k "%ConEmuDir%\..\init.bat & timeout 10 & docker exec -it processador-1 bash"...
0
votes
1
answer
299
views
How do I setup Oh My Posh inside conemu, without using powershell?
I can get it to work in powershell, but I do most of my coding/work, just for fun, using normal command prompt/batch files,etc.
But can't get it to invoke the init or theme, got it to work fine on ...
2
votes
0
answers
198
views
How does Chrome display esoteric unicode characters
Here are two cool and esoteric Unicode characters: ⌀ and ⎘. I'm trying to debug why these two characters aren't showing correctly in my ConEmu shell, which instead shows ugly rectangles with a ...
0
votes
0
answers
19
views
Prevening ConEmu from appearing on each and every virtual desktop
I am using ConEmu 150504 under Windows 10 Enterprise, release 21H2.
I use the virtual desktop capability of Windows 10.
When I start aConEmu session, the ConEmu terminal appears on each and every one ...
0
votes
0
answers
37
views
How do I use more than 16 RGB color in cmder/conemu?
Only 16 colors seem to work using this command line emulator, how do I use more colors ?
TrueMod (24bit color) support is already checked.
1
vote
1
answer
134
views
How to arrange on a grid conemu new consoles
I've read the docs about conemu regarding the switch -new_console but I find the syntax pretty confusing and I'm not sure how to create the exact grid layouts I want to.
Here's what I've got so far, ...
0
votes
1
answer
117
views
Running Rails commands in ConEmu using {bash::mintty} not working
Every time I run a Rails command such as rails -v in ConEmu using the {bash::mintty} terminal, I get the following error: unknown mingwarch "msys" (RuntimeError).
However, ruby -v works ...
1
vote
0
answers
15
views
It won’t let me change the file name variables.scss to variables.css
I'm using Conemu, and I’ve installed everything from zsh to sass.
I'm trying to convert variables.scss to variables.css, so I type this command:
sass variables.scss:variables.css
But I get an error
...
0
votes
1
answer
259
views
ConEmu and git for windows
When I setup a tab in conemu to use {Bash: Git bash} it works for a while then I eventually get an error popup that says
"The code execution cannot proceed because msys-2.0.dll was not found"...
-2
votes
1
answer
621
views
Run python files in Cmder/ConEmu vs code
By default, vs code runs the python file in the 'python' terminal it creates, but I want this to run in external terminal of Cmder/ConEmu. How can I do it?
0
votes
0
answers
735
views
Run a cmder/conemu task with bash script that executes a command but keeps running
I have the following as a pre-defined task in Cmder which should open gitbash and then run a command (in this case im just using "ls" for simplicity) on startup but keep the shell open.
> ...
1
vote
1
answer
173
views
How to differentiate multiple window instances of Cmder?
Good day!
I'm having a difficult time determining which window instance of Cmder I need when I'm doing Alt+Tab in window. All of my Cmder instances are just named [1/1] Cmder. Is there a way to ...
0
votes
0
answers
306
views
Running CONEMU from CMD with parameters
I have such a string
"Port knocking\knock\knock.exe" XXX.XXX.X.XXX 1111 & "Port knocking\knock\knock.exe" XXX.XXX.X.XXX 2222 & "Port knocking\knock\knock.exe" XXX....
2
votes
2
answers
1k
views
Cmder wrong colors using Windows Terminal
I am trying to use Cmder in Windows Terminal. I tried following this guide, and I did everything as it says.
However, there is a small issue. No matter what I do, the prompt background colour does not ...
1
vote
2
answers
741
views
Running a zsh alias with WSL in a ConEmu startup task
My current WSL2 + ConEmu + bash/zsh setup works as expected.
I have some aliases set up in my .zshrc:
//.zshrc
alias mycommand1="[does some stuff]"
alias mycommand2="[does other stuff]&...
0
votes
1
answer
584
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/...
2
votes
0
answers
427
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 ...
1
vote
0
answers
144
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
0
answers
98
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 ...
1
vote
1
answer
55
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
1
answer
100
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
0
answers
201
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
1
answer
525
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
0
answers
203
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
1
answer
80
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
0
answers
225
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
1
answer
820
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
1
answer
496
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.
...
2
votes
1
answer
8k
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
1
answer
2k
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
0
answers
143
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
1
answer
346
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 ...
1
vote
1
answer
43
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
1
answer
996
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 ...
5
votes
4
answers
857
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
0
answers
48
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
1
answer
390
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
1
answer
55
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
2
answers
741
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?
34
votes
5
answers
7k
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
1
answer
66
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
2
answers
99
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
1
answer
61
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
1
answer
269
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
0
answers
221
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
1
answer
572
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 ...