Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
basicer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
Show HN: Prybar, a universal interpreter front-end
(github.com)
4 points
by
basicer
8y ago
|
0 comments
2.
▲
by
basicer
8y ago
We do!
3.
▲
by
basicer
8y ago
Neat! We were actually considering doing something like this with custom CSI sequences. Glad to see someone else has already picked some sensible ones.
4.
▲
by
basicer
8y ago
SSH only separates the streams when you don't request a PTY. For example try: ssh localhost -t 'echo hi 1>&2' 2>test vs ssh localhost 'echo hi 1>&2' 2>test
5.
▲
by
basicer
8y ago
We tried something like this. Minimal was still confusing a non-trivial percentage of the time. Testing locally it was around 0.9%, but in production under docker where execution is constrained to a single core, it seemed to happen much m
6.
▲
by
basicer
8y ago
You can actually set an environmental variable with any color code you want: STDERRED_ESC_CODE. As for color codes in stderr, they work in most cases. If all the color codes are in a single write(), it will more or less be unaffected by t
7.
▲
by
basicer
8y ago
Not sure what update-initramfs does exactly, but if you ever close(2) your going to be in a world of hurt, because the next file you open is going to have a bunch of junk written to it. At repl.it we don't put it in our .bashrc or anyt
8.
▲
by
basicer
8y ago
Not normally, no. The file descriptors sort of act like pointers. During normal execution in a pty, stdrr and stdout both point to the same device with the same buffer. Nothing is handling the order because there is only one buffer being