Questions tagged [escape-sequences]
20 questions
19
votes
4 answers
MobaXterm backspace sends ^H
Long question:
I'm trying to test my simple HTTP Server by Telnet-ing alot of requests and seeing how the server reacts. But when i make a typo and press Backspace to erase the previous character, MobaXterm sends ^H instead of removing the character…
DutChen18
- 333
4
votes
3 answers
Ctrl+TAB is not working in vim with gnome-terminal
I have a serious problem.
Usually, the editor I use is vim, though I can't map ctrl+tab action.
I wanna switch tabs with ctrl+tab (ctrl + shift + tab).
In xterm, this mapping is enabled, and the action will be used.
But, in gnome-terminal, tab is…
4
votes
2 answers
Slack Popups have started containing escape sequences
My Windows 'pop-ups' when I receive a slack message have started (maybe in the last few days / weeks?) to have escape characters in them. e.g. '
When I view the message in Slack (web, or desktop App) it's fine; just the Pop-up.
It's happening…
Brondahl
- 304
4
votes
0 answers
Tools for converting 8-bit C1 control characters to ESC sequences?
The ECMA-48 ("ANSI escape sequences") standard describe two ways of encoding the C1 set of control codes: using 2 character ESC sequences, or alternatively, using 8-bit control characters.
Wikipedia articles explain that the two character ESC…
Rehno Lindeque
- 161
3
votes
1 answer
VTE Escapes Sequences
I'm investigating a problem where messages like
]777;notify;Command completed;uname⏎
show up in Terminal after executing uname. This is not limited to uname, this is only an example. I boiled it down to VTE Escape Sequences not properly passed to…
bot47
- 1,922
2
votes
2 answers
"Less" prompts for "binary file" display when colors in output
We've recently enabled colouring the log files of a few services, I believe we use ANSI escape sequences for that. Looks like this:
[2014-06-12 10:56:43,214] [main] [VOID] ESC[34mINFO ESC[0;39m ESC[36mc.a.m.p.s.config.DataSourceConfigESC[0;39m
My…
reinhard.codes
- 165
2
votes
1 answer
Terminal escape sequences in GNU Screen
So I'm quite confused with the concept of escape sequences in a terminal (or terminal emulator to be more precise) and how they relate to the screen bindkey command. I was looking at some sample .screenrc file that I found on the internet where I…
eciii
- 131
2
votes
2 answers
How can I substitute a quote in bash script
I have this bash script
#!/bin/bash
find . -type f > /home/wschrabi/filenames
while read filename; do
stripped="$(printf '%s\n' "$filename" | tr -d -C '[[:alnum:]][[:space:]][!\"\#\$\%\&\(\)\*\+\,\-\.\/\:\;\<\=\>\?\@\[\\\]\^\_`{|}~]')";
…
2
votes
1 answer
Script SSH Interactive Console that needs escaped chars
I would like to modify my existing SSH connection via a shell script. So if I run an existing script remotely I would like it to open a new port to be tunnelled.
Interactively I can do this via:
ubuntu@6c1a17c3864c:~$ ~C
ssh> -R…
Luke Exton
- 271
1
vote
2 answers
Is it possible to change meaning of ANSI escape codes for colors?
I'm using a Git Bash (1.8.3) under Windows 7.
Many of the command line tools come with the text highlighting using ANSI escape codes. However I've noticed the exact interpretation of the colors differs between the platforms.
For instance, on…
jakub.g
- 4,904
1
vote
1 answer
How to create a consecutive between 2 number in excel
For example, I have 33 in cell A1, and 40 in cell B1, I want a formula in cell C1, to write an arithmetic sequence from 33 to 40 like this: 33, 34, 35, 36, 37, 38, 39, 40
Saher Naji
- 45
1
vote
1 answer
Ctrl-V in TTY not escaping Ctrl-C
For the record, this has nothing to do with copying and pasting, which is likely why it's so difficult to find an answer.
I am attempting to insert a literal CTRL-C character into a stream from a TTY. In most cases, that means the character 0x03.…
Caleb Stewart
- 203
- 1
- 2
- 10
1
vote
1 answer
What are these escape codes/sequences?
Searching Excel with no luck for text sequences that I knew where there was driving me insane. I was copy-pasting search terms from a website Digi-Key (digi-key.com) and searching for them in an Excel database.
I finally figured out what was wrong…
Ben
- 11
1
vote
0 answers
Using PCL3e escape sequences on an HP Officejet Pro 8630 to duplex on the long edge
I'm trying to print raw, plain ASCII text (e.g. IETF RFCs, which contain form-feed characters for automatic pagination) by sending it directly to port 9100 on my HP Officejet Pro 8630. The specifications state that the printer supports PCL3e and…
bwDraco
- 46,683
0
votes
1 answer
Switch bold font in Urxvt at runtime
As seen in the man page, one can switch the font in Urxvt using:
printf '\33]50;%s\007' "xft:Terminus:pixelsize=20"
However, having the following line in ~/.Xdefaults will cause bold fonts to not change:
urxvt*boldFont:…
qubodup
- 9,394