TE
TechEcho
AccueilTop 24hRécentsMeilleursQuestionsPrésentationsEmplois
GitHubTwitter
Accueil

TechEcho

Une plateforme d'actualités technologiques construite avec Next.js, fournissant des nouvelles et discussions technologiques mondiales.

GitHubTwitter

Accueil

AccueilRécentsMeilleursQuestionsPrésentationsEmplois

Ressources

HackerNews APIHackerNews OriginalNext.js

© 2025 TechEcho. Tous droits réservés.

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

71 pointspar Bhulapiil y a environ 5 heures

9 comments

clbrmbril y a environ 4 heures
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.
评论 #43932528 未加载
评论 #43932471 未加载
markisusil y a environ 4 heures
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 未加载
kristianpil y a environ 3 heures
What does &quot;in a TTY&quot; context mean here? It doesn&#x27;t mean in a terminal window, right?
评论 #43933037 未加载
nimishil y a environ 3 heures
Interesting, I guess you could port LVGL to this and get a full GUI?
评论 #43932552 未加载
cellisil y a environ 3 heures
Super cool! Looks small enough to still be grokkable!
actionfromafaril y a environ 4 heures
Any license on this?
评论 #43932491 未加载
mouse_il y a environ 4 heures
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 未加载
评论 #43932172 未加载
ivanbelenkyil y a environ 5 heures
Awesome
speed_spreadil y a environ 2 heures
Are we TempleOS yet?