mathstodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for maths people. We have LaTeX rendering in the web interface!

Server stats:

2.8K
active users

#terminal

24 posts22 participants3 posts today
Continued thread

Of course, this new credentials checker in #swad needs a #tool to edit these #password files, that's currently work in progress.

I just implemented the class for reading a password, pretty simple thing from a pipe, but an "interesting" job from a #terminal. Turns out doing that portably, reliably and secure needs quite some code. 🙈

There's #getpass, but that's deprecated for good reasons (global state and not perfectly clear how it deals with #signals that could interrupt the input). And there's the sane replacement #readpassphrase in *some* systems (e.g. #FreeBSD), but that's not portable. 🙃

So, plain old #tcsetattr it is, with some signal handling on top:
github.com/Zirias/swad/commit/

Add Password class, implementing password input methods:

* terminal, disabling echo, showing prompts and requiring the input
  twice to verify there are no typos
* plain stdin, only if allowed (e....
GitHubswadpw: Implement password input · Zirias/swad@447f480Add Password class, implementing password input methods: * terminal, disabling echo, showing prompts and requiring the input twice to verify there are no typos * plain stdin, only if allowed (e....

Estou simplesmente encantado pelo navegador #Offpunk/ #XKCDpunk, desenhado pelo escritor belga @ploum. É um navegador para protocolo #Gemini, que roda totalmente no #terminal do sistema e que pode funcionar sem internet, mantendo páginas visitadas ou agendadas em cache.

Agora passo a maior parte do meu tempo no computador desconectado e a sensação é ótima. Eu adoraria que tivesse algum cliente para #Fediverso que funcionasse da mesma forma. Vocês têm notícias de algo assim?

Por favor, deem aquele :boostgif: gostoso.

@tecnologia

Today I learned about Control-S and Control-Q… better late than never, I guess 😉

And just got me thinking about that helpful “scroll?” at the bottom of my ZX Spectrum after printing a screenful of content in BASIC…

#TIL #TodayILearned #Terminal #shell #suspend #ControlS #CtrlS social.jvns.ca/@b0rk/114354742

by default, pressing Ctrl+S will freeze your terminal (and Ctrl+Q will unfreeze)

I have never wanted this in my life, you can turn it off with stty -ixon

(fish turns it off by default)
MastodonJulia Evans (@b0rk@jvns.ca)Attached: 1 image anyway a much more practical use of stty is to disable `Ctrl+S`

I've come to the conclusion that the command line is peak UI. It's fast, and it doesn't freeze as often. I had an issue where I tried to delete a task in the Windows Task Scheduler and every time I would try, the UI froze on me. I piped the below into Powershell and it was deleted! No lag, no nothing!

Unregister-ScheduledTask -TaskName "RClone Backup Writings"