multiSSH3 6.46__tar.gz → 6.48__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. {multissh3-6.46/multiSSH3.egg-info → multissh3-6.48}/PKG-INFO +35 -7
  2. {multissh3-6.46 → multissh3-6.48}/README.md +34 -6
  3. {multissh3-6.46 → multissh3-6.48}/mssh_complete.py +631 -38
  4. {multissh3-6.46 → multissh3-6.48/multiSSH3.egg-info}/PKG-INFO +35 -7
  5. {multissh3-6.46 → multissh3-6.48}/multiSSH3.egg-info/SOURCES.txt +3 -0
  6. {multissh3-6.46 → multissh3-6.48}/multiSSH3.py +2 -2
  7. {multissh3-6.46 → multissh3-6.48}/tests/complete_shell_harness.py +90 -10
  8. {multissh3-6.46 → multissh3-6.48}/tests/conftest.py +26 -0
  9. multissh3-6.48/tests/data/zsh_double_quote_shapes.json +215 -0
  10. multissh3-6.48/tests/data/zsh_double_quote_shapes_6.46.json +188 -0
  11. {multissh3-6.46 → multissh3-6.48}/tests/test_complete_cli.py +28 -4
  12. {multissh3-6.46 → multissh3-6.48}/tests/test_complete_diagnose.py +3 -3
  13. multissh3-6.48/tests/test_complete_harness.py +90 -0
  14. {multissh3-6.46 → multissh3-6.48}/tests/test_complete_index.py +2 -1
  15. {multissh3-6.46 → multissh3-6.48}/tests/test_complete_keys.py +13 -7
  16. {multissh3-6.46 → multissh3-6.48}/tests/test_complete_picker.py +16 -2
  17. {multissh3-6.46 → multissh3-6.48}/tests/test_complete_shells.py +760 -36
  18. {multissh3-6.46 → multissh3-6.48}/tests/test_complete_terminal.py +56 -12
  19. {multissh3-6.46 → multissh3-6.48}/tests/test_hosts_file.py +8 -1
  20. multissh3-6.48/tests/zsh_shapes_probe.py +47 -0
  21. multissh3-6.46/tests/test_complete_harness.py +0 -45
  22. {multissh3-6.46 → multissh3-6.48}/LICENSE +0 -0
  23. {multissh3-6.46 → multissh3-6.48}/MANIFEST.in +0 -0
  24. {multissh3-6.46 → multissh3-6.48}/multiSSH3.egg-info/dependency_links.txt +0 -0
  25. {multissh3-6.46 → multissh3-6.48}/multiSSH3.egg-info/entry_points.txt +0 -0
  26. {multissh3-6.46 → multissh3-6.48}/multiSSH3.egg-info/top_level.txt +0 -0
  27. {multissh3-6.46 → multissh3-6.48}/pytest.ini +0 -0
  28. {multissh3-6.46 → multissh3-6.48}/scripts/multiSSH3 +0 -0
  29. {multissh3-6.46 → multissh3-6.48}/setup.cfg +0 -0
  30. {multissh3-6.46 → multissh3-6.48}/setup.py +0 -0
  31. {multissh3-6.46 → multissh3-6.48}/tests/bench_complete.py +0 -0
  32. {multissh3-6.46 → multissh3-6.48}/tests/data/run_command_golden.json +0 -0
  33. {multissh3-6.46 → multissh3-6.48}/tests/replay.py +0 -0
  34. {multissh3-6.46 → multissh3-6.48}/tests/shells/Dockerfile.bash3.2 +0 -0
  35. {multissh3-6.46 → multissh3-6.48}/tests/shells/Dockerfile.bash5.0 +0 -0
  36. {multissh3-6.46 → multissh3-6.48}/tests/shells/Dockerfile.bash5.1 +0 -0
  37. {multissh3-6.46 → multissh3-6.48}/tests/shells/Dockerfile.bash5.3 +0 -0
  38. {multissh3-6.46 → multissh3-6.48}/tests/shells/Dockerfile.centos7 +0 -0
  39. {multissh3-6.46 → multissh3-6.48}/tests/shells/Dockerfile.current +0 -0
  40. {multissh3-6.46 → multissh3-6.48}/tests/shells/Dockerfile.el10 +0 -0
  41. {multissh3-6.46 → multissh3-6.48}/tests/shells/Dockerfile.el9 +0 -0
  42. {multissh3-6.46 → multissh3-6.48}/tests/shells/Dockerfile.legacy +0 -0
  43. {multissh3-6.46 → multissh3-6.48}/tests/shells/Dockerfile.modern +0 -0
  44. {multissh3-6.46 → multissh3-6.48}/tests/shells/run_matrix.sh +0 -0
  45. {multissh3-6.46 → multissh3-6.48}/tests/test_cli_branches.py +0 -0
  46. {multissh3-6.46 → multissh3-6.48}/tests/test_cli_option_words.py +0 -0
  47. {multissh3-6.46 → multissh3-6.48}/tests/test_cli_processing.py +0 -0
  48. {multissh3-6.46 → multissh3-6.48}/tests/test_closed_output.py +0 -0
  49. {multissh3-6.46 → multissh3-6.48}/tests/test_color_helpers.py +0 -0
  50. {multissh3-6.46 → multissh3-6.48}/tests/test_command_terminal.py +0 -0
  51. {multissh3-6.46 → multissh3-6.48}/tests/test_compact_hostnames.py +0 -0
  52. {multissh3-6.46 → multissh3-6.48}/tests/test_complete_blesh.py +0 -0
  53. {multissh3-6.46 → multissh3-6.48}/tests/test_complete_context.py +0 -0
  54. {multissh3-6.46 → multissh3-6.48}/tests/test_complete_editor.py +0 -0
  55. {multissh3-6.46 → multissh3-6.48}/tests/test_complete_engine.py +0 -0
  56. {multissh3-6.46 → multissh3-6.48}/tests/test_complete_eval.py +0 -0
  57. {multissh3-6.46 → multissh3-6.48}/tests/test_complete_hosts.py +0 -0
  58. {multissh3-6.46 → multissh3-6.48}/tests/test_complete_hoststate.py +0 -0
  59. {multissh3-6.46 → multissh3-6.48}/tests/test_complete_lex.py +0 -0
  60. {multissh3-6.46 → multissh3-6.48}/tests/test_complete_mssh_helpers.py +0 -0
  61. {multissh3-6.46 → multissh3-6.48}/tests/test_complete_password_spellings.py +0 -0
  62. {multissh3-6.46 → multissh3-6.48}/tests/test_complete_probe.py +0 -0
  63. {multissh3-6.46 → multissh3-6.48}/tests/test_complete_start.py +0 -0
  64. {multissh3-6.46 → multissh3-6.48}/tests/test_complete_store.py +0 -0
  65. {multissh3-6.46 → multissh3-6.48}/tests/test_complete_suggest.py +0 -0
  66. {multissh3-6.46 → multissh3-6.48}/tests/test_complete_untrusted.py +0 -0
  67. {multissh3-6.46 → multissh3-6.48}/tests/test_complete_zsh_options.py +0 -0
  68. {multissh3-6.46 → multissh3-6.48}/tests/test_config_cli.py +0 -0
  69. {multissh3-6.46 → multissh3-6.48}/tests/test_config_validate.py +0 -0
  70. {multissh3-6.46 → multissh3-6.48}/tests/test_config_values.py +0 -0
  71. {multissh3-6.46 → multissh3-6.48}/tests/test_control_master_config.py +0 -0
  72. {multissh3-6.46 → multissh3-6.48}/tests/test_copy_id.py +0 -0
  73. {multissh3-6.46 → multissh3-6.48}/tests/test_curses_branches.py +0 -0
  74. {multissh3-6.46 → multissh3-6.48}/tests/test_curses_event_loop.py +0 -0
  75. {multissh3-6.46 → multissh3-6.48}/tests/test_curses_tui.py +0 -0
  76. {multissh3-6.46 → multissh3-6.48}/tests/test_curses_wide_chars.py +0 -0
  77. {multissh3-6.46 → multissh3-6.48}/tests/test_expand_hostnames.py +0 -0
  78. {multissh3-6.46 → multissh3-6.48}/tests/test_file_trust.py +0 -0
  79. {multissh3-6.46 → multissh3-6.48}/tests/test_harness_smoke.py +0 -0
  80. {multissh3-6.46 → multissh3-6.48}/tests/test_helpers_extra.py +0 -0
  81. {multissh3-6.46 → multissh3-6.48}/tests/test_history_replay.py +0 -0
  82. {multissh3-6.46 → multissh3-6.48}/tests/test_host.py +0 -0
  83. {multissh3-6.46 → multissh3-6.48}/tests/test_host_validity.py +0 -0
  84. {multissh3-6.46 → multissh3-6.48}/tests/test_identities_only.py +0 -0
  85. {multissh3-6.46 → multissh3-6.48}/tests/test_ipmi_lockout_wait.py +0 -0
  86. {multissh3-6.46 → multissh3-6.48}/tests/test_ipmi_logins.py +0 -0
  87. {multissh3-6.46 → multissh3-6.48}/tests/test_key_path_home.py +0 -0
  88. {multissh3-6.46 → multissh3-6.48}/tests/test_login_drop_retry.py +0 -0
  89. {multissh3-6.46 → multissh3-6.48}/tests/test_main_lifecycle.py +0 -0
  90. {multissh3-6.46 → multissh3-6.48}/tests/test_narrow_terminal.py +0 -0
  91. {multissh3-6.46 → multissh3-6.48}/tests/test_no_hosts.py +0 -0
  92. {multissh3-6.46 → multissh3-6.48}/tests/test_option_no_effect.py +0 -0
  93. {multissh3-6.46 → multissh3-6.48}/tests/test_options_after_command.py +0 -0
  94. {multissh3-6.46 → multissh3-6.48}/tests/test_output_merge.py +0 -0
  95. {multissh3-6.46 → multissh3-6.48}/tests/test_output_robustness.py +0 -0
  96. {multissh3-6.46 → multissh3-6.48}/tests/test_packaging.py +0 -0
  97. {multissh3-6.46 → multissh3-6.48}/tests/test_password_handling.py +0 -0
  98. {multissh3-6.46 → multissh3-6.48}/tests/test_passwords_out_of_ps.py +0 -0
  99. {multissh3-6.46 → multissh3-6.48}/tests/test_run_command.py +0 -0
  100. {multissh3-6.46 → multissh3-6.48}/tests/test_run_command_branches.py +0 -0
  101. {multissh3-6.46 → multissh3-6.48}/tests/test_run_command_characterization.py +0 -0
  102. {multissh3-6.46 → multissh3-6.48}/tests/test_run_command_exit.py +0 -0
  103. {multissh3-6.46 → multissh3-6.48}/tests/test_run_on_hosts.py +0 -0
  104. {multissh3-6.46 → multissh3-6.48}/tests/test_run_on_hosts_modes.py +0 -0
  105. {multissh3-6.46 → multissh3-6.48}/tests/test_runtime_branch_matrix.py +0 -0
  106. {multissh3-6.46 → multissh3-6.48}/tests/test_runtime_dir.py +0 -0
  107. {multissh3-6.46 → multissh3-6.48}/tests/test_shared_lines.py +0 -0
  108. {multissh3-6.46 → multissh3-6.48}/tests/test_smoke_optional.py +0 -0
  109. {multissh3-6.46 → multissh3-6.48}/tests/test_ssh_error_text.py +0 -0
  110. {multissh3-6.46 → multissh3-6.48}/tests/test_ssh_timeouts.py +0 -0
  111. {multissh3-6.46 → multissh3-6.48}/tests/test_sshpass_exit.py +0 -0
  112. {multissh3-6.46 → multissh3-6.48}/tests/test_start_run_on_hosts.py +0 -0
  113. {multissh3-6.46 → multissh3-6.48}/tests/test_stopped_commands.py +0 -0
  114. {multissh3-6.46 → multissh3-6.48}/tests/test_stream_reader.py +0 -0
  115. {multissh3-6.46 → multissh3-6.48}/tests/test_streamed_output.py +0 -0
  116. {multissh3-6.46 → multissh3-6.48}/tests/test_tui_ssh_notices.py +0 -0
  117. {multissh3-6.46 → multissh3-6.48}/tests/test_unavailable_hosts.py +0 -0
  118. {multissh3-6.46 → multissh3-6.48}/tests/test_underscore_settings.py +0 -0
  119. {multissh3-6.46 → multissh3-6.48}/tests/test_waiting.py +0 -0
  120. {multissh3-6.46 → multissh3-6.48}/tests/test_wide_wrap.py +0 -0
  121. {multissh3-6.46 → multissh3-6.48}/tests/vt_grid.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: multiSSH3
