Re: [dev] [dmenu] 4.9 segfault on input

2019-02-18 Thread Patrick Smith
On Sat, Feb 16, 2019 at 12:47 AM Ivan Tham wrote: > By the way, Patrick. Why use anthy instead of mozc for japanese input? I > heard anthy is a dead project (from arch wiki). Further follow-up: I switched from scim+anthy to fcitx+mozc, and the previous problems went away. Now (printf 'foo\nbar' |

Re: [dev] [dmenu] 4.9 segfault on input

2019-02-18 Thread Patrick Smith
On Sat, Feb 16, 2019 at 12:47 AM Ivan Tham wrote: > By the way, Patrick. Why use anthy instead of mozc for japanese input? I > heard anthy is a dead project (from arch wiki). I started using scim+anthy several years ago, and it has continued to work for me, so I've continued to use it. I never no

Re: [dev] [dmenu] 4.9 segfault on input

2019-02-15 Thread Patrick Smith
On Fri, Feb 15, 2019 at 11:33 AM Silvan Jegen wrote: > With the suggested patch applied, everything worked for me when using > IBus and in st we use a similar pattern to what this patch is proposing > (x.c:1007-1014). I am not sure why Patrick's IME (SCIM) is working in > st but not in dmenu with

Re: [dev] [dmenu] 4.9 segfault on input

2019-02-13 Thread Patrick Smith
On Wed, Feb 13, 2019 at 12:29 AM Hiltjo Posthuma wrote: > Please try the latest git version and report back. It works for me. That is, there is no segfault from, for example, printf 'foo\nbar' | ./dmenu When I test with: printf 'あ\nお' | ./dmenu, I can't see a way to select the second option (sci

Re: [dev] [dmenu] 4.9 segfault on input

2019-02-12 Thread Patrick Smith
> > On February 12, 2019 7:35:20 AM GMT+00:00, Patrick Smith > wrote: > >On Mon, Feb 11, 2019 at 12:43 PM Silvan Jegen > >wrote: > >> I found that the XSetLocaleModifiers("") call returns "@im=ibus" in > >my > >> case which is

Re: [dev] [dmenu] 4.9 segfault on input

2019-02-11 Thread Patrick Smith
On Mon, Feb 11, 2019 at 12:43 PM Silvan Jegen wrote: > I found that the XSetLocaleModifiers("") call returns "@im=ibus" in my > case which is not surprising because the env variable XMODIFIERS is > set to @im=ibus on my machine. If Ibus is not running, however, I get > a segfault just like Jordan

Re: [dev] [dmenu] 4.9 segfault on input

2019-02-10 Thread Patrick Smith
19 at 4:30 PM Jordan Timmerman wrote: > > I believe I have a patch to fix this issue. It is attached. > > Taken from: https://www.mail-archive.com/fltk-bugs@easysw.com/msg01159.html > > The link was pointed to by the Servo issue that Patrick Smith linked > to. (Thanks, Patrick!

Re: [dev] [dmenu] 4.9 segfault on input

2019-02-10 Thread Patrick Smith
ther that would be an appropriate fix in the context of dmenu. On Sun, Feb 10, 2019 at 4:17 PM Patrick Smith wrote: > > Another point of information... after seeing > https://github.com/servo/servo/issues/9938, I tried these two commands > with my instrumented dmenu: > > >>&

Re: [dev] [dmenu] 4.9 segfault on input

2019-02-10 Thread Patrick Smith
; information Patrick was able to provide we'll figure it out. > > As an aside: thanks to everyone who has patiently helped me figure out > how to provide debugging information! Sorry I can't be more help. > > On Sun, Feb 10, 2019 at 5:39 PM Patrick Smith wrote: > > >

Re: [dev] [dmenu] 4.9 segfault on input

2019-02-10 Thread Patrick Smith
I'm experiencing a problem that appears very similar to this one, and I can add a bit of information. Summary: When I have scim+anthy installed as an input method, the call to XOpenIM fails, returning a null pointer. But I don't know much about the internals of X, so can't be 100% sure this is the