About Archive Tags RSS Feed

 

Well, personally, I'm here because I need a job.

18 October 2008 21:50

A busy few hours last night hacking at tscreen, and again today.

I'm now very pleased with the functional aliases:

#
#  Caption toggle
#
alias caption_off  eval "caption splitonly"
alias caption_on   eval "caption always"

#
#  Status toggle
#
alias status_off   eval "hardstatus ignore"
alias status_on    eval "hardstatus alwayslastline"

#
#  Disable both caption and status, and show a message.
#
alias fullscreen   eval "status_off" "caption_off" "echo 'fullscreen'"
alias captioned    eval "status_on"  "caption_on"  "echo 'captioned' "

#
#  Bind these functions to keys
#
bind f eval fullscreen
bind F eval captioned

I've made binary & source packages of a slightly earlier version of the code available for Etch and Sid - both AMD64 - and I'll release another update once I can drop the need for that eval usage in the "bind" and add TAB completion for aliases.

ObQuote: Passage To India

| 10 comments

 

Comments on this entry

icon ulrik at 21:12 on 18 October 2008
Hey! Very cool and I agree about your vision. Forking is just one of the things that make F/OSS superior, one of the parts of collaboration and mutual competition that improves software.
So I'm here to mention my favorite bug.. Encoding errors! So in my locale the day names contain some non-ASCII characters. And even though my locale is UTF-8 all the way through, somehow it's impossible to get the builtin date things (in hardstatus) to decode properly. Also (IIRC) working around it with backtick does not help.
icon TheGZeus at 23:34 on 18 October 2008
Add vertical split, and dvtm becomes meaningless to me. In fact this would be preferable. I also think making 256 colors a config option instead of the default is weird.
icon Steve Kemp at 00:19 on 19 October 2008

TheGZeus - The virtical split is there, as of the latest release.

As for the 256 colour issue, the package I've build has it enabled by default. But I agree I think that it makes more sense to have that "always on".

icon Charles Darke at 03:07 on 19 October 2008
splitting behaviour. i always wanted when splitting the screen (i only use horizontal split) that the top and bottom halves would be "mini-screens" such that if I do a c-a c-j instead of moving to the next screen (and losing my split) it would shift whichever split I'm in to the next screen. Not sure if that made sense, but anyone else would like this behaviour (as an option)?
icon foo at 07:05 on 19 October 2008
Can you please send patches to the FSF?
icon Steve Kemp at 11:09 on 19 October 2008

I've already submitted the alias patch to the FSF, and we'll see what they have to say about it.

If they take everything then I guess I'm happy, but I expect that not to be the case.

Other things that I'd like to do I expect them not to be interested in - for example I've removed "nethack mode". Never understood why that was there, never wanted it.

icon Alex at 14:26 on 19 October 2008
Can we have some Lenny packages too? :)
icon Steve Kemp at 15:10 on 19 October 2008

Alex you're a cheeky guy!

You can now find Debian packages for Etch, Lenny, and Sid in the download directory. (Both i386 and AMD64).

icon Alex at 19:36 on 19 October 2008
Thanks Steve!
icon Alexander Toresson at 20:02 on 19 October 2008
You removed nethack mode????
As a nethack player and fan, I protest. That said, it's just there for fun. And it _is_ fun! Can't help to chuckle every time I see for example "You may wish for a screen, what do you want?". This would be like removing apt-get moo from apt-get!