A Week In The TTY - Community & Forums Related Discussions
Today is sunday, the challenge starts on tuesday (IIUC). I spent the better part of this sunday in "TTY only". I already wish that there were no web forums and that we were all still using newsgroups/usenet. Or at least mailing lists. I also already miss katriawm. (I put quite some effort in that program and I love using it.)

Anyway, I already spend a great deal of time in terminals, so I feel well prepared. :)

Still, I changed a few things:
  • Wrote "getpw-screen" to have a password manager available.
  • Got "browser-inputline" to work with pmenu and a text mode browser.
  • Got my favorite bird webcam running using mplayer+fbdev2.

I'll be adding a "nixers tty week" to all related commits in my github repos bin-pub and dotfiles-pub.

Tried to create a PSF version of my font qsqs, but I failed. bdf2psf insists on resizing the font to a width of 8 pixels, which looks terrible. I'll stick with Terminus for now.

After I got the bird webcam working with /dev/fb0, I began reading a little bit about how to use that device from a C program. Looks quite simple, I wasn't aware of that. Let's see if I'll make use of it at some point.

Learned quite a few things. This day was already worth it. :)

(This is more of a "no X11" challenge than a "TTY only" challenge, isn't it? Because in a "TTY only" challenge, usage of framebuffer would be a no-go, wouldn't it?)
(19-06-2016, 04:23 PM)vain Wrote: (This is more of a "no X11" challenge than a "TTY only" challenge, isn't it? Because in a "TTY only" challenge, usage of framebuffer would be a no-go, wouldn't it?)

Whichever you feel more comfortable with.
Some will do it without framebuffer, that's what I'm gonna try.
It's on!
I'm posting this from my TTY inside links browser.

Happy TTY week everyone.
gl xero..............
Been playing with the framebuffer yesterday. I was trying to write a C program that displays an image at the cursor position. My proof of concept works. However, I quickly realized that all of this is really "hacky": The Linux VT itself and all other programs fight for the framebuffer and overwrite each other. Even the *cursor* is problematic. And, of course, when you're using a terminal multiplexer and you switch between virtual terminals, the Linux VT wins and all "framebuffer content" (images, videos, ...) is lost.

It would be awesome if all terminals had RGB capabilities. "Display an image at character position (x, y)." I know that there are some prototypes that can do this. XTerm also has its sixel mode. But none of these really took off. :/

As expected, it's not that hard for me to adapt to "TTY only". I discovered GNU screen's "bufferfile" and "readbuf" commands, very handy. Browsing the web with elinks or w3m is totally annoying. What's fun and has a great feeling of nostalgia: Browser gopher space with lynx and reading mailing lists/usenet.
Not sure if it counts, but Ive been using the tty only since thursday (not at work, for personnal use only). Ive been reworking my "pm" code to add features/fix bugs/refactor. all this with just a few connections on the internet, using my phone as an access point to push my job ^^
I can't quote without JS so...

@vain: The framebuffer is genuinely awkward. Sometimes it refreshes the content of the screen sometimes it doesn't, leaving the ghost of an image or video.
I've use mplayer with the fbdev2 video output and for that matter you want to spawn it away from text that refreshes frequently otherwise it'll keep flickering. As a solution/hack I've used the -geometry option, which also works in the tty, you can change the position of the window with this technique.

@z3bra: That's ok, you're still in the spirit of this holy holiday.
I took many breaks, for the web with javascript. I wanted to use roundcube at http://webmail.gandi.net and access my university website.

I was using webmail, because my only MUA (mail client) is s-nail [1], that I did not knew well so this TTY week this made me use it more, with nice side effects:

Thank to a few commands read from the man page, it took me about 20 minutes to organize my whole super-messy var/mail/INBOX (EDITed it for clarity):

$ mbsync -a                               # Get the messages with isync
$ cd var/mail                             # Go to my maildir
$ s-nail                                  # Start s-nail prompt
? from @univ-rennes1.fr                   # List messages from *@univ-rennes1.fr
? move univ-rennes1.fr list_univ-rennes1  # Move them to this folder
? from (to @suckless.org)                 # List messages sent to *@suckless.org
? move (to @suckless.org) list_suckless   # Move them to this folder
? quit                                    # Apply changes and quit
$ mbsync -a                               # Sync the changes back with server

And so-on, and so-on... Of course, it is possible to have these commands in a script to automate the process, and then filtering the INBOX.

It feels like I cleaned and tidied my room: with the mind light and free!

PS: I decided to stop thanking z3bra for its blog post about it, as it would be something like the 5th time in two month... ^_^'

[1] mail/mailx have two modern implementation: heirloom-mailx and s-nail. Only the former compiled no my machine, so that is the one I use.
I also really like s-nail. I found gpg quite hard to integrate,
but overall it is really cool (I should read the man-page, but
that won't take that much time).
Finally got around the ugly shit nvidiafb is, and I'm now using vesafb. We'll see how it goes :)

The lack of colors is annoying though... My screen right now: https://p.iotek.org/vd7

Members  |  Stats  |  Night Mode