Hi,
a recently changed AFNI default is to auto-detach from terminal, which is probably more convenient for most users. There is just one small limitation if you use drive AFNI in a virtual X11 server environment (Xvfb) executed e.g. like this:
xvfb-run -a --server-args='-screen 0 1280x1024x24' afni -com 'SAVE_JPEG A.axialimage sss.jpg' -com 'QUIT'
> more details [
afni.nimh.nih.gov]
If you use a fresh AFNI version, you potentially get the following error:
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":100"
after 16152 requests (16109 known processed) with 0 events remaining.
My bug fix was rather simple and easy to share - just add the
flag '-no_detach' to the afni drive command and all works as in previous versions.
xvfb-run -a --server-args='-screen 0 1280x1024x24' afni -no_detach -com 'SAVE_JPEG A.axialimage sss.jpg' -com 'QUIT'
Bernhard