Maximus5 / conemu-old-issues

Old issues imported from googlecode. Project was moved to
https://conemu.github.io
6 stars 1 forks source link

Highlight a text #1513

Open Maximus5 opened 9 years ago

Maximus5 commented 9 years ago

Originally reported on Google Code with ID 1513

It'll be very nice if ConEmu can highlight custom string (multiline regexp string).

Consider situation where you heading/tailing file or just watching some command output
for a pattern.

Reported by mrbeeye on 2014-03-16 12:46:32

Maximus5 commented 9 years ago
some-command | grep --color=always -E "string|another|$" | tail

ConEmu can search for strings with Apps+F

Reported by sam.hasler on 2014-03-19 11:50:21

Maximus5 commented 9 years ago
I mean highlighting in realtime.

Reported by mrbeeye on 2014-03-21 20:44:31

Maximus5 commented 9 years ago
Requesting this feature enhancement: possibility to define custom colors for locally
typed/echoed characters and for output of commands. It's needed to distinguish between
commands and their output.

Reported by mrbeeye on 2014-04-27 18:15:50

Maximus5 commented 9 years ago
Hmm, how comment #3 relates to original issue?
I think, that your prompt color must be configured in your shell, but not in terminal.
Shells differs...

Reported by ConEmu.Maximus5 on 2014-04-27 22:27:37

Maximus5 commented 9 years ago
The main issues here is highlighting a text.
If shell does not support colors then what?
There's a commercial SSH client which has implemented ability to highlight custom string
in realtime. They're also working on highlighting local/remote echo. So 
users demand these features. And I can see no big difference between SSH client and
conemu.

Reported by mrbeeye on 2014-04-29 19:52:16

Maximus5 commented 9 years ago
So, can you show examples of how this feature is configured there?

The main difference between - ssh has full control on in/out streams, but ConEmu acts
on top of Windows console.
What is local or remote echo?
When you type anything in ConEmu - nothing is "printed" to console.
So, actually ALL echo comes from console, say it is all "remote".

Reported by ConEmu.Maximus5 on 2014-04-29 21:18:48

Maximus5 commented 9 years ago
Preview attached.

Reported by mrbeeye on 2014-04-30 16:29:40


Maximus5 commented 9 years ago
Issue 1225 has been merged into this issue.

Reported by ConEmu.Maximus5 on 2014-05-05 20:31:55

Maximus5 commented 9 years ago
Issue 654 has been merged into this issue.

Reported by ConEmu.Maximus5 on 2014-05-05 20:33:23

Maximus5 commented 9 years ago

Reported by ConEmu.Maximus5 on 2014-05-05 20:33:48

Maximus5 commented 9 years ago
Issue 1630 has been merged into this issue.

Reported by ConEmu.Maximus5 on 2014-07-02 09:36:53

Maximus5 commented 9 years ago
I want to backup this request. We have large outputs from our build system and it is
a pain to figure out the failing lines. What we would need is
- specify multiple search patterns (regex?)
- hightlight matching line
- jump-scroll to next/previous marked line (well, that would be nice)
Slower display performance is not an issue

Reported by ralf.schaefer.kl on 2015-03-19 07:07:22

Maximus5 commented 9 years ago
I using sed.exe (http://www.gnu.org/software/sed) to colorize build output. You can
define multiple expressions (-e). I attached an axample & sed.exe itself.

It is to Your fantasy to append sed stuff to build output :)

Reported by nanofoxxx on 2015-03-21 09:51:46


Busyrev commented 6 years ago

Is there any workaround? I`m using external tool that has no color support, but want to colorize some patterns or string. Can I send all output in console through sed or something else to colorize all that happens in console?

Maximus5 commented 6 years ago

https://conemu.github.io/en/AnsiEscapeCodes.html#Compiler_error_highlighting

Busyrev commented 6 years ago

Found no solutions. In this article described way how to pipe output form program to sed. Using this way I have to wrap all programs I use. My question is about processing all output from all programms, and coloring it.