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

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.

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>


Reply to: