Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

contrib/mmailto: Fix using longer arguments #258

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

rakoo
Copy link
Contributor

@rakoo rakoo commented Apr 24, 2024

We put the args to $TERMINAL inside single quotes for terminals that want a single command, and we put arguments extracted from the adress between double quotes to protect from spaces.

This is necessary for xfce4-terminal for example, and doesn't break xterm

We put the args to $TERMINAL inside single quotes for terminals that want a single command,
and we put arguments extracted from the adress between double quotes to protect from spaces
@leahneukirchen
Copy link
Owner

Regarding the original patch: since we set IFS, I don't think this is necessary?

@rakoo
Copy link
Contributor Author

rakoo commented Sep 11, 2024 via email

@leahneukirchen
Copy link
Owner

Try xfce4-terminal -x ... instead. IMO this is an upstream bug, I don't know why they don't implement -e like other terminal emulators.

gnome-terminal just uses -- these days, so perhaps we should make the flag configurable/detect it.

@rakoo
Copy link
Contributor Author

rakoo commented Sep 12, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants