Tethys schrieb am 21.03.2014 13:39:
> On Fri, Mar 21, 2014 at 11:41 AM, Nils R <m...@hxgn.net> wrote:
> 
> >The original st.info contains entries for {r,s}mkx, but when i query the
> system
> >terminfo database
> >with 'infocmp -1 st', no entries for {r,s}mkx are found:
> >
> > % egrep '[rs]mkx' st.info
> > rmkx=\E[?1l\E>,
> > smkx=\E[?1h\E=,
> > % infocmp -1 st-256color | egrep '[rs]mkx' | wc -l
> > 0
> >
> > How can this be? Is this a bug or am i missing something? Any help much
> > appreciated.
> 
> It would appear your compiled terminfo database wasn't built from the
> same st.info source file that you're looking at. OpenBSD is a bit
> different to other Unixes here, but I think you should be able to
> convert it to a termcap file using infotocap(1), insert it into
> /usr/share/misc/termcap and then use cap_mkdb(1) to recompile the
> terminfo database.
> 
> Tet
> 
> --
> "Java is a DSL for taking large XML files and converting them to stack
> traces" -- Bulat Shakirzyanov
> 
>

Hi Tet,

i think thats it.  When i install st.info to home, the {r,s}mkx entries are 
indeed included:

$ rm -r ~/.terminfo
$ tic ~/st/st.info
$ infocmp -1 -A /home/nils/.terminfo st | egrep '(/home|[sr]mkx)'
#       Reconstructed via infocmp from file: /home/nils/.terminfo/s/st
        rmkx=\E[?1l\E>,
        smkx=\E[?1h\E=,

The st-entries in /usr/share/misc/termcap date back to st version 0.1.1, from 
about 2 years ago.  Is there a way to just use the information in home, instead 
of the old, system-wide termcap db?  Or do i really have to manually edit the 
termcap file?

Nils

Reply via email to