Debian bug report logs - #1196
mailx problem with early-exiting pagers
Package: mailx; Reported by: iwj10@cus.cam.ac.uk (Ian Jackson); Done: sr1@irz301.inf.tu-dresden.de (Sven Rudolph).
Message received at debian-bugs-done:
From irz301.inf.tu-dresden.de!sr1 Mon Oct 30 15:20:59 1995
Return-Path: <sr1@irz301.inf.tu-dresden.de>
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0tA3Vi-0002NcC; Mon, 30 Oct 95 15:20 PST
Received: from irz101.inf.tu-dresden.de by pixar.com with SMTP id AA21809
(5.67b/IDA-1.5 for debian-bugs-done-pipe@mongo.pixar.com); Mon, 30 Oct 1995 15:20:29 -0800
Received: by irz101.inf.tu-dresden.de (8.6.12/8.6.12-s1) id AAA21816; Tue, 31 Oct 1995 00:20:51 +0100
Date: Tue, 31 Oct 1995 00:20:51 +0100
From: sr1@irz301.inf.tu-dresden.de (Sven Rudolph)
Message-Id: <199510302320.AAA21816@irz101.inf.tu-dresden.de>
To: iwj10@cus.cam.ac.uk (Ian Jackson), debian-bugs-done@pixar.com
Subject: Re: Bug#1196: mailx problem with early-exiting pagers
> Package: mailx
> Version: 8.1-4
>
> The `mailx' command can be made to lock up by ensuring that it twice
> gets SIGPIPE/EPIPE when writing to a pager. Furthermore, once this
> has happened it ignores ^C. ^Z followed by `kill' is required to
> escape.
>
> This is almost certainly due to SysV vs. POSIX vs. BSD signal
> handling.
According to the originator mailx-8.1-5 solves this problem.
I close the bug.
Sven
--
Sven Rudolph (sr1@inf.tu-dresden.de); WWW : http://www.sax.de/~sr1/
Notification sent to iwj10@cus.cam.ac.uk (Ian Jackson)
:
Bug acknowledged by developer.
Full text available.
Reply sent to sr1@irz301.inf.tu-dresden.de (Sven Rudolph)
:
You have taken responsibility.
Full text available.
Message received at debian-bugs:
From cus.cam.ac.uk!iwj10 Fri Oct 13 10:43:26 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0t3o8k-000DBkC; Fri, 13 Oct 95 10:43 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA16396
(5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Fri, 13 Oct 1995 10:42:55 -0700
Received: by bootes.cus.cam.ac.uk
(Smail-3.1.29.0 #36) id m0t3o8X-000C0QC; Fri, 13 Oct 95 18:43 BST
Received: by chiark
id <m0t3o73-0002ZhZ@chiark.al.cl.cam.ac.uk>
(Debian /\oo/\ Smail3.1.29.1 #29.33); Fri, 13 Oct 95 18:41 BST
Message-Id: <m0t3o73-0002ZhZ@chiark.al.cl.cam.ac.uk>
Date: Fri, 13 Oct 95 18:41 BST
From: Ian Jackson <iwj10@cus.cam.ac.uk>
To: Debian bugs submission address <debian-bugs@pixar.com>
Subject: Bug#1196: Re: mailx problem with early-exiting pagers
In-Reply-To: <16889858@toto.iv>
Below is a bug report I submitted a while ago. This bug makes mailx
practically unuseable. It should be fixed quickly.
Unfortunately, Carl Streeter replaced our working mailx 5.3b with a
non-working 8.1 and has now apparently left the project.
I've found that the bug happens even if you set the PAGER to `cat'.
It seems to fail to notice the exit of the pager the second time.
Ian.
------- start of forwarded message (RFC 934 encapsulation) -------
To: Debian bugs submission address <debian-bugs@pixar.com>
Subject: mailx problem with early-exiting pagers
Package: mailx
Version: 8.1-4
The `mailx' command can be made to lock up by ensuring that it twice
gets SIGPIPE/EPIPE when writing to a pager. Furthermore, once this
has happened it ignores ^C. ^Z followed by `kill' is required to
escape.
This is almost certainly due to SysV vs. POSIX vs. BSD signal
handling.
A session log showing how to reproduce the problem, followed by
environment and terminal details, is below.
Ian.
chiark:~/junk> cat t
>From iwj10@cus.cam.ac.uk Tue Aug 1 18:28:13 1995
Received: from grus.cus.cam.ac.uk [131.111.8.3] (ident = root)
by bootes.cus.cam.ac.uk with smtp
(Smail-3.1.29.0 #36) id m0sdJJb-000C0QC; Tue, 1 Aug 95 16:33 BST
Received: by grus.cus.cam.ac.uk
(Smail-3.1.29.0 #36) id m0sdJJa-0007aQC; Tue, 1 Aug 95 16:33 BST
Message-Id: <m0sdJJa-0007aQC@grus.cus.cam.ac.uk>
Date: Tue, 1 Aug 95 16:33 BST
X-Original-Sender: iwj10@cus.cam.ac.uk (Ian Jackson)
From: iwj10@thor.cam.ac.uk (Ian Jackson)
To: iwj10@cus.cam.ac.uk (Ian Jackson)
Subject: Bug#599 acknowledged by developer (was: xman uses g* names for groff (Re: Bug#597))
References: <9508010843.AA16713@charon.meiko.co.uk> <m0rp4T2-0002gOZ.ijackson@nyx.cs.du.edu>
In-Reply-To: <m0rp4T2-0002gOZ.ijackson@nyx.cs.du.edu>
X-Original-Status: R
This is an automatic notification regarding your bug report.
Responsibility for it has been taken by one of the developers, namely
Alvar Bray <alvar@meiko.co.uk>.
You should be hearing from them with a substantive response shortly, if
you have not already done so. If not, please contact them directly,
or email debian-bugs@pixar.com or myself.
Ian Jackson
(maintainer, debian-bugs)
chiark:~/junk> PAGER=true mailx -f t
Mail version 8.1 6/6/93 (POP extension). Type ? for help.
"t": 1 message 1 new
>N 1 iwj10@thor.cam.ac.uk Tue Aug 1 18:28 29/1177 "Bug#599 acknowledged "
& 1
& 1
[ locks up ]
^C
[ still locked up ]
^Z
[1]+ Stopped PAGER=true mailx -f t
chiark:~/junk> kill %1
[1]+ Stopped PAGER=true mailx -f t
chiark:~/junk> [ RETURN ]
[1]+ Terminated PAGER=true mailx -f t
chiark:~/junk> printenv
LOGNAME=ian
PERLLIB=/u/ian/perl/include
HELPPATH=/help
PAGER=/usr/bin/less
CDPATH=:..:/u/ian:/u/ian/things
ARCH=linux
TERMCAP=vs|xterm|xterm-24|xterms|vs100|xterm terminal emulator (X Window System): :is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>: :rs=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>: :AL=\E[%dL:DL=\E[%dM:DC=\E[%dP:DO=\E[%dB:UP=\E[%dA: :LE=\E[%dD:RI=\E[%dC: :al=\E[L:am: :bl=^G: :bs:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:co#80: :cs=\E[%i%d;%dr:ct=\E[3g: :dc=\E[P:dl=\E[M: :ho=\E[H: :im=\E[4h:ei=\E[4l:mi: :ks=\E[?1h\E=:ke=\E[?1l\E>: :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS: :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~: :k;=\E[21~: :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~: :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~: :kn#20: :@0=\E[1~:kI=\E[2~:kD=\E[3~: :*6=\E[4~:kP=\E[5~:kN=\E[6~: :km: :kb=^H:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD: :li#24:md=\E[1m:me=\E[m:mr=\E[7m:ms:nd=\E[C:pt: :eA=\E)0:as=^N:ae=^O: :ml=\El:mu=\Em: :sc=\E7:rc=\E8:sf=\n:so=\E[7m:se=\E[m:sr=\EM: :ti=\E7\E[?47h:te=\E[2J\E[?47l\E8: :up=\E[A:us=\E[4m:ue=\E[m:xn:
HISTORY=256
TERM=xterm
HOSTTYPE=i386
PATH=/u/ian/bin/linux:/u/ian/bin/scripts:/usr/local/bin:/bin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/sbin:/usr/sbin:/bin:/etc:/usr/etc
HOME=/u/ian
SHINIT=.
SHELL=/bin/bash
PS1=chiark:~/junk>
AUTOTITLE_STDOUT=%?u%U%!%?G(%G)%!%?u@%!%h:%d1~.>
USER=ian
LESS=-eMfQ
GROUP=ian
AUTOTITLE_WINDOW=%h - %d~. %Y.[U..[M..[D./..%X.L]..M]..R]./.. %U%?G(%G)%!
PGPPATH=/u/ian/pgp
DISPLAY=:0.0
LANG=C
TRNINIT=/u/ian/.trninit
HOST=chiark
AUTOTITLE_ICON=%U%?G(%G)%!: %d3~. %Y.[U..[M..[D./..%X.L]..M]..R]./..
OSTYPE=Linux
WINDOWID=41943053
ESHELL=/bin/bash
PWD=/u/ian/junk
MAILRECORD=/u/ian/mail/Mboxes/Record
SHLVL=4
ORGANIZATION=Linux Unlimited
EDITOR=emacs
CVSROOT=/usr/src/CVS
_=/usr/bin/printenv
chiark:~/junk> stty -a
speed 9600 baud; rows 25; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
- -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
- -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
- -iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
chiark:~/junk>
------- end -------
Acknowledgement sent to Ian Jackson <iwj10@cus.cam.ac.uk>
:
Extra info received and forwarded.
Full text available.
Information forwarded to debian-devel@pixar.com
:
Bug#1196
; Package mailx
.
Full text available.
Message received at debian-bugs:
From cus.cam.ac.uk!iwj10 Wed Aug 2 05:54:11 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0sddJL-000BhDC; Wed, 2 Aug 95 05:54 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA17411
(5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Wed, 2 Aug 1995 05:51:26 -0700
Received: by bootes.cus.cam.ac.uk
(Smail-3.1.29.0 #36) id m0sddGh-000BzwC; Wed, 2 Aug 95 13:51 BST
Received: by chiark
id <m0sdRZT-0002ZXZ@chiark.al.cl.cam.ac.uk>
(Debian /\oo/\ Smail3.1.29.1 #29.33); Wed, 2 Aug 95 01:22 BST
Message-Id: <m0sdRZT-0002ZXZ@chiark.al.cl.cam.ac.uk>
Date: Wed, 2 Aug 95 01:22 BST
From: iwj10@cus.cam.ac.uk (Ian Jackson)
To: Debian bugs submission address <debian-bugs@pixar.com>
Subject: mailx problem with early-exiting pagers
Package: mailx
Version: 8.1-4
The `mailx' command can be made to lock up by ensuring that it twice
gets SIGPIPE/EPIPE when writing to a pager. Furthermore, once this
has happened it ignores ^C. ^Z followed by `kill' is required to
escape.
This is almost certainly due to SysV vs. POSIX vs. BSD signal
handling.
A session log showing how to reproduce the problem, followed by
environment and terminal details, is below.
Ian.
chiark:~/junk> cat t
>From iwj10@cus.cam.ac.uk Tue Aug 1 18:28:13 1995
Received: from grus.cus.cam.ac.uk [131.111.8.3] (ident = root)
by bootes.cus.cam.ac.uk with smtp
(Smail-3.1.29.0 #36) id m0sdJJb-000C0QC; Tue, 1 Aug 95 16:33 BST
Received: by grus.cus.cam.ac.uk
(Smail-3.1.29.0 #36) id m0sdJJa-0007aQC; Tue, 1 Aug 95 16:33 BST
Message-Id: <m0sdJJa-0007aQC@grus.cus.cam.ac.uk>
Date: Tue, 1 Aug 95 16:33 BST
X-Original-Sender: iwj10@cus.cam.ac.uk (Ian Jackson)
From: iwj10@thor.cam.ac.uk (Ian Jackson)
To: iwj10@cus.cam.ac.uk (Ian Jackson)
Subject: Bug#599 acknowledged by developer (was: xman uses g* names for groff (Re: Bug#597))
References: <9508010843.AA16713@charon.meiko.co.uk> <m0rp4T2-0002gOZ.ijackson@nyx.cs.du.edu>
In-Reply-To: <m0rp4T2-0002gOZ.ijackson@nyx.cs.du.edu>
X-Original-Status: R
This is an automatic notification regarding your bug report.
Responsibility for it has been taken by one of the developers, namely
Alvar Bray <alvar@meiko.co.uk>.
You should be hearing from them with a substantive response shortly, if
you have not already done so. If not, please contact them directly,
or email debian-bugs@pixar.com or myself.
Ian Jackson
(maintainer, debian-bugs)
chiark:~/junk> PAGER=true mailx -f t
Mail version 8.1 6/6/93 (POP extension). Type ? for help.
"t": 1 message 1 new
>N 1 iwj10@thor.cam.ac.uk Tue Aug 1 18:28 29/1177 "Bug#599 acknowledged "
& 1
& 1
[ locks up ]
^C
[ still locked up ]
^Z
[1]+ Stopped PAGER=true mailx -f t
chiark:~/junk> kill %1
[1]+ Stopped PAGER=true mailx -f t
chiark:~/junk> [ RETURN ]
[1]+ Terminated PAGER=true mailx -f t
chiark:~/junk> printenv
LOGNAME=ian
PERLLIB=/u/ian/perl/include
HELPPATH=/help
PAGER=/usr/bin/less
CDPATH=:..:/u/ian:/u/ian/things
ARCH=linux
TERMCAP=vs|xterm|xterm-24|xterms|vs100|xterm terminal emulator (X Window System): :is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>: :rs=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>: :AL=\E[%dL:DL=\E[%dM:DC=\E[%dP:DO=\E[%dB:UP=\E[%dA: :LE=\E[%dD:RI=\E[%dC: :al=\E[L:am: :bl=^G: :bs:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:co#80: :cs=\E[%i%d;%dr:ct=\E[3g: :dc=\E[P:dl=\E[M: :ho=\E[H: :im=\E[4h:ei=\E[4l:mi: :ks=\E[?1h\E=:ke=\E[?1l\E>: :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS: :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~: :k;=\E[21~: :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~: :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~: :kn#20: :@0=\E[1~:kI=\E[2~:kD=\E[3~: :*6=\E[4~:kP=\E[5~:kN=\E[6~: :km: :kb=^H:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD: :li#24:md=\E[1m:me=\E[m:mr=\E[7m:ms:nd=\E[C:pt: :eA=\E)0:as=^N:ae=^O: :ml=\El:mu=\Em: :sc=\E7:rc=\E8:sf=\n:so=\E[7m:se=\E[m:sr=\EM: :ti=\E7\E[?47h:te=\E[2J\E[?47l\E8: :up=\E[A:us=\E[4m:ue=\E[m:xn:
HISTORY=256
TERM=xterm
HOSTTYPE=i386
PATH=/u/ian/bin/linux:/u/ian/bin/scripts:/usr/local/bin:/bin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/sbin:/usr/sbin:/bin:/etc:/usr/etc
HOME=/u/ian
SHINIT=.
SHELL=/bin/bash
PS1=chiark:~/junk>
AUTOTITLE_STDOUT=%?u%U%!%?G(%G)%!%?u@%!%h:%d1~.>
USER=ian
LESS=-eMfQ
GROUP=ian
AUTOTITLE_WINDOW=%h - %d~. %Y.[U..[M..[D./..%X.L]..M]..R]./.. %U%?G(%G)%!
PGPPATH=/u/ian/pgp
DISPLAY=:0.0
LANG=C
TRNINIT=/u/ian/.trninit
HOST=chiark
AUTOTITLE_ICON=%U%?G(%G)%!: %d3~. %Y.[U..[M..[D./..%X.L]..M]..R]./..
OSTYPE=Linux
WINDOWID=41943053
ESHELL=/bin/bash
PWD=/u/ian/junk
MAILRECORD=/u/ian/mail/Mboxes/Record
SHLVL=4
ORGANIZATION=Linux Unlimited
EDITOR=emacs
CVSROOT=/usr/src/CVS
_=/usr/bin/printenv
chiark:~/junk> stty -a
speed 9600 baud; rows 25; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
chiark:~/junk>
Acknowledgement sent to iwj10@cus.cam.ac.uk (Ian Jackson)
:
New bug report received and forwarded.
Full text available.
Report forwarded to debian-devel@pixar.com
:
Bug#1196
; Package mailx
.
Full text available.
Ian Jackson /
iwj10@thor.cam.ac.uk,
with the debian-bugs tracking mechanism