3
- Version: 6.46
3
+ Version: 6.48
4
4
  Summary: Run commands on multiple hosts via SSH
5
5
  Home-page: https://github.com/yufei-pan/multiSSH3
6
6
  Author: Yufei Pan
@@ -1000,7 +1000,7 @@ Option names count in full only: `--user` is not `--username` and `-c` is not `-
1000
1000
 
1001
1001
  Putting the command after `--` is no substitute for quotes: every word after the hosts is a command of its own, so `mssh web1 -- bash -c 'echo hi'` runs `bash`, `-c` and `echo hi` one after another (when each word is a single word, as in `mssh web1 -- ls -la`, mssh asks whether to join them).
1002
1002
 
1003
- Below is a sample help message output from multiSSH3 6.46 @ 2026-11-07 (no config file, 120 columns; the lines after the options list the programs found on that machine)
1003
+ Below is a sample help message output from multiSSH3 6.47 @ 2026-11-16 (no config file, 120 columns; the lines after the options list the programs found on that machine)
1004
1004
 
1005
1005
  ```bash
1006
1006
  $ mssh -h
@@ -1414,17 +1414,45 @@ __DEBUG_MODE = False
1414
1414
 
1415
1415
  > `__DEBUG_MODE` is used to control whether to print host thread execution debug information to its stderr.
