Package: chocolate-doom
Version: 3.0.0-3
Severity: normal

Dear Maintainer,

When I'm using autocomplete in Bash for a chocolate-doom/heretic/hexen/strife
command line (e.g. to complete the file name for the -iwad option) the game
is launched by Bash with the following command:
`chocolate-xxx - historically compatible xxx engine`, where `xxx` is the
game name. The parameters entered up to that point are not passed to the
executable. After exiting the game (or dismissing the 'iwad file missing'
dialog), the autocomplete finishes as usual.

Expected behavior: I would expect Bash to either suggest files as usual, or
to restrict the output in some way depending on the last entered command
line parameter (e.g. restrict suggested files to *.wad and *.WAD for
the -iwad option). Autocomplete should not start the game in the normal way.

Minor nitpick: I also noticed that when launching Strife in this way, the
resulting command line is
`chocolate-strife - historically compatible strife engine`. Here the game
title is not capitalised, while the title is capitalised for the other games.

Bash version used: GNU bash 4.4.12(1)-release (x86_64-pc-linux-gnu)

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), 
LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages chocolate-doom depends on:
ii  libc6                2.26-4
ii  libpng16-16          1.6.34-1
ii  libsamplerate0       0.1.9-1
ii  libsdl2-2.0-0        2.0.7+dfsg1-3
ii  libsdl2-mixer-2.0-0  2.0.2+dfsg1-2
ii  libsdl2-net-2.0-0    2.0.1+dfsg1-3

Versions of packages chocolate-doom recommends:
ii  freedm  0.11.3-1

chocolate-doom suggests no packages.

-- no debconf information

Reply via email to