On Wed, 20 Jun 2012 10:04:08 +0000 Nicolas Aguirre <aguirre.nico...@gmail.com>
said:

> I NEEEEED ls *.png displaying thumbs !
> Why nobody do that before ?

they have actually. there have been efforts like xmlterm (i heard of it years
ago then never again - it uses gecko/mozilla for terminal display and infra
and a lot of xml stuff) and similar other ones - one on webkit too (termkit).
there are even terminal specific extensions for displaying bitmap data inline.

https://github.com/breuleux/terminus

is doing it.

and termkit:

http://acko.net/blog/on-termkit/

i remember reading about xmlterm years ago and went "oh cool- i want that" but
i didn't want to go the whole xml route. also a whole gecko instance for a
terminal just offended me. termkit - similar tho leaner, still heavy. but the
OUTPUT and functionality is exactly what i wanted. to make this ultimately we
need replacements for many common cmd-line tools -> ls, cat, even a custom shell
(bash/zsh) or patches to them, that know how to format display for terminology
specially - probably via special extended escape sequences.

i would START with simple escapes to "pop up" images/media/video/music in the
terminal overlayed on the text. other escapes to request them to replace the
background. then begin with some special uses - side-bar media. eg play an mp3
and just show the play controls as a bar overlayed on the top of your term
while it plays (so not interrupting you like a popup until dismissed by
keystroke or mouse). then the next stage is being able to inline the media
overlayed on the text grid. this opens up to inlined cat's of images ls's of
thumbnails etc. this also then lives inside history unlike the
popup/sidebar/overlayed or bg media which are one-off's.

being able to, via escapes then pop up NICE visual progress bars (not ===='s
like now), that get inlined over the text, and pop up property radio/check
selectors for config tools with frames, buttons and entry boxes all inlined.
then its time to try something more interesting -> decorating text ala termkit
into nice units so u know something is a file, or an option or whatever. so
grep output can really highlight things better (more/better than grep --color
does now). of course shells need patching here. replacing some of the normal
tools is the easier bit. this is a long road to improvement, and things like
the movie bg stuff is just infra to build a base to ultimately do that.

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to