[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#428737: marked as done (ITA: retty -- attach processes running on other terminals)



Your message dated Thu, 21 Feb 2008 21:02:10 +0000
with message-id <E1JSIYU-0001dw-6M@ries.debian.org>
and subject line Bug#428737: fixed in retty 1.0-2
has caused the Debian Bug report #428737,
regarding ITA: retty -- attach processes running on other terminals
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
428737: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=428737
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: wnpp
Severity: normal

I'm offering some packages up for adoption so I have more time for the
others.

retty so far only exists on i386, though upstream has said they would
want to port it to amd64. There's also a bash script that uses gdb to
do the same, maybe it could be shipped along with retty. (Attached.)

Maintaining a package requires time and skills. Please only adopt this
package if you are *sure* you will have enough time and attention to
work on it.

If you want to be the new maintainer, please see
http://www.debian.org/devel/wnpp/index.html#howto-rfa for detailed
instructions how to adopt a package properly.

Some information about this package:

Package: retty
Binary: retty
Version: 1.0-1
Priority: extra
Section: utils
Maintainer: Christoph Berg <myon@debian.org>
Build-Depends: debhelper (>> 4.0.0)
Architecture: i386
Standards-Version: 3.7.2
Format: 1.0
Directory: pool/main/r/retty
Files:
 25edd0d47d623da7c7c96d9cefd07a71 546 retty_1.0-1.dsc
 f49667d8115b7c5a907058c9623fc465 13738 retty_1.0.orig.tar.gz
 3ca26d7510ee97138ed6fc8366b73615 1325 retty_1.0-1.diff.gz

Package: retty
Priority: extra
Section: utils
Installed-Size: 68
Maintainer: Christoph Berg <myon@debian.org>
Architecture: i386
Version: 1.0-1
Depends: libc6 (>= 2.3.6-6)
Filename: pool/main/r/retty/retty_1.0-1_i386.deb
Size: 9560
MD5sum: c44bc6d992192cdd17060437ff80f6e1
SHA1: 0bef69f0d39215b9693ddea4eede4ca5da30ad31
SHA256: 74ffc1cdae1da8c7479f04261ecd597d8c234974b4e7b5fd4db2a820aee51e56
Description: attach processes running on other terminals
 retty is a tiny tool that lets you attach processes running on other
 terminals. So you were running that mutt outside of screen at your home
 machine and now wanna check your mail? Attach it with retty, do whatever you
 want, detach it again and everything is as it was before. You don't have to
 run them all in screen just in case.
 .
 Note that the tool is only very lightly tested, so take some care. Always
 check first if attaching given application works before you will do it for
 real.


Christoph
-- 
cb@df7cb.de | http://www.df7cb.de/
#!/bin/bash
#
# Trick process(es) to talk to current terminal
#
# Copyright (c) 2004, 2005 Timo Lindfors <timo.lindfors@iki.fi>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
#
# 3. The name of the author may not be used to endorse or promote
# products derived from this software without specific prior written
# permission.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

function usage() {
    echo usage: $0 pid ...
    exit 1
}
TCGETS=0x5401
TCSETS=0x5402
SIZEOF_STRUCT_TERMIOS=60
O_RDWR=2
((FLAGS=O_RDWR))

if [ x`which gdb` = x ]; then
    echo gdb not found in PATH. Please apt-get install gdb
    exit
fi
if [ x$1 = x ]; then
    usage;
fi

for PID in $@; do
    MYPID=$$
    MYFD0=`readlink /proc/$MYPID/fd/0`
    MYFD1=`readlink /proc/$MYPID/fd/1`
    MYFD2=`readlink /proc/$MYPID/fd/2`
    EXE=`readlink /proc/$PID/exe`
    if [ x$EXE = x ]; then
	echo $0: $PID: no such pid
	exit
    fi

    BATCHFILE=`mktemp /tmp/gdb.XXXXXXXXXXXX`
    cat >$BATCHFILE <<EOF
file $EXE
attach $PID
call malloc($SIZEOF_STRUCT_TERMIOS)
call malloc($SIZEOF_STRUCT_TERMIOS)
call malloc($SIZEOF_STRUCT_TERMIOS)
call ioctl(0, $TCGETS, \$1)
call ioctl(1, $TCGETS, \$2)
call ioctl(2, $TCGETS, \$3)
call close(0)
call close(1)
call close(2)
call open("$MYFD0", $FLAGS)
call open("$MYFD1", $FLAGS)
call open("$MYFD2", $FLAGS)
call ioctl(0, $TCSETS, \$1)
call ioctl(1, $TCSETS, \$2)
call ioctl(2, $TCSETS, \$3)
call free(\$1)
call free(\$2)
call free(\$3)
detach
EOF
    gdb -batch -x $BATCHFILE >/dev/null 2>&1 </dev/null
    rm $BATCHFILE
done
cat <<EOF
Process(es) $@ should now be talking to this pty. Refresh the screen
(e.g. CTRL+L) and have fun!
EOF

exec tail -f --pid=$PID /proc/$PID/stat

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: retty
Source-Version: 1.0-2

We believe that the bug you reported is fixed in the latest version of
retty, which is due to be installed in the Debian FTP archive:

retty_1.0-2.diff.gz
  to pool/main/r/retty/retty_1.0-2.diff.gz
retty_1.0-2.dsc
  to pool/main/r/retty/retty_1.0-2.dsc
retty_1.0-2_i386.deb
  to pool/main/r/retty/retty_1.0-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 428737@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Richard Hartmann <richih-debian@net.in.tum.de> (supplier of updated retty package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 17 Feb 2008 23:55:47 +0100
Source: retty
Binary: retty
Architecture: source i386
Version: 1.0-2
Distribution: unstable
Urgency: low
Maintainer: Richard Hartmann <richih-debian@net.in.tum.de>
Changed-By: Richard Hartmann <richih-debian@net.in.tum.de>
Description: 
 retty      - attach processes running on other terminals
Closes: 428737
Changes: 
 retty (1.0-2) unstable; urgency=low
 .
   * As per Myon's suggestion, I am taking over maintenance of this
     package. (Closes: #428737)
Files: 
 f2fcba97881ba837213edb653274e631 560 utils extra retty_1.0-2.dsc
 82f3b3e0fb7a523f636f1cf0d4d166e7 1474 utils extra retty_1.0-2.diff.gz
 15411a26ccd96e83de20329f6c17f84a 9842 utils extra retty_1.0-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHvdvbxa93SlhRC1oRAgJPAKDXVfdwHyvBvLXLO/oi+eqdQ5rErgCg+2Za
HEMgN3Rh/WkGxC1cBgyRFEg=
=krJ6
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: