[pkg-wine-party] Bug#639110: Wine doesn't let command-line scripts capture Ctrl+C

David Purdy david at zapop.com
Wed Aug 24 08:29:39 UTC 2011


Package: wine
Version: 1.0.1-3.3
Severity: wishlist

Sorry if this is a dupe - please delete the other one if that is the case (I accidentally let reportbug sent the last mail from the command-line, but my command-line emailing isn't configured correctly).

Here is the original mail:

Hi there,

I'm running Python on the Linux command-line via Wine, to be able to access
Windows DLL functions through ctypes.

However, Wine doesn't allow my Python scripts to capture Ctrl+C, or even give
it time to print a traceback to show where in the script I pressed Ctrl+C.
Wine just immediately terminates the entire script, which is annoying when
trying to debug those scripts.

I know there is a "wineconsole" command, but that's not useful for me in this
case, because it only has these two options:

1. user backend - this makes a popup window which I don't want, though it does
allow the Python script to print the ctrl+C backend briefly before the script
terminates.

2. curses backend - this jumps into curses mode which I don't want

What I want is the "bare stream" mode, but allowing the command-line tool
(being run through Wine) to capture Ctrl+C.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages wine depends on:
ii  debconf [debconf-2.0]         1.5.41     Debian configuration management sy
ii  libwine-alsa                  1.0.1-3.3  Windows API implementation - ALSA 
ii  libwine-cms                   1.0.1-3.3  Windows API implementation - color
ii  libwine-gl                    1.0.1-3.3  Windows API implementation - OpenG
ii  libwine-gphoto2               1.0.1-3.3  Windows API implementation - camer
ii  libwine-ldap                  1.0.1-3.3  Windows API implementation - LDAP 
ii  libwine-print                 1.0.1-3.3  Windows API implementation - print
ii  libwine-sane                  1.0.1-3.3  Windows API implementation - scann
ii  wine-bin                      1.0.1-3.3  Windows API implementation - binar
ii  wine-utils                    1.0.1-3.3  Windows API implementation - utili

Versions of packages wine recommends:
ii  ttf-liberation                1.07.0-1   Fonts with the same metrics as Tim

Versions of packages wine suggests:
pn  avscan | klamav | clamav <none>          (no description available)
pn  binfmt-support           <none>          (no description available)
ii  ttf-mscorefonts-installe 3.3             Installer for Microsoft TrueType c
ii  winbind                  2:3.5.11~dfsg-1 Samba nameservice integration serv
pn  wine-doc                 <none>          (no description available)

Versions of packages libwine depends on:
ii  debconf [debconf-2.0]       1.5.41       Debian configuration management sy
ii  libc6                       2.13-16      Embedded GNU C Library: Shared lib
ii  libfreetype6                2.4.6-2      FreeType 2 font engine, shared lib
ii  libhal1                     0.5.14-7     Hardware Abstraction Layer - share
ii  libice6                     2:1.0.7-2    X11 Inter-Client Exchange library
ii  libjpeg8                    8c-2         Independent JPEG Group's JPEG runt
ii  libpng12-0                  1.2.46-3     PNG library - runtime
ii  libsm6                      2:1.2.0-2    X11 Session Management library
ii  libssl1.0.0                 1.0.0d-3     SSL shared libraries
ii  libx11-6                    2:1.4.4-1    X11 client-side library
ii  libxcursor1                 1:1.1.12-1   X cursor management library
ii  libxext6                    2:1.3.0-3    X11 miscellaneous extension librar
ii  libxi6                      2:1.4.3-3    X11 Input extension library
ii  libxinerama1                2:1.1.1-3    X11 Xinerama extension library
ii  libxml2                     2.7.8.dfsg-4 GNOME XML library
ii  libxrandr2                  2:1.3.2-2    X11 RandR extension library
ii  libxrender1                 1:0.9.6-2    X Rendering Extension client libra
ii  libxslt1.1                  1.1.26-8     XSLT 1.0 processing library - runt
ii  libxxf86vm1                 1:1.1.1-2    X11 XFree86 video mode extension l

Versions of packages libwine suggests:
pn  wine-doc                      <none>     (no description available)

-- no debconf information

-----------------------------------------





More information about the pkg-wine-party mailing list