Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Dec 2001 18:31:29 -0800 (PST)
From:      "Reginald S. Perry" <reggie@LambdaWerks.org>
To:        freebsd-emulation@freebsd.org
Subject:   Control-C not being passed to process?
Message-ID:  <Pine.BSF.4.21.0112111825040.34279-100000@miles.lambdawerks.org>

next in thread | raw e-mail | index | archive | help
I am running LispWorks on a 4.4-STABLE built on Dec 3. On linux, when I
send a Control-C it behaves like below:

CL-USER 1 > 
Break.
  1 (continue) Return from break.
  2 (abort) Return to level 0.
  3 Return to top loop level 0.

Type :b for backtrace, :c <option number> to proceed,  or :? for other
options

CL-USER 1 : 1 > 

On FreeBSD when I do this, it hangs. I ran ktrace/linux_kdump -l to see
what was going on and when I hit Control-C I got this sequence (starting
from after the select):

  2211 lispworks-tty RET   linux_select 0
  2211 lispworks-tty CALL
linux_select(0x100,0x20252b14,0x20252b34,0x20252b54,0x20252b0c)
  2211 lispworks-tty PSIG  SIGINT caught handler=0x2001a81a mask=0x0
code=0x0
  2211 lispworks-tty RET   linux_select -1 errno 4 Interrupted system call
  2211 lispworks-tty PSIG  SIGSEGV caught handler=0x2001a81a mask=0x2
code=0x0

Can someone tell me what I can do to get it to work the way it does on
Linux?

Thanks.

-Reggie



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0112111825040.34279-100000>