This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: -nounixkill doesn't seem to work (Was Re: Ctrl-Alt-Backspace)
On Sat, 6 Dec 2003, Alexander Gottwald wrote:
> Igor Pechtchanski wrote:
>
> > Well, technically, adding "-nounixkill" to the XWin.exe parameter list
> > should do it, but it doesn't work for me. When I open an XWin session on
> > a Win2k SP3 machine, Ctrl-Alt-Backspace still happily kills the server,
> > even with -nounixkill. The command I used to start the X server was
>
> add the option -unixkill. This will ask you indstead of just killing the
> server.
Thanks, this worked like a charm.
> The problem is that the 4.3 release of XFree binds the killing of the server
> to the keycode "TerminateServer". There is currently no way to override this
> but you can remove that binding from keycode 22.
>
> xmodmap -e "keycode 22 = BackSpace"
This, however, not only didn't change anything (Ctrl-Alt-Backspace still
exited X), but also crashed XWin.exe. I doubt the stack dump is of any
use with a non-debug version of XWin, but I can provide it if people
request, as well as the corresponding XWin.log (which doesn't contain any
details of the crash). I believe I've also posted the details of my setup
earlier in this thread. To reproduce the problem, run
$ XWin :1.0 -unixkill &
Try exiting it with Ctrl-Alt-Backspace, and press "Cancel".
$ xmodmap -display :1.0 -e "keycode 22 = BackSpace"
Try exiting again with Ctrl-Alt-Backspace, and press "Exit".
XWin will crash with a segfault. I'd be willing to try a debug version
and get a real stack trace if developers can't reproduce it.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton