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

Saturday, 18 October 2008

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

[gravitar] ulrik

Submitted at 21:12:21 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.
[gravitar] TheGZeus

Submitted at 23:34:10 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.
[author] Steve Kemp

Submitted at 00:19:48 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".

[gravitar] Charles Darke

Submitted at 03:07:18 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)?
[gravitar] foo

Submitted at 07:05:12 on 19 october 2008

Can you please send patches to the FSF?
[author] Steve Kemp

Submitted at 11:09:48 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.

[gravitar] Alex

Submitted at 14:26:56 on 19 october 2008

Can we have some Lenny packages too? :)
[author] Steve Kemp

Submitted at 15:10:32 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).

[gravitar] Alex

Submitted at 19:36:37 on 19 october 2008

Thanks Steve!
[gravitar] Alexander Toresson

Submitted at 20:02:42 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!

 

Comments are closed on posts which are more than ten days old.

Recent Posts

Recent Tags