| ▲ | rasterman a day ago | |
there are in fact ways of drawing raw bitmap data in terminals - look up sixel for starters... but that's not what this is about. the escapes to do images and video are very simple and very lean in terms of i/o from pty to terminal - unlike sixel. i added this because it's useful. to me. and apparently to quite a few other people. as i've explained. a quick tycat file.mp4 or typop file.jpg or tybg file.mpg etc. - or even roll these escapes with echo's into your shell rc files... like you might change prompt colors with escapes when you su/sudo as root or you ssh into another machine and change the terminal title to alert you - you can use images and video to do this too. you can just not use the feature. fine. up to you. why should your lack of desire for it mean no one else gets a useful feature for them? it was not like adding the support was drastically difficult and i had to write an entire video codec engine. i re-used existing support that already wrapped it up in a nice little bow (i also wrote most of that support code in efl btw so i know what it can do, what it does and how it does it). i can ALSO use my gui in the normal way. i wrote a video player too: rage. plays video (and music too - snarfs album art for music if you have none too). i wrote a file manager or 2 or 3... they show thumbnails of files... can even pop up a video and play it in a tooltip popup... same libraries behind terminology do all the hard work. i can choose whatever workflow works for me at the time. i'm not limited to one way only. this softens the boundaries between workflows and brings some features of of workflow into another. it creates less of an abrupt "i have to switch" and more of a "i can just keep going for a while doing what i was doing". my new rewrite of efm (e's built-in filemanagger) also has a terminal-like worklflow. i can literally in the efm window type "ls ./dir" and it will liteally change to that dir and list/show it. same with "cd .." or "rm a.jpg b.txt *.png" and it will delete those files. you can even just run apps like "gimp file.png" .... and it knows gimp is a command and there is a desktop file for it and will let you know by putting an icon next to it.. and it'll just run the command with those arguments... this is the inverse of terminology - it's bringing some terminal workflow into a gui filemanager. it softens the boundaries. it allows you to use muscle memory you already have for more things. that's the point. terminology has other handy features that piggyback off the same extended escapes. tysend will do a zmodem-like transfer of a file via the terminal. and btw - the libraries that deal with images and video.. they can also load xls files... and pdf too - as images. it's how the filemangager can generate thumbnails for them... they can actually access arbitrary pages in a pdf - it's just a feature of the image loader. so a little wrapper and you can flip through rendered pages of a pdf... i just didn't do a "paged interface" in terminology like i did a video/audio one with play/pause etc. controls... i could pretty easily. :) easy enough to add though... but i'm busy with the filemanager work at the moment. | ||
| ▲ | em-bee 12 hours ago | parent | next [-] | |
this softens the boundaries between workflows and brings some features of of workflow into another. it creates less of an abrupt "i have to switch" and more of a "i can just keep going for a while doing what i was doing". some time last year i tried out that terminal plugin for the nautilus/nemo filemanagers, and it has changed how i work quite a lot. i always love doing things within a greater context. that's why i use tmux with a dozen sessions and half a dozen terminals in each. because instead of changing directories, each terminal is in a specific context and used for a specific purpose. combining a graphical filemanager with a terminal likewise puts that terminal into a context. unfortunately the integration is not great. the terminal keeps track of the directory if i use the filemanager to switch, but the filemanager does not track the directory of the terminal if i use the cd command to switch there. i can select files in the filemanager and drag them into the terminal to use as arguments to a command. but i'd also like the opposite: type a wildcard in the terminal to select files in the filemanager. the filemanager has that as an independent feature, but that's not convenient. how about i run a command that lists some files, and then have those files shown in the graphical filemanager. these things could all be better integrated. i have been looking for other filemanagers to offer terminal support, but i could only find dolphin, which unfortunately only shares one terminal between tabs. that doesn't work for me. i need a separate terminal per tab. the efm feature is cool. i just tried it by running e in a nested X server (Xephyr). but it doesn't go far enough. i'd like that combined with a real terminal so i can do any commandline action with the selected files. | ||
| ▲ | antisol a day ago | parent | prev [-] | |
Oh, damn, that sounds cool. I might have to give that a try. | ||