1416
1416
 
1417
+ ## Upgrading to 6.48 from 6.47
1418
+
1419
+ Run `mssh --completion install` again (zsh and bash): the fixes below are in the new glue. What you may notice:
1420
+
1421
+ - Fix (zsh): in a double-quoted command, a word that the command splits itself (a `CFLAGS=` value, the command string of `sh -c` or `su -c`) completes again where it holds an escaped blank or a name needs quoting, as in 6.46: `mssh h "make CFLAGS=-O2\\ -ggd<TAB>` gives `-ggdb`, and `"su -c ./lzz<TAB>` with a file `lzz x` gives the word `su -c` runs as that file. Such a word holding an escaped blank beside a `\!` or a `\\\$` gets nothing (6.46 wrote it wrong).
1422
+ - Fix (zsh): where the command splits the word and offers nothing, zsh's default file names no longer stand in: `mssh h "su -c ./lzz\\ x<TAB>` with a file `lzz xy` wrote `./lzz\\ xy`, which `su -c` runs as `./lzz` with an argument `xy`.
1423
+ - Fix (zsh): in a double-quoted command holding an expansion, `mssh h "echo $USER; make CFLAGS=-O2\\ -Isub/zz<TAB>` no longer writes the text twice: it completes, or offers nothing inside backticks and where the value holds a `\\\$`. Inside backticks a single-quoted command's value the command splits (`` `mssh h 'make CFLAGS=-Izzd\\\&x/zz<TAB> ``) offers nothing too, where it wrote the text twice.
1424
+ - Fix (zsh): a quote the command opens at the start of a word in a double-quoted command holding an expansion is read: `mssh h "echo $USER 'zz<TAB>` gives `'zzfile'" `.
1425
+ - Fix (zsh): `mssh h "cat 'a' b\\c 'zz<TAB>` completes again; 6.47 offered nothing after a backslash outside a quote of the command's own.
1426
+ - Fix (zsh): inside `$( )`, after TAB wrote the start names holding `!` share, `"zz"\!"`, a letter typed and TAB give `"zz"\!"x"`, which mssh reads as `zz!x` (6.47 wrote `"zz\!x"`, which reached mssh as `zz\!x`). On zsh 5.0.2 (EL7) history names are offered after a `\!` typed earlier in a double-quoted command, and inside `$( )` a second TAB into a directory holding `!` completes.
1427
+ - Fix (zsh): inside backticks, `dd if="~/zzd<TAB>` and then `zz<TAB>` go on into the directory.
1428
+ - Fix (bash): a typed directory holding a `$` that is there by that name goes in written for the remote shell: `mssh h cat zzd$x/zz<TAB>` gave `zzd$x/zzin`, which a shell read as `zzd/zzin`, and gives `zzd\\\$x/zzin`. Under ble.sh a bare `$x` typed there offers nothing.
1429
+ - Known (zsh, deferred to 6.49): history names in a directory typed with backslashes, beside a command's names that are no file names in a quoted word holding a `/` (`mssh h "ls /etc --col<TAB>` offers `ls`'s `--color=` alone), beside a directory a command gives with an option's text after a quote at an `=`, a history name beside a directory here, which stops TAB before the directory's `/` (`zzdir`, as in 6.47), and a quote opened partway through a word ([limitations](docs/limitations.md)).
1430
+
1431
+ ## Upgrading to 6.47 from 6.46
1432
+
1433
+ Run `mssh --completion install` again (zsh): the fixes below are in the new glue. What you may notice:
1434
+
1435
+ - Fix (zsh): inside `$( )`, `<( )` and `>( )`, with `bang_hist` on, a name holding `!` in a double quote goes in with the `!` outside the quote, `"zz"\!"x"`: `$(mssh -f "zz<TAB>` gave mssh `zz\!x`, a file that is not there. On the line and inside backticks the spelling is as before. A letter typed behind such a word and a TAB write it as zsh does, `"zz\!x"`, as 6.46 did (fixed in 6.48).
1436
+ - Change (zsh): a double-quoted command is split into words by the glue, not by zsh's `compset -q`, which read its backslashes wrong: `mssh h "grep \"a b\" zz<TAB>` gave `zzfilezz` and now gives `zzfile`, and TAB goes on into a directory written for the remote shell (`zzd$x`, ``zzd`x``, `zzd&x`). The quote stays open after a name, as before.
1437
+ - Fix (zsh): inside backticks, TAB goes on into such a directory in a quoted command, a double-quoted word holding an expansion and after a quote at an `=` (`` `mssh h dd if="zzd<TAB>zz<TAB> ``).
1438
+ - Fix (zsh): a value the command splits after a quote at an `=` keeps the quote: `mssh h make CFLAGS="-ggd<TAB>` gave `CFLAGS=-ggdb` and now gives `CFLAGS="-ggdb`, the quote left open, as in a quoted command, and its names are written for the remote shell (a directory `zz$v` reaches the remote shell as `zz$v`; 6.46 gave it `zz\$v`). `mssh h make CFLAGS="<TAB>` now lists gcc's options (what zsh completes a `CFLAGS` value with), which `CFLAGS=<TAB>` already did in 6.46: that is a long list, which zsh asks about first.
1439
+ - Fix (zsh): a `~/` typed after `dd`'s `=` stays as typed, so the remote shell gets the `~`: 6.46 wrote this machine's home path there (`mssh h dd if=~/zz<TAB>`, `dd if="~/zz`, `"dd if=~/zz`), and for a typed `\~`, which is now written as `~`. A `~name/` stays as typed in a quoted command (`mssh h "dd if=~bin/ba<TAB>`); outside one it is expanded, as in 6.46.
1440
+ - Fix (zsh): beside the command's file names, mssh's history names are offered in a quoted command's word holding a `/`, a double-quoted word holding an expansion, and after a quote at an `=` (`mssh h "cat sub/zz<TAB>` with `mssh h "cat sub/zzremote"`, a quoted argument, in history; `cat sub/zzremote` typed as words is not offered beside a local name there). Not yet beside names that are no file names in a quoted word holding a `/`, or a directory with an option's text after a quote at an `=` ([limitations](docs/limitations.md#zsh-in-a-quoted-word-holding-a--no-history-name-beside-a-commands-names-that-are-no-file-names)), or in a directory typed with backslashes ([limitations](docs/limitations.md#zsh-in-a-directory-typed-with-backslashes-no-history-names-beside-the-local-ones)).
1441
+ - Fix (zsh): in a command inside an open `<(` or `>(`, a double-quoted word holding an expansion is completed, not expanded, as inside `$(`.
1442
+ - Change (zsh): TAB no longer escapes a `!` typed bare earlier in a double-quoted command (`mssh h "echo a!b zz<TAB>`): zsh expands it on Enter, as without TAB. A `\!` typed there stays as typed. Inside `$( )`, zsh's own TAB expands such a `!b` from history first, or drops it when no history line matches (with any command, with or without mssh; `setopt no_bang_hist` avoids it; [limitations](docs/limitations.md#zsh-tab-inside-a-command-substitution-expands-a-bare-b-from-history)).
1443
+ - Known (zsh, deferred to 6.48): a few shapes of the above are not done yet, among them a quote opened inside a double-quoted word holding an expansion, an escaped blank or a name that needs quoting in a word the command splits itself (`mssh h "make CFLAGS=-O2\\ -ggd<TAB>`, `"sh -c ls\\ zz<TAB>`, and `"su -c ./lzz<TAB>` with a file `lzz x` stay as typed, where 6.46 completed them; for `su -c` and a file that is not executable, 6.46's word on zsh 5.0.2 was one that `su -c` splits), and two cases on zsh 5.0.2: 6.47's [limitations](docs/limitations.md) listed them as `deferred (6.48)`; 6.48 fixes them, but for five, now deferred to 6.49 or waiting on a zsh fix.
1444
+
1417
1445
  ## Upgrading to 6.46 from 6.45
1418
1446
 
1419
1447
  Run `mssh --completion install` again (zsh): the fixes below are in the new glue. What you may notice:
1420
1448
 
1421
1449
  - Fix (zsh): a quote after a plain name's `=` stays, as after a remote option's: `mssh h dd if="zz<TAB>` gave `if=zzfile ` and now gives `if="zzfile" `, `make VAR="zz<TAB>` the same; beside another name TAB no longer takes the quote back (`if="zz` stayed `if=zz`).
1422
- - Fix (zsh): inside backticks, a name that needs quoting is offered again, written for the extra reading backticks get: with a file `zzs$v`, `` `mssh h cat zz<TAB> `` gives `` `mssh h cat zzs\\\\\\\$v ``, and the remote shell gets `cat zzs$v`, as in `$( )`. Also in quoted commands and arguments, after `--output="` and `if="`, history names, and mssh's own file options: `` `mssh -f zz<TAB> `` gave `zzs\$v`, so mssh got `-f zzs`, and now gives `zzs\\\$v`. TAB goes on into such a directory (`` `mssh h cat zzd<TAB>zz<TAB> `` for `zzd&x/zzin`), except in a quoted command, a double-quoted word holding an expansion, or after a quote at an `=` ([limitations](docs/limitations.md#zsh-inside-backticks-tab-does-not-go-on-into-a-changed-directory-in-a-quoted-command-or-after-a-quote-at-an-)).
1450
+ - Fix (zsh): inside backticks, a name that needs quoting is offered again, written for the extra reading backticks get: with a file `zzs$v`, `` `mssh h cat zz<TAB> `` gives `` `mssh h cat zzs\\\\\\\$v ``, and the remote shell gets `cat zzs$v`, as in `$( )`. Also in quoted commands and arguments, after `--output="` and `if="`, history names, and mssh's own file options: `` `mssh -f zz<TAB> `` gave `zzs\$v`, so mssh got `-f zzs`, and now gives `zzs\\\$v`. TAB goes on into such a directory (`` `mssh h cat zzd<TAB>zz<TAB> `` for `zzd&x/zzin`), except in a quoted command, a double-quoted word holding an expansion, or after a quote at an `=` (fixed in 6.47).
1423
1451
  - Fix (zsh): a backtick in single quotes, `$'...'` or after a backslash no longer counts as an open one: `` mssh h echo '`' zz<TAB> `` offers `zzs$v` again, as 6.44 did.
1424
- - Fix (zsh): in a word holding a `/`, mssh's history names are offered beside the command's own names: with `sub/zzlocal` here and `cat sub/zzremote` in history, `mssh h cat sub/zz<TAB>` stays as typed, and `r<TAB>` gives `sub/zzremote`. Also in `cat "sub/zz`, `sort --output=sub/zz` and `~/.zz`. Not yet in a quoted command, a double-quoted word holding an expansion or after a quote at an `=`, where they are offered when the command offers nothing, as in 6.45 ([limitations](docs/limitations.md#zsh-beside-the-commands-own-names-a-history-name-in-a-quoted-commands-word-holding-a--is-left-out)).
1425
- - Known (zsh, deferred to 6.47): inside `$(`, with `bang_hist` on (zsh's default), a double-quoted name holding `!` reaches mssh as `\!`: `$(mssh -f "zz<TAB>` for a file `zz!x` gives mssh `-f zz\!x`. On the line and inside backticks it reaches mssh as `zz!x`. 6.45 does the same, except after a quote at an `=` (`$(mssh h dd if="zz<TAB>`), where 6.45 dropped the quote and mssh got `if=zz!x` ([limitations](docs/limitations.md#zsh-inside---with-bang_hist-on-a-name-holding--in-a-double-quote-reaches-mssh-as-)).
1426
- - Known (zsh, deferred to 6.47): a value that the command's completion splits after a quote at an `=` loses the quote, as in 6.45: `mssh h make CFLAGS="-ggd<TAB>` gives `CFLAGS=-ggdb`. With a history name for it the quote stays, except for a value holding a `/` with a local name beside it ([limitations](docs/limitations.md#zsh-a-value-the-command-splits-after-a-quote-at-an--loses-the-quote)).
1427
- - Known (zsh, deferred to 6.47): in a double-quoted command holding `\"`, TAB puts the name after the typed word: `mssh h "grep \"a b\" zz<TAB>` gives `zzfilezz`, as in 6.45 and zsh's own `compset -q` ([limitations](docs/limitations.md#zsh-in-a-double-quoted-command-holding--tab-puts-the-name-after-the-typed-word)).
1452
+ - Fix (zsh): in a word holding a `/`, mssh's history names are offered beside the command's own names: with `sub/zzlocal` here and `mssh h "cat sub/zzremote"` in history, `mssh h cat sub/zz<TAB>` stays as typed, and `r<TAB>` gives `sub/zzremote`. Also in `cat "sub/zz`, `sort --output=sub/zz` and `~/.zz`. Not yet in a quoted command, a double-quoted word holding an expansion or after a quote at an `=`, where they are offered when the command offers nothing, as in 6.45 (6.47 offers them there beside file names).
1453
+ - Known (zsh, deferred to 6.47): inside `$(`, with `bang_hist` on (zsh's default), a double-quoted name holding `!` reaches mssh as `\!`: `$(mssh -f "zz<TAB>` for a file `zz!x` gives mssh `-f zz\!x`. On the line and inside backticks it reaches mssh as `zz!x`. 6.45 does the same, except after a quote at an `=` (`$(mssh h dd if="zz<TAB>`), where 6.45 dropped the quote and mssh got `if=zz!x` (fixed in 6.47).
1454
+ - Known (zsh, deferred to 6.47): a value that the command's completion splits after a quote at an `=` loses the quote, as in 6.45: `mssh h make CFLAGS="-ggd<TAB>` gives `CFLAGS=-ggdb`. With a history name for it the quote stays, except for a value holding a `/` with a local name beside it (fixed in 6.47).
1455
+ - Known (zsh, deferred to 6.47): in a double-quoted command holding `\"`, TAB puts the name after the typed word: `mssh h "grep \"a b\" zz<TAB>` gives `zzfilezz`, as in 6.45 and zsh's own `compset -q` (fixed in 6.47).
1428
1456
  - Fix (zsh): TAB no longer leaves `MATCH`, `MBEGIN` and `MEND` set in the shell, as stock zsh leaves none: they showed in `set` and as names `echo $M<TAB>` offered. 6.45 left them after TAB on some mssh lines.
1429
1457
  - Change (zsh): a `~/` typed before a history name stays as typed, this shell's home, as the line gives without TAB: `mssh h cat ~/.zzr<TAB>` with `cat ~/.zzremote` in history gave `\~/.zzremote`, the remote host's home, and now gives `~/.zzremote`.
1430
1458
 
@@ -974,7 +974,7 @@ Option names count in full only: `--user` is not `--username` and `-c` is not `-
974
974
 
975
975
  Putting the command after `--` is no substitute for quotes: every word after the hosts is a command of its own, so `mssh web1 -- bash -c 'echo hi'` runs `bash`, `-c` and `echo hi` one after another (when each word is a single word, as in `mssh web1 -- ls -la`, mssh asks whether to join them).
976
976
 
977
- Below is a sample help message output from multiSSH3 6.46 @ 2026-11-07 (no config file, 120 columns; the lines after the options list the programs found on that machine)
977
+ Below is a sample help message output from multiSSH3 6.47 @ 2026-11-16 (no config file, 120 columns; the lines after the options list the programs found on that machine)
978
978
 
979
979
  ```bash
980
980
  $ mssh -h
@@ -1388,17 +1388,45 @@ __DEBUG_MODE = False
1388
1388
 
1389
1389
  > `__DEBUG_MODE` is used to control whether to print host thread execution debug information to its stderr.
1390
1390
 
1391
+ ## Upgrading to 6.48 from 6.47
1392
+
1393
+ Run `mssh --completion install` again (zsh and bash): the fixes below are in the new glue. What you may notice:
1394
+
1395
+ - Fix (zsh): in a double-quoted command, a word that the command splits itself (a `CFLAGS=` value, the command string of `sh -c` or `su -c`) completes again where it holds an escaped blank or a name needs quoting, as in 6.46: `mssh h "make CFLAGS=-O2\\ -ggd<TAB>` gives `-ggdb`, and `"su -c ./lzz<TAB>` with a file `lzz x` gives the word `su -c` runs as that file. Such a word holding an escaped blank beside a `\!` or a `\\\$` gets nothing (6.46 wrote it wrong).
1396
+ - Fix (zsh): where the command splits the word and offers nothing, zsh's default file names no longer stand in: `mssh h "su -c ./lzz\\ x<TAB>` with a file `lzz xy` wrote `./lzz\\ xy`, which `su -c` runs as `./lzz` with an argument `xy`.
1397
+ - Fix (zsh): in a double-quoted command holding an expansion, `mssh h "echo $USER; make CFLAGS=-O2\\ -Isub/zz<TAB>` no longer writes the text twice: it completes, or offers nothing inside backticks and where the value holds a `\\\$`. Inside backticks a single-quoted command's value the command splits (`` `mssh h 'make CFLAGS=-Izzd\\\&x/zz<TAB> ``) offers nothing too, where it wrote the text twice.
1398
+ - Fix (zsh): a quote the command opens at the start of a word in a double-quoted command holding an expansion is read: `mssh h "echo $USER 'zz<TAB>` gives `'zzfile'" `.
1399
+ - Fix (zsh): `mssh h "cat 'a' b\\c 'zz<TAB>` completes again; 6.47 offered nothing after a backslash outside a quote of the command's own.
1400
+ - Fix (zsh): inside `$( )`, after TAB wrote the start names holding `!` share, `"zz"\!"`, a letter typed and TAB give `"zz"\!"x"`, which mssh reads as `zz!x` (6.47 wrote `"zz\!x"`, which reached mssh as `zz\!x`). On zsh 5.0.2 (EL7) history names are offered after a `\!` typed earlier in a double-quoted command, and inside `$( )` a second TAB into a directory holding `!` completes.
1401
+ - Fix (zsh): inside backticks, `dd if="~/zzd<TAB>` and then `zz<TAB>` go on into the directory.
1402
+ - Fix (bash): a typed directory holding a `$` that is there by that name goes in written for the remote shell: `mssh h cat zzd$x/zz<TAB>` gave `zzd$x/zzin`, which a shell read as `zzd/zzin`, and gives `zzd\\\$x/zzin`. Under ble.sh a bare `$x` typed there offers nothing.
1403
+ - Known (zsh, deferred to 6.49): history names in a directory typed with backslashes, beside a command's names that are no file names in a quoted word holding a `/` (`mssh h "ls /etc --col<TAB>` offers `ls`'s `--color=` alone), beside a directory a command gives with an option's text after a quote at an `=`, a history name beside a directory here, which stops TAB before the directory's `/` (`zzdir`, as in 6.47), and a quote opened partway through a word ([limitations](docs/limitations.md)).
1404
+
1405
+ ## Upgrading to 6.47 from 6.46
1406
+
1407
+ Run `mssh --completion install` again (zsh): the fixes below are in the new glue. What you may notice:
1408
+
1409
+ - Fix (zsh): inside `$( )`, `<( )` and `>( )`, with `bang_hist` on, a name holding `!` in a double quote goes in with the `!` outside the quote, `"zz"\!"x"`: `$(mssh -f "zz<TAB>` gave mssh `zz\!x`, a file that is not there. On the line and inside backticks the spelling is as before. A letter typed behind such a word and a TAB write it as zsh does, `"zz\!x"`, as 6.46 did (fixed in 6.48).
1410
+ - Change (zsh): a double-quoted command is split into words by the glue, not by zsh's `compset -q`, which read its backslashes wrong: `mssh h "grep \"a b\" zz<TAB>` gave `zzfilezz` and now gives `zzfile`, and TAB goes on into a directory written for the remote shell (`zzd$x`, ``zzd`x``, `zzd&x`). The quote stays open after a name, as before.
1411
+ - Fix (zsh): inside backticks, TAB goes on into such a directory in a quoted command, a double-quoted word holding an expansion and after a quote at an `=` (`` `mssh h dd if="zzd<TAB>zz<TAB> ``).
1412
+ - Fix (zsh): a value the command splits after a quote at an `=` keeps the quote: `mssh h make CFLAGS="-ggd<TAB>` gave `CFLAGS=-ggdb` and now gives `CFLAGS="-ggdb`, the quote left open, as in a quoted command, and its names are written for the remote shell (a directory `zz$v` reaches the remote shell as `zz$v`; 6.46 gave it `zz\$v`). `mssh h make CFLAGS="<TAB>` now lists gcc's options (what zsh completes a `CFLAGS` value with), which `CFLAGS=<TAB>` already did in 6.46: that is a long list, which zsh asks about first.
1413
+ - Fix (zsh): a `~/` typed after `dd`'s `=` stays as typed, so the remote shell gets the `~`: 6.46 wrote this machine's home path there (`mssh h dd if=~/zz<TAB>`, `dd if="~/zz`, `"dd if=~/zz`), and for a typed `\~`, which is now written as `~`. A `~name/` stays as typed in a quoted command (`mssh h "dd if=~bin/ba<TAB>`); outside one it is expanded, as in 6.46.
1414
+ - Fix (zsh): beside the command's file names, mssh's history names are offered in a quoted command's word holding a `/`, a double-quoted word holding an expansion, and after a quote at an `=` (`mssh h "cat sub/zz<TAB>` with `mssh h "cat sub/zzremote"`, a quoted argument, in history; `cat sub/zzremote` typed as words is not offered beside a local name there). Not yet beside names that are no file names in a quoted word holding a `/`, or a directory with an option's text after a quote at an `=` ([limitations](docs/limitations.md#zsh-in-a-quoted-word-holding-a--no-history-name-beside-a-commands-names-that-are-no-file-names)), or in a directory typed with backslashes ([limitations](docs/limitations.md#zsh-in-a-directory-typed-with-backslashes-no-history-names-beside-the-local-ones)).
1415
+ - Fix (zsh): in a command inside an open `<(` or `>(`, a double-quoted word holding an expansion is completed, not expanded, as inside `$(`.
1416
+ - Change (zsh): TAB no longer escapes a `!` typed bare earlier in a double-quoted command (`mssh h "echo a!b zz<TAB>`): zsh expands it on Enter, as without TAB. A `\!` typed there stays as typed. Inside `$( )`, zsh's own TAB expands such a `!b` from history first, or drops it when no history line matches (with any command, with or without mssh; `setopt no_bang_hist` avoids it; [limitations](docs/limitations.md#zsh-tab-inside-a-command-substitution-expands-a-bare-b-from-history)).
1417
+ - Known (zsh, deferred to 6.48): a few shapes of the above are not done yet, among them a quote opened inside a double-quoted word holding an expansion, an escaped blank or a name that needs quoting in a word the command splits itself (`mssh h "make CFLAGS=-O2\\ -ggd<TAB>`, `"sh -c ls\\ zz<TAB>`, and `"su -c ./lzz<TAB>` with a file `lzz x` stay as typed, where 6.46 completed them; for `su -c` and a file that is not executable, 6.46's word on zsh 5.0.2 was one that `su -c` splits), and two cases on zsh 5.0.2: 6.47's [limitations](docs/limitations.md) listed them as `deferred (6.48)`; 6.48 fixes them, but for five, now deferred to 6.49 or waiting on a zsh fix.
1418
+
1391
1419
  ## Upgrading to 6.46 from 6.45
1392
1420
 
1393
1421
  Run `mssh --completion install` again (zsh): the fixes below are in the new glue. What you may notice:
1394
1422
 
1395
1423
  - Fix (zsh): a quote after a plain name's `=` stays, as after a remote option's: `mssh h dd if="zz<TAB>` gave `if=zzfile ` and now gives `if="zzfile" `, `make VAR="zz<TAB>` the same; beside another name TAB no longer takes the quote back (`if="zz` stayed `if=zz`).
1396
- - Fix (zsh): inside backticks, a name that needs quoting is offered again, written for the extra reading backticks get: with a file `zzs$v`, `` `mssh h cat zz<TAB> `` gives `` `mssh h cat zzs\\\\\\\$v ``, and the remote shell gets `cat zzs$v`, as in `$( )`. Also in quoted commands and arguments, after `--output="` and `if="`, history names, and mssh's own file options: `` `mssh -f zz<TAB> `` gave `zzs\$v`, so mssh got `-f zzs`, and now gives `zzs\\\$v`. TAB goes on into such a directory (`` `mssh h cat zzd<TAB>zz<TAB> `` for `zzd&x/zzin`), except in a quoted command, a double-quoted word holding an expansion, or after a quote at an `=` ([limitations](docs/limitations.md#zsh-inside-backticks-tab-does-not-go-on-into-a-changed-directory-in-a-quoted-command-or-after-a-quote-at-an-)).
1424
+ - Fix (zsh): inside backticks, a name that needs quoting is offered again, written for the extra reading backticks get: with a file `zzs$v`, `` `mssh h cat zz<TAB> `` gives `` `mssh h cat zzs\\\\\\\$v ``, and the remote shell gets `cat zzs$v`, as in `$( )`. Also in quoted commands and arguments, after `--output="` and `if="`, history names, and mssh's own file options: `` `mssh -f zz<TAB> `` gave `zzs\$v`, so mssh got `-f zzs`, and now gives `zzs\\\$v`. TAB goes on into such a directory (`` `mssh h cat zzd<TAB>zz<TAB> `` for `zzd&x/zzin`), except in a quoted command, a double-quoted word holding an expansion, or after a quote at an `=` (fixed in 6.47).
1397
1425
  - Fix (zsh): a backtick in single quotes, `$'...'` or after a backslash no longer counts as an open one: `` mssh h echo '`' zz<TAB> `` offers `zzs$v` again, as 6.44 did.
1398
- - Fix (zsh): in a word holding a `/`, mssh's history names are offered beside the command's own names: with `sub/zzlocal` here and `cat sub/zzremote` in history, `mssh h cat sub/zz<TAB>` stays as typed, and `r<TAB>` gives `sub/zzremote`. Also in `cat "sub/zz`, `sort --output=sub/zz` and `~/.zz`. Not yet in a quoted command, a double-quoted word holding an expansion or after a quote at an `=`, where they are offered when the command offers nothing, as in 6.45 ([limitations](docs/limitations.md#zsh-beside-the-commands-own-names-a-history-name-in-a-quoted-commands-word-holding-a--is-left-out)).
1399
- - Known (zsh, deferred to 6.47): inside `$(`, with `bang_hist` on (zsh's default), a double-quoted name holding `!` reaches mssh as `\!`: `$(mssh -f "zz<TAB>` for a file `zz!x` gives mssh `-f zz\!x`. On the line and inside backticks it reaches mssh as `zz!x`. 6.45 does the same, except after a quote at an `=` (`$(mssh h dd if="zz<TAB>`), where 6.45 dropped the quote and mssh got `if=zz!x` ([limitations](docs/limitations.md#zsh-inside---with-bang_hist-on-a-name-holding--in-a-double-quote-reaches-mssh-as-)).
1400
- - Known (zsh, deferred to 6.47): a value that the command's completion splits after a quote at an `=` loses the quote, as in 6.45: `mssh h make CFLAGS="-ggd<TAB>` gives `CFLAGS=-ggdb`. With a history name for it the quote stays, except for a value holding a `/` with a local name beside it ([limitations](docs/limitations.md#zsh-a-value-the-command-splits-after-a-quote-at-an--loses-the-quote)).
1401
- - Known (zsh, deferred to 6.47): in a double-quoted command holding `\"`, TAB puts the name after the typed word: `mssh h "grep \"a b\" zz<TAB>` gives `zzfilezz`, as in 6.45 and zsh's own `compset -q` ([limitations](docs/limitations.md#zsh-in-a-double-quoted-command-holding--tab-puts-the-name-after-the-typed-word)).
1426
+ - Fix (zsh): in a word holding a `/`, mssh's history names are offered beside the command's own names: with `sub/zzlocal` here and `mssh h "cat sub/zzremote"` in history, `mssh h cat sub/zz<TAB>` stays as typed, and `r<TAB>` gives `sub/zzremote`. Also in `cat "sub/zz`, `sort --output=sub/zz` and `~/.zz`. Not yet in a quoted command, a double-quoted word holding an expansion or after a quote at an `=`, where they are offered when the command offers nothing, as in 6.45 (6.47 offers them there beside file names).
1427
+ - Known (zsh, deferred to 6.47): inside `$(`, with `bang_hist` on (zsh's default), a double-quoted name holding `!` reaches mssh as `\!`: `$(mssh -f "zz<TAB>` for a file `zz!x` gives mssh `-f zz\!x`. On the line and inside backticks it reaches mssh as `zz!x`. 6.45 does the same, except after a quote at an `=` (`$(mssh h dd if="zz<TAB>`), where 6.45 dropped the quote and mssh got `if=zz!x` (fixed in 6.47).
1428
+ - Known (zsh, deferred to 6.47): a value that the command's completion splits after a quote at an `=` loses the quote, as in 6.45: `mssh h make CFLAGS="-ggd<TAB>` gives `CFLAGS=-ggdb`. With a history name for it the quote stays, except for a value holding a `/` with a local name beside it (fixed in 6.47).
1429
+ - Known (zsh, deferred to 6.47): in a double-quoted command holding `\"`, TAB puts the name after the typed word: `mssh h "grep \"a b\" zz<TAB>` gives `zzfilezz`, as in 6.45 and zsh's own `compset -q` (fixed in 6.47).
1402
1430
  - Fix (zsh): TAB no longer leaves `MATCH`, `MBEGIN` and `MEND` set in the shell, as stock zsh leaves none: they showed in `set` and as names `echo $M<TAB>` offered. 6.45 left them after TAB on some mssh lines.
1403
1431
  - Change (zsh): a `~/` typed before a history name stays as typed, this shell's home, as the line gives without TAB: `mssh h cat ~/.zzr<TAB>` with `cat ~/.zzremote` in history gave `\~/.zzremote`, the remote host's home, and now gives `~/.zzremote`.
1404
1432