Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [escape-sequences]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
58 views

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 ....
0
votes
0answers
17 views

Support for Terminal Control Sequences

Old terminals like VT-100 actually used control function or control sequences and it is still today much widely supported by terminal emulators like xterm. The Linux console also implements a large ...
2
votes
0answers
124 views

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 ...
2
votes
2answers
330 views

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:]][!\"\#\$\%\&...
1
vote
0answers
261 views

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 ...
2
votes
1answer
338 views

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: ...
0
votes
1answer
359 views

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 ...
6
votes
3answers
11k views

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, ...
2
votes
1answer
613 views

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 ...
3
votes
3answers
2k views

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 ...
1
vote
2answers
6k views

“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[...
1
vote
2answers
468 views

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 ...
0
votes
1answer
210 views

How to stop grep matching in terminal escape sequences (or colorize to multiple colours)?

I've written a bunch of scripts to colorize matches, like this: $ echo abcdef | grepg c ab[green]c[/green]def $ echo abcdef | grepr e abcd[red]e[/red]f It also works when I chain it: $ echo abcef | ...