Bug#238638: /usr/X11R6/bin/xev: [xev] lost output when redirecting
Package: xbase-clients
Version: 4.3.0-2
Severity: normal
File: /usr/X11R6/bin/xev
when redirecting the output of xev (eg, xev > foo), the output file is
truncated on exit due to libc buffering (and the only way to exit being
a suitable signal). Adding "fflush (stdout);" at the end of the main
loop fixes this.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.4-rc1-mm1
Locale: LANG=C, LC_CTYPE=C
Versions of packages xbase-clients depends on:
ii cpp 4:3.3.3-2 The GNU C preprocessor (cpp)
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libdps1 4.3.0-2 Display PostScript (DPS) client li
ii libexpat1 1.95.6-6 XML parsing C library - runtime li
ii libfontconfig1 2.2.1-16 generic font configuration library
ii libfreetype6 2.1.7-2 FreeType 2 font engine, shared lib
ii libice6 4.3.0-2 Inter-Client Exchange library
ii libncurses5 5.3.20030719-5 Shared libraries for terminal hand
ii libpng12-0 1.2.5.0-5 PNG library - runtime
ii libsm6 4.3.0-2 X Window System Session Management
ii libstdc++5 1:3.3.3-1 The GNU Standard C++ Library v3
ii libxaw7 4.3.0-2 X Athena widget set library
ii libxcursor1 1.0.2-4 X Cursor management library
ii libxext6 4.3.0-2 X Window System miscellaneous exte
ii libxft2 2.1.2-5 FreeType-based font drawing librar
ii libxi6 4.3.0-2 X Window System Input extension li
ii libxmu6 4.3.0-2 X Window System miscellaneous util
ii libxmuu1 4.3.0-2 lightweight X Window System miscel
ii libxpm4 4.3.0-2 X pixmap library
ii libxrandr2 4.3.0-2 X Window System Resize, Rotate and
ii libxrender1 0.8.3-5 X Rendering Extension client libra
ii libxt6 4.3.0-2 X Toolkit Intrinsics
ii libxtrap6 4.3.0-2 X Window System protocol-trapping
ii libxtst6 4.3.0-2 X Window System event recording an
ii libxv1 4.3.0-2 X Window System video extension li
ii xlibmesa3-gl [libgl1] 4.2.1-15 Mesa 3D graphics library [XFree86]
ii xlibmesa3-glu [libglu1] 4.2.1-15 Mesa OpenGL utility library [XFree
ii xlibs 4.3.0-2 X Window System client libraries m
ii xlibs-data 4.3.0-2 X Window System client data
ii zlib1g 1:1.2.1-4 compression library - runtime
-- debconf information excluded
Reply to: