I solved it (for the moment) by patching st, as patching st is something you most likely do anyways. The patch, including a description, can be found on the suckless wiki [1].
There's just one issue left: when using the new termname (st-git), i hit this bug [2] in perls Term::Cap.pm (e.g. when using pkg_add), which is not fixed yet apparently. The code for Term::Cap is now on github [3], so i could send a merge request, but this needs testing first. Here is the diff i'm rebuilding -current with right now: Index: Cap.pm =================================================================== RCS file: /cvs/src/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm,v retrieving revision 1.1.1.2 diff -u -r1.1.1.2 Cap.pm --- Cap.pm 25 Mar 2013 20:08:13 -0000 1.1.1.2 +++ Cap.pm 25 Mar 2014 17:23:41 -0000 @@ -275,7 +275,7 @@ my @termcap_path = termcap_path(); - unless ( @termcap_path || $entry ) + if ( !@termcap_path || !$entry ) { # last resort--fake up a termcap from terminfo Please test, the last time this was mentioned there was not much progress. Best, Nils [1]: http://st.suckless.org/patches/st_on_openbsd [2]: http://marc.info/?l=openbsd-tech&m=131728639327606&w=2 [3]: https://github.com/jonathanstowe/Term-Cap/blob/master/Cap.pm