TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Fui: C library for interacting with the framebuffer in a TTY context

153 点作者 Bhulapi1 天前

14 条评论

abnercoimbre大约 23 小时前
It&#x27;s so cool to see more terminal(-adjacent) experiments! We&#x27;re overdue in evolving this space.<p>Self-plug: last month I demoed [0] my own terminal. The goal is to dispense with traditional shells and see what happens. It generated quite a bit of hooplah, with a 50-50 split on how people felt about it.<p>I&#x27;ll keep an eye on Fui; might come in handy for future Linux builds.<p>[0] <a href="https:&#x2F;&#x2F;terminal.click&#x2F;posts&#x2F;2025&#x2F;04&#x2F;the-wizard-and-his-shell&#x2F;" rel="nofollow">https:&#x2F;&#x2F;terminal.click&#x2F;posts&#x2F;2025&#x2F;04&#x2F;the-wizard-and-his-shel...</a>
评论 #43938294 未加载
评论 #43934114 未加载
评论 #43934345 未加载
评论 #43936711 未加载
评论 #43938074 未加载
评论 #43933806 未加载
评论 #43934002 未加载
markisus1 天前
Can someone explain what “the framebuffer” is? I’m familiar with OpenGL programming where the OS can provide a framebuffer for an application but I’m confused about whether there is a global framebuffer for the entire desktop. Is this a Linux specific concept?
评论 #43932303 未加载
评论 #43933082 未加载
评论 #43932676 未加载
评论 #43936679 未加载
评论 #43934007 未加载
clbrmbr1 天前
Awesome! Reminds me of the good old days of QuickBasic and SCREEN 13, when you could write very small programs with fullscreen graphics.<p>I still have not figured out how to do fullscreen graphics on my Mac.
评论 #43937909 未加载
评论 #43936418 未加载
评论 #43932528 未加载
评论 #43932471 未加载
kristianp1 天前
What does &quot;in a TTY&quot; context mean here? It doesn&#x27;t mean in a terminal window, right?
评论 #43934017 未加载
评论 #43933037 未加载
yazantapuz大约 11 小时前
Very nice!!! It remains me of the old days with pascal and msdos writing into A000:0000 :)
RetroTechie大约 21 小时前
This kind of thing begs to be run bare metal (no Linux fbdev using modern 3D GPU with a complex driver stack under the hood). Or some small RTOS at most.
评论 #43937930 未加载
antirez大约 19 小时前
Related, at a different layer of abstraction: Kitty graphical protocol, implemented also by Ghostty terminal emulator.
nimish1 天前
Interesting, I guess you could port LVGL to this and get a full GUI?
评论 #43932552 未加载
cellis1 天前
Super cool! Looks small enough to still be grokkable!
actionfromafar1 天前
Any license on this?
评论 #43932491 未加载
mouse_1 天前
Don&#x27;t type commands from the Internet, especially as root, especially when dd is involved. That being said,<p>If you&#x27;re ever bored, from a TTY, type<p>sudo dd if=&#x2F;dev&#x2F;urandom of=&#x2F;dev&#x2F;fb0<p>This provides a nifty demonstration of how both the framebuffer and urandom works.<p>you can also take a sort of &quot;screenshot&quot; in a tty by typing dd if=&#x2F;dev&#x2F;fb0 of=.&#x2F;shot.fb<p>and then you can view it by flipping those filenames around, so that the shot.fb is now the input and &#x2F;dev&#x2F;fb0 is now the output.
评论 #43932238 未加载
评论 #43942210 未加载
评论 #43932172 未加载
anthk大约 19 小时前
Remember SVGAlib and libggi? Maybe FUI it&#x27;s like the last one.
speed_spread1 天前
Are we TempleOS yet?
ivanbelenky1 天前
Awesome