Dear Bug Team!
I live in XEmacs and execute many shell commands with the backgroud
package. Unfortunately, on upgrading to XEmacs 21.4.7 this package no
longer works for me.
xemacs-21.4.6 -vanilla -eval '(background "ls" )'
gives me a listing of the current directory in the "*background-1*" buffer.
xemacs-21.4.7 -vanilla -eval '(background "ls" )'
gives me:
--- working directory: /home/burt/
% ls
Done 12:53:51
Where has the output of the 'ls' command gone?
Curiously, if I type '(background "sh")', and then 'input'
'ls' at the
shell prompt, then I do see the directory contents.
The two Emacs' were configured with the same options. Has anything changed
in the process handling code between versions?
--- Alastair
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux mastiff 2.4.4 #1 Wed May 16 01:26:02 GMT 2001 i686 unknown
./configure '--site-includes=/home/burt/lib/compface/include'
'--site-libraries=/home/burt/lib/compface/lib' '--with-mule=yes'
'--with-xpm' '--error-checking=none'
'--prefix=/home/burt/lib/xemacs'
XEmacs 21.4.7 "Economic Science" configured for `i686-pc-linux'.
Compilation / Installation:
Source code location: /home/burt/Desktop/Clutter/xemacs-21.4.7
Installation prefix: /home/burt/lib/xemacs
Additional header files: /home/burt/lib/compface/include
Additional libraries: /home/burt/lib/compface/lib
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -Wshadow
Relocating allocator for buffers: no
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11/include
- X Windows libraries location: /usr/X11/lib
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Using Motif native widgets.
TTY:
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Compiling in support for X-Face message headers.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for Berkeley database.
Compiling in support for GNU DBM.
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Compiling in support for XIM (X11R5+ I18N input method).
- Using Motif to provide XIM support.
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Load-Path Lisp Shadows:
----------------------
(/home/burt/etc/emacs/bbdb-letter-1.0/bbdb-letter
/home/burt/etc/emacs/bbdb-letter /home/burt/etc/emacs/tex
/home/burt/etc/emacs/auctex/tex /home/burt/etc/emacs/auctex/texmathp
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/auctex/texmathp
/home/burt/etc/emacs/tex
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/auctex/tex
/home/burt/etc/emacs/tex-site
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/auctex/tex-site
/home/burt/etc/emacs/auctex/tex-mik
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/auctex/tex-mik
/home/burt/etc/emacs/auctex/tex-info
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/auctex/tex-info
/home/burt/etc/emacs/auctex/tex-buf
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/auctex/tex-buf
/home/burt/etc/emacs/auctex/multi-prompt
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/auctex/multi-prompt
/home/burt/etc/emacs/auctex/latex
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/auctex/latex
/home/burt/etc/emacs/auctex/auc-old
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/auctex/auc-old
/home/burt/etc/emacs/bbdb-snarf
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/bbdb/bbdb-snarf
/home/burt/etc/emacs/calc
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/calc/calc
/home/burt/etc/emacs/setnu
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/edit-utils/setnu
/home/burt/etc/emacs/power-macros
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/edit-utils/power-macros
/home/burt/etc/emacs/iswitchb
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/edit-utils/iswitchb
/home/burt/etc/emacs/ibuffer
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/edit-utils/ibuffer
/home/burt/etc/emacs/eshell
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/eshell/eshell
/home/burt/etc/emacs/timer
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/fsf-compat/timer
/home/burt/etc/emacs/vcard
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/gnus/vcard
/home/burt/etc/emacs/flow-fill
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/gnus/flow-fill
/home/burt/etc/emacs/igrep
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/igrep/igrep
/home/burt/etc/emacs/expect
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/mailcrypt/expect
/home/burt/etc/emacs/feedmail
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/net-utils/feedmail
/home/burt/etc/emacs/background
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/os-utils/background
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/ps-print/ps-print
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/ps-print-nomule/ps-print
/home/burt/etc/emacs/psgml
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/psgml/psgml
/home/burt/etc/emacs/rpm
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/speedbar/rpm
/home/burt/etc/emacs/xrdb-mode
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/text-modes/xrdb-mode
/home/burt/etc/emacs/htmlize
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/text-modes/htmlize
/home/burt/etc/emacs/bibtex
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/textools/bibtex
/home/burt/etc/emacs/ffap
/home/burt/lib/xemacs/lib/xemacs/xemacs-packages/lisp/xemacs-base/ffap
/home/burt/etc/emacs/help /home/burt/lib/xemacs/lib/xemacs-21.4.7/lisp/help
/home/burt/etc/emacs/derived
/home/burt/lib/xemacs/lib/xemacs-21.4.7/lisp/derived)
Installed XEmacs Packages:
-------------------------
((xslt-process:version 1.06 :type regular)
(xemacs-devel :version 1.4 :type single-file)
(xemacs-base :version 1.57 :type regular)
(w3 :version 1.21 :type regular)
(vm :version 7.02 :type regular)
(viper :version 1.31 :type regular)
(view-process :version 1.11 :type regular)
(vc :version 1.3 :type regular)
(tramp :version 1.01 :type regular)
(tpu :version 1.12 :type regular)
(tooltalk :version 1.13 :type regular)
(tm :version 1.3 :type regular)
(time :version 1.11 :type regular)
(textools :version 1.12 :type regular)
(text-modes :version 1.36 :type single-file)
(texinfo :version 1.2 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.22 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(slider :version 1.13 :type regular)
(sieve :version 1.01 :type regular)
(sh-script :version 1.13 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.11 :type regular)
(scheme :version 1.11 :type regular)
(rmail :version 1.13 :type regular)
(reftex :version 1.24 :type regular)
(psgml :version 1.26 :type regular)
(ps-print-nomule :version 1.05 :type regular)
(ps-print :version 1.02 :type regular)
(prog-modes
:version
1
.49
:type
single-file)
(pcomplete :version 1.01 :type regular)
(pcl-cvs :version 1.57 :type regular)
(pc :version 1.21 :type single-file)
(os-utils :version 1.26 :type single-file)
(net-utils :version 1.23 :type single-file)
(misc-games :version 1.15 :type single-file)
(mine :version 1.14 :type regular)
(mh-e :version 1.14 :type regular)
(mew :version 1.16 :type regular)
(mailcrypt :version 2.11 :type regular)
(mail-lib :version 1.42 :type regular)
(lookup :version 1.09 :type regular)
(jde :version 1.31 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.2 :type regular)
(igrep :version 1.08 :type regular)
(idlwave :version 1.24 :type regular)
(hm--html-menus :version 1.17 :type regular)
(gnus :version 1.58 :type regular)
(gnats :version 1.13 :type regular)
(games :version 1.13 :type regular)
(fsf-compat :version 1.09 :type single-file)
(frame-icon :version 1.09 :type regular)
(forms :version 1.14 :type regular)
(footnote :version 1.13 :type regular)
(eudc :version 1.35 :type regular)
(eterm :version 1.13 :type regular)
(eshell :version 1.02 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.02 :type regular)
(efs :version 1.27 :type regular)
(edt :version 1.12 :type regular)
(edit-utils :version 1.75 :type single-file)
(ediff :version 1.35 :type regular)
(edebug :version 1.14 :type regular)
(dired :version 1.11 :type regular)
(debug :version 1.14 :type regular)
(crisp :version 1.12 :type regular)
(cookie :version 1.13 :type regular)
(cc-mode :version 1.27 :type regular)
(calendar :version 1.18 :type regular)
(calc :version 1.18 :type regular)
(c-support :version 1.16 :type single-file)
(build :version 1.05 :type regular)
(auctex :version 1.29 :type regular)
(apel :version 1.2 :type regular)
(ada :version 1.1 :type regular)
(Sun :version 1.13 :type regular)
(skk :version 1.2 :type regular)
(mule-ucs :version 1.01 :type regular)
(mule-base :version 1.39 :type regular)
(locale :version 1.18 :type regular)
(leim :version 1.17 :type regular)
(egg-its :version 1.26 :type regular)
(edict :version 1.12 :type regular)
(x-symbol :version 1.11 :type regular))
Features:
--------
(xemacsbug shadow add-log cc-mode cc-align cc-cmds cc-engine cc-styles
cc-langs cc-vars cc-menus imenu cc-defs env compile igrep efs-dired
dired-faces dired-xemacs dired bbdb-gui bbdb-com highlight-headers
bbdb-hooks nnml view-less view hyper-apropos cl-specs edebug eval-reg
find-func dup-el lazy-shot eldoc timer gnus-picon w3-forms w3-display
w3-imap w3-widget css w3-mouse w3-vars w3-cus w3-keyword url mm mule-sysdp
url-parse url-vars sort smiley annotations gnus-cite gnus-async gnus-score
score-mode gnus-dup utf7 mail-extr gnus-ml gnus-msg gnus-art mm-uu mm-view
nnimap imap gnus-topic gnus-sum gnus-group gnus-undo nndraft nnmh
gnus-cache gnus-demon nnmail mail-source format-spec nntp nnoo bbdb-gnus
gnus-start gnus-range gnus-spec gnus-int gnus-win gnus gnus-ems gnus-xmas
wid-edit message messagexmas mml mm-decode mm-encode mailcap mm-bodies
uudecode mail-parse rfc2045 rfc2231 rfc2047 qp ietf-drums mail-abbrevs
sendmail rfc822 mailheader gnus-util time-date parse-time nnheader
nnheaderxm mail-utils mm-util mail-prsvr proc-filters shell shell-font
background font disp-table emacs-wiki executable pcomplete session iswitchb
ffap-url ffap efs-x19.15 efs-fnh efs-ovwrt efs-cu efs-netrc efs-defun
comint ring efs x-symbol-xmas21 font-lock cus-face x-symbol-hooks crypt
crypt++ gnuserv rsz-minibuf iso-sgml uniquify bbdb-autoloads advice
advice-preload bbdb timezone filladapt tex-site completer var-width
bookmark pp blink-extras blink-paren x-compose blink-cursor pending-del
xslt-process-autoloads xemacs-devel-autoloads xemacs-base-autoloads
w3-autoloads vm-autoloads viper-autoloads view-process-autoloads
vc-autoloads tramp-autoloads tpu-autoloads tooltalk-autoloads tm-autoloads
time-autoloads textools-autoloads text-modes-autoloads texinfo-autoloads
supercite-autoloads strokes-autoloads speedbar-autoloads
sounds-wav-autoloads sounds-au-autoloads slider-autoloads sieve-autoloads
sh-script-autoloads sgml-autoloads semantic-autoloads scheme-autoloads
rmail-autoloads reftex-autoloads psgml-autoloads ps-print-nomule-autoloads
ps-print-autoloads prog-modes-autoloads pcomplete-autoloads
pcl-cvs-autoloads pc-autoloads os-utils-autoloads net-utils-autoloads
misc-games-autoloads mine-autoloads mh-e-autoloads mew-autoloads
mailcrypt-autoloads mail-lib-autoloads lookup-autoloads jde-autoloads
ispell-autoloads ilisp-autoloads igrep-autoloads idlwave-autoloads
hm--html-menus-autoloads gnus-autoloads gnats-autoloads games-autoloads
fsf-compat-autoloads frame-icon-autoloads forms-autoloads
footnote-autoloads eudc-autoloads eterm-autoloads eshell-autoloads
emerge-autoloads elib-autoloads eieio-autoloads efs-autoloads edt-autoloads
edit-utils-autoloads ediff-autoloads edebug-autoloads dired-autoloads
debug-autoloads crisp-autoloads cookie-autoloads cc-mode-autoloads
calendar-autoloads calc-autoloads c-support-autoloads build-autoloads
auctex-autoloads apel-autoloads ada-autoloads Sun-autoloads skk-autoloads
mule-ucs-autoloads mule-base-autoloads locale-autoloads leim-autoloads
egg-its-autoloads edict-autoloads x-symbol-autoloads lisp-autoloads
loadhist auto-show fontl-hooks x-iso8859-1 slovenian czech romanian ccl
mule-help code-cmds gutter-items menubar-items x-menubar mode-motion mouse
itimer auto-save lisp-mode easymenu iso8859-1 page buff-menu lib-complete
cus-file derived frame text-props obsolete cus-start custom widget cl-extra
mini-cl cl cl-19 packages backquote very-early-lisp file-coding mule
lucid-scrollbars cut-buffer lucid-menubars motif-dialogs x c-balloon-help
tty-frames tty toolbar native-sound scrollbar unix-processes multicast
network-streams subprocesses modules menu-accelerator-support menubar
berkeley-db dbm md5 xemacs xim gutter tiff png gif jpeg xface xpm xbm
lisp-float-type linux dialog devices window-system base64)
Recent keystrokes:
-----------------
e m a c s RET C-u SPC kp-end C-x 4 C-f . BS l i BS
BS l i TAB x e TAB RET down up f down down down down
down down down down down down down down down down up
C-u W M-_ C-y SPC & RET button1 button1up button1 button1up
button1 button1up button1 button1up button1 button1up
f5 up up down down down down down down down down down
up up C-u SPC RET kp-end button2 button2up button2
button2up up up up button1 button1up C-r p r o c e
s s RET button2 button2up SPC misc-user
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Replacing field "last-msg" with "Re: pcl-cvs/xemacs bug"
Generating summary...done
Generating summary...
Scoring...done
Scoring...
Suppressing duplicates...done
Suppressing duplicates...
Fetching headers for nnml:emacs.beta...done
Fetching headers for nnml:emacs.beta...
Retrieving newsgroup: nnml:emacs.beta...
Checking new news...done
nnimap: Updating info for nnimap+master:INBOX.ASWAD Official...done
nnimap: Updating info for nnimap+master:INBOX.ASWAD Official...
nnimap: Updating info for nnimap+master:INBOX.ASWAD...done
nnimap: Updating info for nnimap+master:INBOX.ASWAD...
nnimap: Updating info for nnimap+master:INBOX.EUTIST-AMI...done
nnimap: Updating info for nnimap+master:INBOX.EUTIST-AMI...
Opening nnimap server on master...