惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
Netflix TechBlog - Medium
IT之家
IT之家
博客园_首页
Hugging Face - Blog
Hugging Face - Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
美团技术团队
小众软件
小众软件
博客园 - 叶小钗
WordPress大学
WordPress大学
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 三生石上(FineUI控件)
罗磊的独立博客
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Last Week in AI
Last Week in AI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
有赞技术团队
有赞技术团队
T
Tailwind CSS Blog
宝玉的分享
宝玉的分享
博客园 - 【当耐特】
月光博客
月光博客
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
酷 壳 – CoolShell
酷 壳 – CoolShell
人人都是产品经理
人人都是产品经理

dgl.cx

SSH port knocking with OpenBSD 7.9 SSH port knocking with OpenBSD 7.9 Bash a newline: Exploiting SSH via ProxyCommand, again (CVE-2025-61984) Switchable dark mode with 5 lines of JavaScript Images over DNS CVE-2025-48384: Breaking Git with a carriage return and cloning RCE Blink and you'll miss it — a URL handler surprise Using HAProxy to protect me from scrapers Déjà vu: Ghostly CVEs in my terminal title Restrict sftp with Linux user namespaces ""?! ANSI Terminal security in 2023 and finding 10 CVEs NAT-Again: IRC NAT helper flaws ip.wtf and showing you your actual HTTP request
Can your terminal do emojis? How big?
2025-06-24 · via dgl.cx

Emojis are great. They're particularly useful to put in the output of scripts and get some eye catching output. At least provided they aren't overused, just like colour.

$ important-command
Lots of output...
‼️  Something went wrong!
Some more output...

But bigger emojis are better, right?

The VT100, introduced in 1978 has a way to do bigger text. You can even play with this due to the wonderful PCjs VT100 implementation.

The way it works is you use the DECDHL (DEC Double-Height Line) escapes, to change the "style" of the whole line, it then uses a bigger font of which one line is the top half, the next line is the bottom half. (Based on how pixelated it is I think the VT100 just scales up the normal font.)

You can see if your own terminal supports this with:

printf '\e#3Hello world 👋\n\e#4Hello world 👋\n'

On the PCjs dual VT100s you can type that manually. Select the top terminal and blindly type [Esc], #, 3, Hello world, Ctrl-M, Ctrl-J, then [Esc], #, 4 and repeat the rest.

If you did it right in the bottom terminal you'll see:

An emulated VT100 displaying text, including a larger 'Hello world'

(If you get it wrong you can just use the cursor keys to move around.)

There's evidence a VT100 from 1978 can definitely do this. Can your terminal?

For extra fun when this is implemented correctly, combined with full Unicode support, you can "slice and dice" emojis, so for example:

printf '\e#3😑\n\e#4😶\n'

Renders on Apple Terminal and Windows Terminal as:

Big emojis in Apple Terminal Big emojis in Windows Terminal

This is combining Expressionless Face (U+1F611) and Face Without Mouth (U+1F636), which results in an emoji that doesn't normally exist.

We can obviously make less compatible combinations of emojis. How about Mars Attacks?

printf '\e#3🧠\n\e#4👽\n'

Or just further general silliness:

Not all terminals can do emoji and DECDHL, but it's fun to play with and very easy to add to scripts. Because it is just two lines repeated it also relatively nicely downgrades to just repeated text (this has been in the output of curl -i ip.wtf for a while, a few people have noticed that easter egg). There's a gist here that attempts to detect if your terminal supports DECDHL by testing for the feature rather than the terminal itself.

Alternatively, you might not want to use literal 1970s technology and be interested that Kitty recently introduced a more modern way to get different sized text in a terminal.

24th June 2025