Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can't think of ways this could break things? I would find this a useful feature, but I'm also aware of how this works, and the issues it could cause.


It could, but this is a non-default tool focused on new use so the first question I’d ask is how many of the people using it are running the weird edge-case terminals where that’d break something. I wouldn’t want to end up in a Microsoft-style trap where nothing can improve because someone somewhere depends on strict fidelity with 1993.


No? Of all the esoteric escape sequences that terminals handle the ones that change colors are well trodden.


There are at least 3 different ways of expressing colour as covered by https://en.wikipedia.org/wiki/ANSI_escape_code#Colors, and given the wide propensity of newer terminals to misidentify what they are (I know I have some additional checking in my shell startup to unbreak things if needed), and/or bad termcap/terminfo settings on older systems, sending terminal sequences that are apparently supported but are not happens surprisingly often (enough such that I've made sure to always install two different terminals which use different rendering backends, e.g. xterm and VTE).


Will you install a new systemd version on such an old system with wrong termcap/terminfo settings or attached to a physical vt100?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: