Re: [dev] slock segfault on rhel7

2014-11-10 Thread Johan Guldmyr
- Original Message - > From: "Dimitris Papastamos" > To: "dev mail list" > Sent: Friday, November 7, 2014 2:56:55 PM > Subject: Re: [dev] slock segfault on rhel7 > Can you print out `pws' in readpw() on stderr and check the logs? Couldn't with fast googling figure out how to do this, so

Re: [dev] slock segfault on rhel7

2014-11-10 Thread Dimitris Papastamos
Please provide full steps of what you are doing, from building to running. Does it still crash?

Re: [dev] [abduco] [patch] more descriptive execvp error message

2014-11-10 Thread Marc André Tanner
On Sat, Nov 08, 2014 at 12:56:36PM -0500, Brandon Mulcahy wrote: > By default abduco attempts to launch dvtm if `abduco -c` is run with no > command argument. I didn't have dvtm installed, so the resulting error > message was: > > server-execvp: No such file or directory > > My first though

Re: [dev] slock segfault on rhel7

2014-11-10 Thread Johan Guldmyr
Steps: git clone http://git.suckless.org/slock edit config.mk: change X11INC and X11LIB to /usr/include/X11 change CFLAGS to include -g make sudo make install /usr/local/bin/slock Press ENTER Segmentation fault End of steps. - Running it as sudo it doesn't segfault on enter, but doesn't accep

Re: [dev] slock segfault on rhel7

2014-11-10 Thread Alexander Huemer
Hi. On Mon, Nov 10, 2014 at 03:31:26PM +0200, Johan Guldmyr wrote: > $ gdb -q slock > Reading symbols from /usr/local/bin/slock...(no debugging symbols > found)...done. There are no symbols in your binary. Adding '-g' to CFLAGS isn't sufficient. You have to remove '-s' from LDFLAGS. >From LD(1)

Re: [dev] slock segfault on rhel7

2014-11-10 Thread Johan Guldmyr
Ah, removing -s from LDFLAGS helped. Now the "bt full" has more output. So to recap I have to run the slock as user root for it to not crash on enter. And I don't have root user password but here's the stack: https://pastee.org/dj4hs // Johan

Re: [dev] [PATCH] Check for presence of SHELL environment variable

2014-11-10 Thread k0ga
>> I did a quick survey of a number of other terminal emulators: tmux, >> xterm, GNU screen, rxvt and dvtm all check the SHELL environment >> variable. Checking SHELL is expected behaviour, and it's a useful one at >> that. >> >> Eric > > Checking SHELL is common behaviour and any user setting S

Re: [dev] slock segfault on rhel7

2014-11-10 Thread Dimitris Papastamos
On Mon, Nov 10, 2014 at 04:49:44PM +0200, Johan Guldmyr wrote: > Ah, removing -s from LDFLAGS helped. Now the "bt full" has more output. > So to recap I have to run the slock as user root for it to not crash on enter. > And I don't have root user password but here's the stack: > > https://pastee.o

Re: [dev] slock segfault on rhel7

2014-11-10 Thread Dimitris Papastamos
On Mon, Nov 10, 2014 at 04:49:44PM +0200, Johan Guldmyr wrote: > Ah, removing -s from LDFLAGS helped. Now the "bt full" has more output. > So to recap I have to run the slock as user root for it to not crash on enter. > And I don't have root user password but here's the stack: > > https://pastee.o

Re: [dev] slock segfault on rhel7

2014-11-10 Thread Dimitris Papastamos
On Mon, Nov 10, 2014 at 04:49:44PM +0200, Johan Guldmyr wrote: > Ah, removing -s from LDFLAGS helped. Now the "bt full" has more output. > So to recap I have to run the slock as user root for it to not crash on enter. > And I don't have root user password but here's the stack: I just tested this o

Re: [dev] [st] delele behaves as backspace... again

2014-11-10 Thread k0ga
> Sorry, it is zsh. > It should work. I don't know why it doesn't work for you. Do you have something in .zshrc? Regards,