Hi, I am looking for XOSD (X On Screen Display) library bindings for Haskell, of the kind of X::Osd [Perl]. I haven't been able to find anything on XOSD _and_ Haskell around, who knows better? Thank you and cheers, /Roy Lanek (West Sumatra) -- ______________________________________ # _ a@@ @[ # @#@@ @ _____ ___]F ___ ___ ___ __ __ ___ __ ___ # #@_# @ ^@###@ ###@]@@@@* ##* "*#_'#@###_ ""#@##F#W"7@ # __ "@ @ @ dE #" "]F 7@ @ dL @ #F @ #" F __# @## ]L @ @ @ # ][ # @ dL @ # # # @ #WW B @ _@___#@ #___@@ #L " _# 7@@@@L@__#" 7@___@ # #@@_ # 7#@#*"##*@@@ *##^@M @@@ @@E @@@"dL###" 7##W#@ # @__@+ # d@ #@L #"#* # #MMMMMMMMM Slackware Linux MMMMMMMMMMM
lanek:
Hi,
I am looking for XOSD (X On Screen Display) library bindings for Haskell, of the kind of X::Osd [Perl].
I haven't been able to find anything on XOSD _and_ Haskell around, who knows better?
I'm not aware of any binding to xosd for Haskell. You could certainly write one (to accompany the existing X11 bindings). In fact, this looks like something xmonad could use to visually indicate which screen has focus. Very interesting. Cheers, Don
You could certainly write one (to accompany the existing X11 bindings).
Would love to do it. It will be O( months ) before I even can fancy to (seriously) start such a task on the other hand. I am a newbie in Haskell, though, don't fear, I have seen functional programming from near (programming exercises in Miranda and Hope) once already. Currently I can manage to read Haskell, while the latter doesn't warranty that one knows how to write too (situation which is about to change for me) in the language.
In fact, this looks like something xmonad could use to visually indicate which screen has focus.
You can tell this better than me. Actually I am using XOsd in what I *modestly* pretend to be the most usable system monitor I have seen, or tried, a really (with reference the homonymous [subtract the 'ic'] movements) *minimalistic*-, or *essentialistic*-, flexible and configurable one. It's currently a stable *prototype* I have written in Perl after having got tired with GKrellM and friends along the years. I am using it 24/7 since more than one year together with Ion, the window manager (I couldn't care less of Ion's status bar; moreover, wasting a *line* makes a poor choice with notebooks' displays in general), though it's not bound to the window manager. After elvis (the vi clone), Mutt, mc (Midnight Commander), ELinks and the others, it has become the one thing I could hardly live without it--on a notebook in particular. And it's about time to rewrite it (it's GPLed just in case, though it hasn't been uploaded nowhere yet--no, I am not in search of a site: I own my domain names and have subscribed to hosting packages at my ISP), and to upgrade its status (away from: prototype) ... Haskell would make a good choice. Beyond that, I have read of XMonad. (Going to try it.) /Roy -- ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, # , (@@ @P # @#@@ @ L, ,, ,,,7F ,LL ,,, ,,, ,L , LLL ,, ,L, # #@ @ *@###@ ###@(@@@@* ##* "*#,'#@###, ""#@##F#W"7@ # "@ @ @ 7E #" "(F 7@ @ #L @ #F @ #" F ,,# @## #L @ @ @ # (F # @ #L @ # # # @ #WW B @ @ #@ #L,,@@ #L " ,# 7@@@@L@ ,#" 7@, ,@ # #@@L # 7#@#*"##*@@@ *##*@M @@@ @@E @@@"#L###" 7##W#@ # @,,@+ # #@ #@L #"#* # #MMMMMMMMMM Slackware Linux MMMMMMMMMM
lanek:
Hi,
I am looking for XOSD (X On Screen Display) library bindings for Haskell, of the kind of X::Osd [Perl].
I haven't been able to find anything on XOSD _and_ Haskell around, who knows better?
I wrote a reall quick binding for you, http://hackage.haskell.org/cgi-bin/hackage-scripts/package/xosd-0.1 Currently just the low level C binding, and some quick wrappers. A high level 'interpreter + attributes' like binding is next. If you know the C API, you can use it now. Cheers, Don
participants (2)
-
Don Stewart -
Roy Lanek