bildung.social ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Bildung unter den Bedingungen der digitalen Transformation.

Verwaltet von:

Serverstatistik:

853
aktive Profile

#ncurses

0 Beiträge0 Beteiligte0 Beiträge heute
codeDude :archlinux: :neovim:<p>Hey <a href="https://fosstodon.org/tags/FLOSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FLOSS</span></a> <a href="https://fosstodon.org/tags/FOSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FOSS</span></a> people check this project <a href="https://github.com/PlankCipher/kabmat" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/PlankCipher/kabmat</span><span class="invisible"></span></a> <a href="https://fosstodon.org/tags/kabmat" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>kabmat</span></a> is a <a href="https://fosstodon.org/tags/tui" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tui</span></a> <a href="https://fosstodon.org/tags/kanban" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>kanban</span></a> board. Honestly is the most beautiful <a href="https://fosstodon.org/tags/ncurses" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ncurses</span></a> implementation that I've seen</p>
profanity🎉️ Profanity 0.15.0 has been released 🎉️<br><blockquote>Profanity is a console based XMPP client written in C using ncurses and libstrophe, inspired by Irssi<br></blockquote>🙏️ 9 people contributed to this release.<br><br>✨️ Change default download location <code>/url save $someurl</code> will now download to <code>~/.local/share/profanity/downloads/from_jid/date/filename</code> instead of <code>~/.local/share/profanity/downloads</code>.<br>✨️ Introduce <code>/redraw</code> command<br>✨️ Handle alt+enter as newline char<br>✨️ ... and more ...<br><br><a href="https://devlug.de/social?t=profanity" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Profanity</a> <a href="https://devlug.de/social?t=xmpp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#XMPP</a> <a href="https://devlug.de/social?t=ncurses" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#ncurses</a><br>
/dev/LUGIch habe eben eine Demo Programm für ncurses gefunden: hanoi.<br><br>Ein sicherlich bekanntes Spiel,...<br><br><a href="https://devlug.de/social?t=linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Linux</a> <a href="https://devlug.de/social?t=gnu" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#GNU</a> <a href="https://devlug.de/social?t=ncurses" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#ncurses</a><br>
Santiago Piqueras<p>An update on my <a href="https://fosstodon.org/tags/ncurses" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ncurses</span></a> / <a href="https://fosstodon.org/tags/macos" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>macos</span></a> / <a href="https://fosstodon.org/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> saga <br><a href="https://fosstodon.org/@spiqueras/113905040731684351" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">fosstodon.org/@spiqueras/11390</span><span class="invisible">5040731684351</span></a></p><p>Refresher: the ⚷ is not printed when using ncurses on macOS. First I tested with Python, then with C, same result.</p><p>So I thought: can I _detect_ if it's being printed or not?</p><p>Turns out there's a function to query the (wide) characters that are being displayed: <a href="https://invisible-island.net/ncurses/man/curs_in_wch.3x.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">invisible-island.net/ncurses/m</span><span class="invisible">an/curs_in_wch.3x.html</span></a>. Yay!</p><p>But... it's not implemented in Python :( asottile tried for 4 years until he gave up <a href="https://github.com/python/cpython/pull/17825" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/python/cpython/pull</span><span class="invisible">/17825</span></a></p>
Santiago Piqueras<p>Update on my <a href="https://fosstodon.org/tags/ncurses" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ncurses</span></a> experience <a href="https://fosstodon.org/@spiqueras/113897021690181081" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">fosstodon.org/@spiqueras/11389</span><span class="invisible">7021690181081</span></a></p><p>I installed the latest ncurses from brew and compiled a sample <a href="https://fosstodon.org/tags/c" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>c</span></a> program. First time in 15 years that I compile C code that I wrote :D </p><p>```<br><a href="https://fosstodon.org/tags/include" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>include</span></a> &lt;locale.h&gt;<br><a href="https://fosstodon.org/tags/include" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>include</span></a> &lt;ncurses.h&gt;</p><p>int main()<br>{<br> setlocale(LC_CTYPE, "");<br> initscr();<br> printw("This character will not be printed: ⚷");<br> refresh();<br> getch();<br> endwin();</p><p> return 0;<br>}<br>```</p><p>And it does not work. So not a <a href="https://fosstodon.org/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> issue, but a curses-on-macOS issue.</p>
Santiago Piqueras<p>Sometimes you have one of those bugs you don't know who to blame for. This is me right now:</p><p>```<br>import curses</p><p>def main(stdscr):<br> stdscr.clear()<br> stdscr.addstr(0, 0, 'This character will not be printed: ⚷')<br> stdscr.refresh()<br> stdscr.getkey()</p><p>curses.wrapper(main)<br>```</p><p>The above <a href="https://fosstodon.org/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> code fails to print the character ⚷ (Chiron) in a Sonoma <a href="https://fosstodon.org/tags/macOS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>macOS</span></a>. Tested with Python 3.9 to 3.13, two terminal emulators, <a href="https://fosstodon.org/tags/ncurses" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ncurses</span></a> versions 6.0 (20150808) and 6.5 (20240427). I'm out of ideas.</p>
Kevin Karhan :verified:<p><span class="h-card" translate="no"><a href="https://transfem.social/@puppygirlhornypost2" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>puppygirlhornypost2</span></a></span> no, because that's just wasteful!</p><ul><li><a href="https://infosec.space/tags/ncurses" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ncurses</span></a> or bust!</li></ul>
profanityHello <a href="https://devlug.de/social?t=fediverse" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#Fediverse</a> \o/<br><br>Profanity is a console based XMPP client written in C using ncurses and libstrophe, inspired by Irssi.<br>Current stable release is <b>0.14.0</b>.<br><br>Website: <a href="https://profanity-im.github.io/" rel="nofollow noopener noreferrer" target="_blank">https://profanity-im.github.io/</a><br><br>apt install profanity<br><br><a href="https://devlug.de/social?t=profanity" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#profanity</a> <a href="https://devlug.de/social?t=xmpp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#xmpp</a> <a href="https://devlug.de/social?t=chat" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#chat</a> <a href="https://devlug.de/social?t=linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#linux</a> <a href="https://devlug.de/social?t=ncurses" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#ncurses</a> <a href="https://devlug.de/social?t=jabber" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#jabber</a><br>
Bardnet<p>That seems to be an issue in <a href="https://icosahedron.website/tags/lame" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>lame</span></a> project. The <a href="https://icosahedron.website/tags/autotools" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>autotools</span></a> file configure.in does not find <a href="https://icosahedron.website/tags/ncurses" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ncurses</span></a> with pkgconfig. Hence, it misses the required compiler flag for static linking. For that, -DNCURSES_STATIC flag has be manually added with CPPFLAGS or CFLAGS or CXXFLAGS variables.</p><p><a href="https://github.com/msys2/MINGW-packages/issues/10312#issuecomment-1142448264" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/msys2/MINGW-package</span><span class="invisible">s/issues/10312#issuecomment-1142448264</span></a></p>
cdrmack<p>BEHOLD! My todo-rs!💩 <a href="https://fosstodon.org/tags/rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rust</span></a> <a href="https://fosstodon.org/tags/ncurses" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ncurses</span></a> <a href="https://fosstodon.org/tags/todo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>todo</span></a> </p><p><a href="https://github.com/cdrmack/todo-rs" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/cdrmack/todo-rs</span><span class="invisible"></span></a></p>
Don Watkins<p>A gentle introduction to ncurses <a href="https://fosstodon.org/tags/ncurses" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ncurses</span></a> </p><p><a href="https://www.both.org/?p=7495" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">both.org/?p=7495</span><span class="invisible"></span></a></p>
cdrmack<p>Are <a href="https://fosstodon.org/tags/ncurses" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ncurses</span></a> the best way to crate UI for terminal based program in <a href="https://fosstodon.org/tags/rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rust</span></a> or should I check some other <a href="https://fosstodon.org/tags/crates" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>crates</span></a> too?</p>
:vfd: holm 🦻🏻🤯 :abc:<p>Ich hab mal zusammengemalt, wie man sich heutzutags komfortables mailen in der konsole hinter den kulissen vorzustellen hat... 🤔 </p><p><a href="https://social.saarland/tags/TUI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TUI</span></a> <a href="https://social.saarland/tags/desktopporn" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>desktopporn</span></a> <a href="https://social.saarland/tags/neomutt" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>neomutt</span></a> <a href="https://social.saarland/tags/linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linux</span></a> <a href="https://social.saarland/tags/ncurses" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ncurses</span></a></p>