On Thu, 04 Aug 2016, Phyks wrote: > Hi, > > My copy of the Git repo with my own config and applied patches is > browsable at https://git.phyks.me/Phyks/st/tree/phyks in case it can be > useful to anyone. > > I am using alpha, copyurl and scrollback patches. > > I can confirm the solution of changing the termname works. But indeed, I > am not sure it is the cleaner way to handle it. > > Thanks! > > -- > Phyks > > Le 04/08/2016 à 17:32, lhark 42 a écrit : > > On 08/04/2016 05:15 PM, parazyd wrote: > >> On Thu, 04 Aug 2016, Phyks wrote: > >> > >>> Hi, > >>> > >>> Some programs let you use left click to trigger actions (typically move > >>> the cursor in Vim or go to a specific buffer in Weechat). > >>> > >>> I cannot get it to work under st and did not find any information about > >>> it in the doc or on the web. Has anyone a working setup for this? > >>> > >>> Thanks! > >> > >> I cannot reproduce this. Are you using any patches? > >> > > Hi, > > > > I managed to solve this problem by changing termname from "st-256color" > > to "xterm-256color" (that and some other zsh related problems). > > > > But if a cleaner alternative exists, I'm all ears :) > >
Perhaps install the terminfo that's provided as st.info in the repository/package? If you are using 0.6 though, you might need a Makefile fix: --- Makefile 2016-08-04 18:25:52.380025454 +0200 +++ Makefile.orig 2016-08-04 18:24:44.040025110 +0200 @@ -49,7 +49,8 @@ install: all @sed "s/VERSION/${VERSION}/g" < st.1 > ${DESTDIR}${MANPREFIX}/man1/st.1 @chmod 644 ${DESTDIR}${MANPREFIX}/man1/st.1 @echo Please see the README file regarding the terminfo entry of st. - @tic -s st.info + @mkdir -p ${DESTDIR}/${PREFIX}/share/terminfo + @tic -o ${DESTDIR}/${PREFIX}/share/terminfo -s st.info uninstall: @echo removing executable file from ${DESTDIR}${PREFIX}/bin -- ~ parazyd 0333 7671 FDE7 5BB6 A85E C91F B876 CB44 FA1B 0274
signature.asc
Description: Digital signature