head 1.30; access; symbols pkgsrc-2026Q3:1.27.0.2 pkgsrc-2026Q3-base:1.27 pkgsrc-2026Q2:1.25.0.2 pkgsrc-2026Q2-base:1.25 pkgsrc-2026Q1:1.24.0.4 pkgsrc-2026Q1-base:1.24 pkgsrc-2025Q4:1.24.0.2 pkgsrc-2025Q4-base:1.24 pkgsrc-2025Q3:1.23.0.4 pkgsrc-2025Q3-base:1.23 pkgsrc-2025Q2:1.23.0.2 pkgsrc-2025Q2-base:1.23 pkgsrc-2025Q1:1.16.0.2 pkgsrc-2025Q1-base:1.16 pkgsrc-2024Q4:1.15.0.2 pkgsrc-2024Q4-base:1.15 pkgsrc-2024Q3:1.12.0.2 pkgsrc-2024Q3-base:1.12 pkgsrc-2024Q2:1.11.0.4 pkgsrc-2024Q2-base:1.11 pkgsrc-2024Q1:1.11.0.2 pkgsrc-2024Q1-base:1.11 pkgsrc-2023Q4:1.10.0.2 pkgsrc-2023Q4-base:1.10 pkgsrc-2023Q3:1.7.0.2 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.6.0.2 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.3.0.2 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.1.0.2 pkgsrc-2022Q4-base:1.1; locks; strict; comment @# @; 1.30 date 2026.11.17.04.11.12; author pin; state Exp; branches; next 1.29; commitid ccLbHMDyyQzEDL3H; 1.29 date 2026.11.04.12.24.01; author pin; state Exp; branches; next 1.28; commitid bJnZmZNLWcSzM82H; 1.28 date 2026.10.01.10.37.56; author pin; state Exp; branches; next 1.27; commitid yvzIVf7Hw2SZhLXG; 1.27 date 2026.09.06.12.23.58; author pin; state Exp; branches; next 1.26; commitid 3okyPduI6kH4GyUG; 1.26 date 2026.06.22.07.50.30; author pin; state Exp; branches; next 1.25; commitid 0UGbgeDsePBNBLKG; 1.25 date 2026.04.20.12.24.24; author pin; state Exp; branches; next 1.24; commitid HTCDGC47TjOl9HCG; 1.24 date 2025.12.20.20.05.18; author pin; state Exp; branches; next 1.23; commitid XxfJjsuLDkTBAbnG; 1.23 date 2025.06.12.08.12.37; author pin; state Exp; branches; next 1.22; commitid WJNiklKyUkdLMzYF; 1.22 date 2025.04.25.11.08.34; author wiz; state Exp; branches; next 1.21; commitid oqkQy6LP69PMiqSF; 1.21 date 2025.04.16.20.13.33; author pin; state Exp; branches; next 1.20; commitid QjyEm1uVxxUBBjRF; 1.20 date 2025.04.11.12.19.16; author pin; state Exp; branches; next 1.19; commitid mr3hojB1seTV8DQF; 1.19 date 2025.04.11.09.08.14; author pin; state Exp; branches; next 1.18; commitid lAqDeFBL7fam5CQF; 1.18 date 2025.04.04.20.17.31; author pin; state Exp; branches; next 1.17; commitid ZtcikIZaKBhR0MPF; 1.17 date 2025.04.02.11.04.00; author pin; state Exp; branches; next 1.16; commitid Sz8Rz0PcHb001tPF; 1.16 date 2025.03.27.10.06.48; author pin; state Exp; branches; next 1.15; commitid mt8wg1gwukVgTGOF; 1.15 date 2024.11.13.13.34.37; author pin; state Exp; branches; next 1.14; commitid QtJTz6QeKajJluxF; 1.14 date 2024.10.15.03.38.40; author pin; state Exp; branches; next 1.13; commitid 9qUB61koHtx4ZHtF; 1.13 date 2024.10.05.04.05.53; author pin; state Exp; branches; next 1.12; commitid aLpk7AQx1qqlsqsF; 1.12 date 2024.07.19.09.50.16; author pin; state Exp; branches; next 1.11; commitid QIvaPqlg1h7WRqiF; 1.11 date 2024.03.02.21.00.45; author pin; state Exp; branches; next 1.10; commitid UZ89CQG6J1iX2D0F; 1.10 date 2023.10.24.22.10.35; author wiz; state Exp; branches; next 1.9; commitid MTsrqKm6aGrQAVJE; 1.9 date 2023.10.06.10.37.01; author pin; state Exp; branches; next 1.8; commitid m2F131Hr4MHVlyHE; 1.8 date 2023.10.03.06.36.39; author pin; state Exp; branches; next 1.7; commitid u9x4o1q6hXks79HE; 1.7 date 2023.07.08.20.16.41; author pin; state Exp; branches; next 1.6; commitid iyM5tuCMgKm8s2wE; 1.6 date 2023.05.24.12.19.01; author pin; state Exp; branches; next 1.5; commitid 7waD8sLPZFLTfdqE; 1.5 date 2023.04.19.20.42.52; author pin; state Exp; branches; next 1.4; commitid IvJwtCA79TjyaLlE; 1.4 date 2023.04.18.18.51.48; author pin; state Exp; branches; next 1.3; commitid vqX6GfT0EcBrAClE; 1.3 date 2023.03.07.21.24.10; author pin; state Exp; branches; next 1.2; commitid iEDcC4G7HwkpMegE; 1.2 date 2023.02.23.07.36.27; author pin; state Exp; branches; next 1.1; commitid qGDaAJN3BasoACeE; 1.1 date 2022.10.21.11.40.40; author pin; state Exp; branches; next ; commitid Z1xSI1LpZEQ9XzYD; desc @@ 1.30 log @net/termscp: update to 1.2.2 1.2.2 Released on 2026-11-02 CI release: update Cargo.lock and commit it after bumping version this is required, because otherwise cargo publish will later fail Fixed host: treat posix_spawn exit 127 as a failed exec Testing host: cover exit status 127 handling in Localhost::exec Also shorten the explanatory comment to a single line. Build deps: bump remotefs-ssh to 1.1.1 (#463) Fixes remote entry names on Windows including the parent folder with a backslash separator. 1.2.1 Released on 2026-10-19 Changed transfer: check queued targets against the host bridge Drop the one-off QueuedTransfers alias and the closure parameter: the partition now queries the pane's HostBridge directly, and the test runs it against a real local directory so re-appending the file name fails it. Documentation claude: drop --lib from test commands The crate has no library target, so cargo test --lib fails. Fixed transfer: check queued destination for existing files Queued transfers store the full target path, but the overwrite check appended the file name again and looked at dest/name/name. An existing dest/name was treated as new, so the "replace file?" prompt was skipped and the file was truncated. Check the queued path as-is, the same path the transfer writes to. transfer: use queued target as-is for copy and rename Marked entries are queued with their full target path, but copy and rename appended the file name again and targeted //. Both now go through a shared apply_to_queue helper that passes the queued target unchanged, then clears the queue and reloads the list. transfer: refresh queue panels after copy or rename of marked files Clearing the queue after a multiple-file copy or rename only reset the list, so the transfer queue panels kept listing processed entries. apply_to_queue now uses the activity clear_queue, which also refreshes both panels. The helper is private to the actions module. transfer: use the typed folder for marked copy, rename and save as (#456) With several files marked, copy, rename and save as sent each file to the folder stored in the transfer queue (the other panel folder at mark time) and ignored the folder typed in the prompt. Each marked file is now placed in the typed folder under its own name, as before the transfer queue change. Plain transfers without a typed name still use the queued folders. bookmarks: fall back to file key storage when keyring write fails On some Linux systems the Secret Service keyring can be read but not written (no default collection, or a locked collection with no prompt). The keyring probe only reads, so termscp picked the keyring and then failed to store the bookmarks encryption key, aborting bookmarks initialization. When the keyring has no key and cannot store a new one, the key is now kept in the same file storage used by --wno-keyring. An existing file key is reused so saved passwords stay readable. auth: size error popup to fit the full message The error popup was fixed at a single text row, so long errors such as the bookmarks initialization failure were cut off and the actual cause was never visible. The popup height now follows the wrapped message, capped to the terminal height. Build remotefs: migrate to version 1 (#449) build(remotefs): migrate to version 1 fix(remote): preserve POSIX paths on Windows deps: bump self_update to 1 and refresh inout self_update 0.42 pulled zip 2.x, flagged by RUSTSEC-2026-0367, 0368 and 0369; inout 0.2.3 was yanked. Both failed cargo deny. deps: enable self_update progress bar Without the progress-bar feature self_update compiles the download bar out, so termscp update showed no progress. bump toolchain to 1.99.1 Style auto-update: explain fallback for unknown version status VersionStatus is non_exhaustive, so the wildcard arm cannot be removed. Document that unknown variants are reported as up to date. @ text @# $NetBSD: Makefile,v 1.29 2026/11/04 12:24:01 pin Exp $ DISTNAME= termscp-1.2.2 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_GITHUB:=veeso/} GITHUB_TAG= v${PKGVERSION_NOREV} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://termscp.veeso.dev/ COMMENT= Feature rich TUI file transfer and explorer LICENSE= mit TOOL_DEPENDS+= cmake-[0-9]*:../../devel/cmake # See, https://github.com/briansmith/ring/issues/1999 .include "../../mk/compiler/i386-sse2.mk" .include "cargo-depends.mk" RUST_REQ= 1.99.0 USE_LANGUAGES+= c c++ USE_TOOLS+= pkg-config perl gmake MAKE_ENV+= OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q} RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.dbus}/lib CARGO_NO_DEFAULT_FEATURES= YES .include "../../lang/rust/cargo.mk" .include "../../security/openssl/buildlink3.mk" .include "../../sysutils/dbus/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.29 log @net/termscp: add note on MSRV @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2026/10/01 10:37:56 pin Exp $ d3 1 a3 2 DISTNAME= termscp-1.2.0 # termscp >= 1.2.1 requires Rust >= 1.99.1 d20 1 a20 1 RUST_REQ= 1.98.0 @ 1.28 log @net/termscp: update to 1.2.0 Released on 2026-09-03 Added site: add privacy policy page (#435) Add a GDPR privacy policy covering Vercel hosting/server logs and EU-hosted Umami analytics, and link it from the footer. gcs: add Google Cloud Storage support (#443) feat(gcs): add Google Cloud Storage support add support for all ssh2 config parameters. Achieved by bumping remotefs-ssh to 0.9. Added support for these parameters: Compression Host key certificates CA signature algorithms keys to agents ProxyJump Server alive intervals Agent forwarding Remote forwarding Bind address Bind interface Connection attempts TCP Keepalive Accepted public key algos Certificate files ssh: auto-fill ssh config parameters in auth form Resolve SSH host parameters in auth forms and CLI connections while preserving explicit user, bookmark, and parsed alias values. Continue forwarding SSH config files for HostName and other SSH options, and document the precedence in English and Chinese. smb: add SMB dialect selection and persistence (#445) Support Auto, SMB1, SMB2, and SMB3 selection on Unix, bound negotiation to the selected dialect family, preserve legacy bookmarks as Auto, and document the new option. Windows keeps operating-system-managed negotiation. CI migrate project automation to Just (#442) ci: migrate project automation to Just Centralize build, test, release, dependency, hook, and website commands in Just recipes. Pin workflow tooling, use the repository toolchain, and run the complete validation set in CI. ci: codex being codex docs: update CLAUDE.md for just task runner migration Reflect the switch to just recipes for build/test/clippy/fmt, note dprint replacing raw rustfmt, and add a cross-platform code requirement. fix: resolve clippy warnings breaking CI on ubuntu and windows Use clone() instead of implicit to_string() on already-owned String values, gate the windows-only unused make_file_at import behind cfg(posix), and fix unused mut / manual assign-op in the windows-only localhost test. fix: fmt release: build Linux artifacts as static musl binaries (#447) Build Linux release artifacts as statically linked musl binaries for x86_64 and aarch64, update packaging and updater handling, and document the reduced runtime requirements. Keep release version preparation locked without refreshing dependencies or committing Cargo.lock. release: add dprint Fixed publish: anchor include globs to crate root Unanchored include patterns (LICENSE, README.md) matched at any depth via gitignore-glob semantics, pulling 437 site/node_modules files into the package and breaking cargo publish's dirty check. print actual reason for failed host params collecting previously, we didn't show any reason for failed collecting of host params in the auth form, but just a generic message Build deps: update aes-gcm to 0.11 Migrate nonce generation and parsing to the aes-gcm 0.11 API while preserving the encrypted payload format. bump remotefs-smb 0.5.0 (#446) build: bump remotefs-smb 0.5.0 fix(smb): windows build @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2026/06/22 07:50:30 pin Exp $ d4 1 @ 1.27 log @net/termscp: add note on MSRV Cannot be updated. @ text @d3 1 a3 2 DISTNAME= termscp-1.1.1 #termscp >= 1.2.0 requires Rust >= 1.98,0 d20 1 a20 1 RUST_REQ= 1.89.0 @ 1.26 log @net/termscp: update to 1.1.1 1.1.1 Released on 2026-06-08 Fixed build: drop vergen-git2 build dependency vergen-git2 reads git metadata at build time, but the crates.io source tarball ships no .git, so the published 1.1.0 fails on cargo install. crates.io versions are immutable (no overwrite) and Chocolatey's moderation queue blocks a fast re-push, so a clean 1.1.1 without vergen is the only fix. 1.1.0 Released on 2026-06-08 Added site: catppuccin theme tokens, tailwind 4, self-hosted font site: i18n string resolver with en fallback site: build-time man.md fetcher pinned to release ref site: base layout with og/hreflang, theme bootstrap, umami site: x-default hreflang, twitter card, og:image:alt; dedupe locales/site in base layout site: nav, footer, theme toggle, language picker site: responsive mobile nav, css-driven theme icons, localizePath helper site: landing page with dual-pane explorer hero site: install page led by install.sh script, package-manager tabs site: robots, sitemap reference, vercel redirects + cache headers install: add Windows PowerShell installer and copy buttons on site Add install.ps1 mirroring install.sh for Windows: arch detection, release zip download, binary extraction, user PATH update. copy install.ps1 to site public/ at build time (copy-install.mjs) serve /install.ps1 with text/plain Content-Type (vercel.json) add PowerShell one-liner to install page and README bump install.ps1 default version in bump_version.sh add CopyButton component next to every install command line config: move config dir to ~/.config/termscp on macOS and %USERPROFILE%.termscp on Windows Resolve the config directory through a single per-platform config_dir() function instead of relying on dirs::config_dir everywhere: macOS: ~/.config/termscp (was ~/Library/Application Support/termscp) Windows: %USERPROFILE%.termscp (was roaming %APPDATA%\termscp) Linux/other: /termscp (unchanged) Existing users are migrated automatically on first run: when the new directory is absent and the legacy location exists, the whole config directory is moved to the new path. The cache directory stays at the platform-native location. CI automated release workflow Single workflow_dispatch (version, dry_run) that bumps versions, regenerates CHANGELOG via git-cliff, rebuilds site CSS, builds all targets, creates the GitHub release, updates the Homebrew tap and publishes Chocolatey. dist/release/bump_version.sh: version replacer across all tracked locations (+tests) .github/workflows/release.yml: prepare -> build matrix -> homebrew/release -> choco retire build-artifacts.yml (merged into release.yml) Linux builds via cargo-zigbuild (old glibc) for broad compatibility pin all actions to verified SHAs and clear zizmor findings Pin every action to a commit SHA whose tag comment matches (verified via gh api), add least-privilege permissions, set persist-credentials: false, and replace the archived actions-rs/cargo with a plain cargo test. zizmor clean at default persona. fix release notes generation in release workflow prepare job failed: git-cliff --latest crashed with 'trim_start_matches on null' because the checkout was shallow (no tags/history) so no release existed. checkout prepare with fetch-depth: 0 + fetch-tags so git-cliff sees full history and tags (also fixes an otherwise-truncated CHANGELOG) generate release notes with --unreleased --tag v$VERSION instead of --latest: --latest selected the previous real tag (stale notes); --unreleased --tag renders the version being released remove pages workflow, fix release version-bump for astro site site: add format/lint/test/build workflow for astro site Add Site GitHub Actions workflow running prettier format check, astro check, tests, and build on changes under site/. Wire prettier into the site package with config, ignore, and scripts, and format existing sources. add github pages workflow for docs site unify os workflows into one release: publish to crates.io via OIDC trusted publishing rename ci workflow site: always run site release: fetch full git history and tags for build.rs build.rs uses vergen-git2 (Git2::all_git), which runs git describe and reads commit metadata. The build and publish-crate jobs checked out a shallow clone without tags, so vergen could not resolve the describe string and libgit2 may fail on shallow repos. Add fetch-depth: 0 and fetch-tags: true to both jobs that compile the crate. Changed site: type-safe i18n keys derived from en site: drop in-site manual, link to external docs.termscp.rs site: english-only, remove i18n machinery Documentation point READMEs to termscp.rs + install.sh, docs.termscp.rs replace last termscp.veeso.dev refs (install.sh manual/changelog, crate homepage) add shared mdbook assets and favicon.ico add mdbook language switcher script add CNAME for docs.termscp.rs scaffold en-US mdbook add en-US table of contents en: write introduction and getting-started pages en: write usage pages en: write configuration pages en: write cli reference and developer pages en: fix CLI references (no -t / --update flags; -b is a value option) add markdownlint config for docs site scaffold zh-CN mdbook zh: translate introduction and getting-started pages zh: translate section headings in getting-started pages zh: translate usage pages zh: translate configuration pages zh: translate cli reference and developer pages disable MD060 table alignment (incompatible with CJK width) drop extra language docs/READMEs, point manual links to docs.termscp.rs zh: align README with root README, drop dead language links fix update command (termscp update, not --update) in READMEs zh: fix keyring deep-link anchor to translated heading slug config: update config dir paths for macOS/Windows in en & zh Reflect the new config directory locations (~/.config/termscp on macOS, %USERPROFILE%.termscp on Windows) across the English and Chinese docs, and add a CLAUDE.md note to keep both translations in sync. Fixed site: robust man-fetch invocation guard, add timeout+retry site: hero selected-row contrast (latte) + mobile row truncation site: drop @@ts-check on astro config to clear false vite type error install: quote vars, fix set -e cargo check and rustup tmpfile cleanup silence SC3043 by declaring dash dialect (local is supported) quote unquoted vars (SC2086/SC1090) fix set -e aborting arch install before cargo check fix install_cargo removing unset $archive instead of $rustup make brew upgrade fallback a real if-then-else (SC2015) drop leftover starship BASE_URL and debug echo $1 progress: rework transfer progress panel (#424) Migrate the transfer progress UI to tuirealm 4, where the stdlib ProgressBar widget was dropped, by rebuilding the dual-bar panel on top of Gauge. Restore the unified two-bar look: the full bar (top) and partial bar (bottom) draw joined borders so they read as a single panel; a single file shows one fully-bordered bar. Redraw on every file boundary in the send/recv queue loops so the full bar's (N/total) counter advances even for small files that finish within one in-loop redraw interval. Track progress with a single TransferProgress (exact file count from the pre-scan, lazy partial/full computation) and consolidate the theme progress-bar fields. progress: equalize dual progress bar heights The bottom (partial) bar carried a block title (the current filename), which forces a 1-row top inset in ratatui's Block::inner even though its top border is dropped to join the seam with the full bar. That left the partial bar with one inner row while the full bar kept two, so the two gauges rendered at unequal heights. Move the filename from the partial bar's title into its gauge label. Skip setting an empty title so no phantom top-positioned title triggers the inset. Put the panel title on the top (full) bar for multi-file transfers. Bump the two-bar popup height to fit the joined panel. Also bump Cargo.lock and adapt the embedded terminal to the new vt100 screen_mut() API. copy: prevent emptying file when copy destination is empty (#421) An empty copy destination resolved to the source file's own path, so std::fs::copy truncated the original file to 0 bytes. localhost::copy now refuses to copy a file onto itself, returning an error instead of truncating it (root cause). action_copy treats an empty/whitespace destination as a cancel. transfer: enqueue full destination path instead of directory Queued transfers stored only the destination directory as the target path. Downstream upload logic treats the queued destination as the full file path and passes it straight to create_file, so transfers failed with a Failure error when the remote target resolved to a directory. Append each entry's file name to the destination directory at enqueue time in both enqueue_file and enqueue_all, matching the single-file transfer path which already builds the full target path. Build add chocolatey package, remove legacy dist build scripts The old manual dist/build/* scripts and dist/{deb,rpm}.sh are superseded by the automated release workflow. Add the chocolatey package consumed by release.yml. site: copy install.sh from repo root at build time (single source) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2026/04/20 12:24:24 pin Exp $ d4 1 @ 1.25 log @net/termscp: update to 1.0.0 Released on 2026-04-18 Added rework TransferProgress to track bytes with lazy estimation replace dual progress bar components with single TransferProgressBar simplify progress bar layout to single component update progress bar display for new unified data model update transfer loop to use unified TransferProgress consolidate theme progress bar fields into single transfer_progress_bar CI Codeberg mirroring run test workflows once check fmt with nightly toolchain add linux and windows aarch64 build targets Changed FileTransferActivity pane-agnostic dispatch (#386) Comprehensive design for incremental refactoring of the 13k-line FileTransferActivity god-struct using a unified Pane abstraction. Detailed step-by-step plan covering 6 phases: split monoliths, error handling, Pane struct, action dedup, session split, view reorg. Extract 26 popup components from the monolithic 1,868-line popups.rs into 20 individual files under popups/. Each file contains one or two related components with their own imports. The popups.rs module file now contains only module declarations and re-exports. Replace 8 panic!() calls with error!() logging and early returns/fallthrough. These panics documented invariants (e.g. "this tab can't do X") but would crash the app if somehow triggered. Error logging is safer and more resilient. Replace raw FileExplorer fields in Browser with Pane structs that bundle the explorer and connected state. Move host_bridge_connected and remote_connected from FileTransferActivity into the panes. Add navigation API (fs_pane, opposite_pane, is_find_tab) for future unification tasks. Rename private get_selected_file to get_selected_file_by_id and add three new unified methods (get_selected_entries, get_selected_file, is_selected_one) that dispatch based on self.browser.tab(). Old per-tab methods are kept for now until their callers are migrated in subsequent tasks. Collapse local/remote action method pairs (mkdir, delete, symlink, chmod, rename, copy) into unified methods that branch internally on is_local_tab(). This halves the number of action methods and simplifies the update.rs dispatch logic. Also unifies ShowFileInfoPopup and ShowChmodPopup dispatching to use get_selected_entries(). Move host_bridge and client filesystem fields from FileTransferActivity into the Pane struct, enabling tab-agnostic dispatch via fs_pane()/ fs_pane_mut(). This eliminates most is_local_tab() branching across 15+ action files. Key changes: Add fs: Box to Pane, remove from FileTransferActivity Replace per-side method pairs with unified pane-dispatched methods Unify navigation (changedir, reload, scan, file_exists, has_file_changed) Replace 147-line popup if/else chain with data-driven priority table Replace assert!/panic!/unreachable! with proper error handling Fix typo "filetransfer_activiy" across ~29 files Add unit tests for Pane Net result: -473 lines, single code path for most file operations. replace lazy_static with std::sync::LazyLock migrate from mod.rs to named module files split parser internals into focused modules split auth form components by protocol split auth update handlers by context split auth view helpers by responsibility Documentation date add core module and API documentation document core host and ssh modules document parser and file transfer params complete remaining core module docs document ssh key storage API Fixed replace panics reachable from user input with proper error handling replace assert! calls in UI activities with graceful error handling correct typos in BadSytax and theme_provider log messages replace magic-crypt with aes-gcm for bookmark encryption magic-crypt has known vulnerabilities. Replace it with aes-gcm for new encryption (authenticated, with random nonces) while keeping a legacy AES-128-CBC decryption path to transparently handle existing bookmarks. replace recursive byte-counting with entry-based transfer progress (#395) fix: replace recursive byte-counting with entry-based transfer progress Replace the expensive recursive get_total_transfer_size pre-calculation with a lightweight entry-based counter (TransferProgress) for the overall progress bar. This avoids deep list_dir traversals before transfers begin, which could cause FTP idle-timeout disconnections on large directory trees. The per-file byte-level progress bar (ProgressStates) remains unchanged. Bytes are still tracked via TransferStates::add_bytes for notification threshold logic. return after empty terminal prompt resolve . and .. in terminal cd and prevent panic in path elide absolutize now lexically normalizes paths so cd .. navigates to the parent directory instead of appending .. literally. Also guard against file_name() returning None in fmt_path_elide_ex, which caused a panic on paths containing unresolved .. components. pass full command string to exec, not just the first word The Exec arm of Command::from_str only captured the first whitespace-delimited token, silently dropping all arguments. Now passes the entire input string so e.g. ls -la /tmp works. sync browsing when entering a directory from filtered/fuzzy view stabilize core error handling Remove production panic and unwrap paths from core modules. Propagate bookmark encryption failures, harden file watcher and temp mapped file handling, and clean up dead code in shared utilities. normalize localhost relative path checks use time-based redraw interval instead of progress-delta threshold The old 1% progress threshold caused the UI to appear frozen on large files (e.g. 1GB) because many read/write iterations passed between redraws. Switching to a 100ms time-based interval ensures consistent UI responsiveness regardless of file size. render progress bar immediately after mounting Call self.view() right after mount_progress_bar() at all 6 call sites so the bar is visible on screen before the transfer loop begins. filter self-references and dot entries from remote directory listings Some non-compliant FTP servers (e.g. LiteSpeed) include a self-reference to the listed directory in the LIST response, causing the current folder to appear as a duplicate entry in the explorer. Miscellaneous Use apt to install termscp on debian base to prevent broken deps Copilot is so dumb Install with apt if installed WTF CTRL SAVE DOESNT FUCKING WORK funding add centralized lint configuration to Cargo.toml 1.0.0 version into manifests format toml add fmt+clippy convention to CLAUDE.md and apply nightly fmt enable safe clippy pedantic lints Performance use sort_by_cached_key to avoid repeated lowercase allocations in file sorting Testing add parser and bookmark regression coverage extend config and explorer regression coverage extend system regression coverage Build removed hostname, use whoami instead whoami provides hostname function, so we don't need the hostname dependency, since whoami is also being used for getting the username replaced libssh with russh for remotefs-ssh replace version-compare crate with semver remotefs-ssh 0.8.1 remotefs-ssh 0.8.2 this version removes any usage of sh commands from the sftp backend and only uses pure protocol functions migrate to tui-realm 4.0 Upgrade tuirealm (3.x -> 4.0.0), tui-realm-stdlib (3 -> 4), tui-term (0.2 -> 0.3). Apply all breaking changes from the 4.0 migration guide across the termscp UI. Key changes: Root-level re-exports removed; imports moved to module-qualified paths (tuirealm::application, ::component, ::event, ::props, ::state, ::subscription, ::listener, ::ratatui). Same for stdlib component types (tui_realm_stdlib::components::*). MockComponent trait renamed to Component; old Component trait renamed to AppComponent. #[derive(MockComponent)] is now #[derive(Component)]. Component::on now takes &Event<_>. TextSpan replaced with SpanStatic/LineStatic/TextStatic (ratatui-based); tuple (String, Alignment) titles replaced with the new Title builder; Alignment split into HorizontalAlignment/VerticalAlignment; stdlib components use .alignment_horizontal instead of .alignment. State::One/PropPayload::One -> Single. CmdResult::None -> NoChange. Props::get_or removed; Props::get now returns a borrowed Option<&AttrValue> (call sites switched to .and_then(AttrValue::as_*)). Component::query returns Option>. Attribute::HighlightedColor -> HighlightStyle (a full Style). .highlighted_* helpers renamed to .highlight_*. PollStrategy::UpTo(n) now requires a Duration; tick timeout moved from EventListenerCfg::poll_timeout into PollStrategy. TerminalBridge removed; Context now holds CrosstermTerminalAdapter directly and enables raw mode + alternate screen explicitly. The TerminalAdapter trait is imported where its methods are used. Update trait removed; activity update methods are plain inherent functions. ProgressBar replaced by stdlib Gauge. Paragraph .wrap renamed to .wrap_trim; .text now takes an Into. Stdlib List row items are now individual lines (Vec per row) rather than a Table of spans; custom FileList/Log convert between the two models. Radio builders drop .foreground(color) so unselected items render with the terminal default foreground, and set highlight_style(Style::default().fg(color).add_modifier(REVERSED)) so the selected entry is visibly highlighted only with the theme color. Custom FileList keeps the selected row highlighted with the full highlight style when focused and falls back to a foreground-only style when unfocused. Theme loading is now backwards compatible: Theme uses a custom Deserialize through an intermediate ThemeFile with optional fields, so missing keys, unknown values or legacy aliases (transfer_progress_bar_full/_partial) fall back to defaults on a per-field basis instead of failing the whole load. upgrade remotefs-ssh to 0.8.3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2025/12/20 20:05:18 pin Exp $ d3 1 a3 1 DISTNAME= termscp-1.0.0 @ 1.24 log @net/termscp: update to 0.19.1 0.19.1 Released on 2025-12-20 Issue 371: Updated dependencies to allow build on NetBSD 0.19.0 Released on 11/11/2025 Issue 297: Added keybinding to get the total size of selected paths. Issue 331: Added new import-ssh-hosts CLI subcommand to import all the hosts from the ssh config as bookmarks. Issue 335: Changed file overwrite behaviour Now the user can choose for each file whether to overwrite, skip or overwrite all/skip all. Issue 354: Removed error popup message if failed to check for updates. Prevent long timeouts when checking for updates if the network is down or the DNS is not working. Issue 356: Fixed SSH auth issue not trying with the password if any RSA key was found. Issue 334: SMB support for MacOS with vendored build of libsmbclient. Issue 337: Migrated to libssh.org on Linux and MacOS for better ssh agent support. Issue 361: Report a message while calculating total size of files to transfer. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2025/06/12 08:12:37 pin Exp $ d3 1 a3 1 DISTNAME= termscp-0.19.1 a13 1 TOOL_DEPENDS+= clang-[0-9]*:../../lang/clang @ 1.23 log @net/termscp: update to 0.18.0 Released on 10/06/2025 - An Embedded shell for termscp: - Issue 340: Replaced the Exec popup with a fully functional terminal emulator embedded thanks to A-Kenji's tui-term. - Command History - Support for cd and exit commands as well. - Exit just closes the terminal emulator. - Issue 345: Default keys are used from ~/.ssh directory if no keys are resolved for the host. - Updated dependencies and updated the Rust edition to 2024 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2025/04/25 11:08:34 wiz Exp $ d3 1 a3 1 DISTNAME= termscp-0.18.0 d21 1 a21 1 RUST_REQ= 1.85.1 @ 1.22 log @termscp: also needs clang to build @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2025/04/16 20:13:33 pin Exp $ d3 1 a3 1 DISTNAME= termscp-0.17.0 d6 1 a6 1 GITHUB_TAG= v${PKGVERSION_NOREV} d21 1 a21 3 RUST_REQ= 1.85.0 #Upstream does not state the required MSRV. #This package is confirmed to build with Rust 1.82.0 on amd64 @ 1.21 log @net/termscp: fix broken build @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2025/04/11 12:19:16 pin Exp $ d14 1 @ 1.20 log @net/termscp: update to 0.17.0 Released on 24/03/2025 Queuing transfers: the logic of selecting files has been extended! From now on selecting file will put the files into a transfer queue, which is shown on the bottom panel. When a file is selected the file is added to the queue with a destination path, which is the current other explorer path at the moment of selection. It is possible to navigate to the transfer queue by using P and pressing ENTER or DELETE on a file will remove it from the transfer queue. Other commands will work as well on the transfer queue, like COPY, MOVE, DELETE, RENAME. issue 308: added --wno-keyring flag to disable keyring issue 316: Local directory path is not switching to what's specified in the bookmark. Now the local directory path is correctly set following this hierarchy: Local directory path specified for the host bridge Local directory path specified in the bookmark Working directory issue 317: the return value of --version should be 0 issue 319: fixed a crash when the local directory specified in the auth form does not exist issue 327: fixed a panic when trying to go up from local directory on localhost in the auth form issue 330: add suppaftp/pavao/kube to allowed logs Dependencies: argh to 0.1.13 bytesize to 2 dirs to 6 magic-crypt to 4 notify to 8 ssh2-config to 0.4 remotefs-ssh to 0.6 rust edition to 2024 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2025/04/11 09:08:14 pin Exp $ d13 2 @ 1.19 log @net/termscp: needs sse2 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2025/04/04 20:17:31 pin Exp $ d3 1 a3 2 DISTNAME= termscp-0.16.1 # 0.17.0 requires Rust >= 1.85 d18 1 a18 1 #RUST_REQ= 1.82.0 @ 1.18 log @net/termscp: reset maintainer @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2025/04/02 11:04:00 pin Exp $ d15 1 a15 1 NOT_FOR_PLATFORM+= *-*-i386 @ 1.17 log @net/termscp: not for i386 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2025/03/27 10:06:48 pin Exp $ d9 1 a9 1 MAINTAINER= pin@@NetBSD.org @ 1.16 log @net/termscp: add note on MSRV required for update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2024/11/13 13:34:37 pin Exp $ d14 3 @ 1.15 log @net/termscp: update to 0.16.1 Released on 12/11/2024 Just fixed this: e45c3d5 fix: gg rust 1.82 for introducing a nice breaking change in config which was not mentioned in changelog @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2024/10/15 03:38:40 pin Exp $ d4 1 @ 1.14 log @net/termscp: update to 0.16.0 Released on 14/10/2024 - Multi Host support: - Now it is possible to work on two different remotes remote A -> remote B instead of just localhost -> remote - Cli arguments now accept an additional remote-args for the left panel. - For more details read this issue #285. - Change between auth forms with - Bookmarks are automatically loaded into the last auth form. - Issue 289: Use uzers instead of the dead package users which has several vulnerabilities - Issue 290: Password prompt was broken - Issue 298: tuirealm 2.x - Fixed some performance issues where sometimes the app froze for a couple of seconds, thanks to this veeso/tui-realm#78. - Issue 292: New version alert was not displayed due to a semver regex issue. - Issue 291: Show .. directory before all the others in the explorer. If you click on it you'll go the parent directory (same as pressing ). No, you can't select it for transfers and it's actually been implemented in the worse way possible, because this little change would require a huge refactoring of the explorer component. I promise I will do it one day, but I dunno when. - Logging: filter out messages not related to termscp or remotefs @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2024/10/05 04:05:53 pin Exp $ d3 1 a3 1 DISTNAME= termscp-0.16.0 d15 1 a15 1 #RUST_REQ= 1.80.1 d17 1 a17 1 #This package is confirmed to build with Rust 1.80.1 on amd64 @ 1.13 log @net/termscp: update to 0.15.0 Released on 03/10/2024 - Issue 249: The old find command has been replaced with a brand new explorer with support to 🪄 Fuzzy search 🪄. The command is still . - Issue 283: Find command can now be cancelled by pressing . While scanning the directory it will also display the current progress. - Issue 268: 📦 Pods and container explorer 🐳 for Kube protocol. - BREAKING ‼️ Kube address argument has changed to namespace[@@][$] - Pod and container argumets have been removed; from now on you will connect with the following syntax to the provided namespace: /pod-name/container-name/path/to/file - Issue 279: do not clear screen - Issue 277: Fix a bug in the configuration page, which caused being stuck if the added SSH key was empty - Issue 272: isolated-tests feature to run tests for releasing on distributions which run in isolated environments - Issue 280: Autocompletion when pressing on the Go to popup. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2024/07/19 09:50:16 pin Exp $ d3 1 a3 1 DISTNAME= termscp-0.15.0 @ 1.12 log @net/termscp: update to 0.14.0 Released on 17/07/2024 - Issue 226: Use ssh-agent - Issue 241: Jump to next entry after select - Issue 242: Added Kube protocol support - Issue 255: New keybindings Alt + A to deselect all files - Issue 256: Filter files in current folder. You can now filter files by pressing /. Both wildmatch and regex are accepted to filter files. - Issue 257: CLI remote args cannot handle '@@' in the username @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2024/03/02 21:00:45 pin Exp $ d3 1 a3 1 DISTNAME= termscp-0.14.0 d15 1 a15 1 #RUST_REQ= 1.79.0 d17 1 a17 1 #This package is confirmed to build with Rust 1.79.0 on amd64 @ 1.11 log @net/termscp: update to 0.13.0 Released on 03/03/2024 Added CLI subcommands - Changed -t to theme - Changed -u to update - Changed -c to config Introduced support for WebDAV - It is now possible also to connect directly to WebDAV server with the syntax http(s)://username:password@@google.com Bugfix: - Issue 232: AWS S3 wasn't working anymore due to rust-s3 outdate Dependencies: - Added remotefs-webdav 0.1.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2023/10/24 22:10:35 wiz Exp $ d3 1 a3 1 DISTNAME= termscp-0.13.0 d15 3 @ 1.10 log @*: bump for openssl 3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2023/10/06 10:37:01 pin Exp $ d3 1 a3 2 DISTNAME= termscp-0.12.3 PKGREVISION= 1 @ 1.9 log @net/termscp: update to 0.12.3 0.12.3 - Released on 06/10/2023 - Dropped ratatui support, reverted to tui-realm 1.8 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2023/10/03 06:36:39 pin Exp $ d4 1 @ 1.8 log @net/termscp: update to 0.12.2 0.12.2 - Released on 01/10/2023 - Issue 205: Allow windows build without SMB support - Issue 215: termscp not respecting port in SSH config. The port specified for the host in the SSH configuration wasn't evaluated. - Issue 213: termscp panicks if the terminal window is too small @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2023/07/08 20:16:41 pin Exp $ d3 1 a3 1 DISTNAME= termscp-0.12.2 @ 1.7 log @net/termscp: update to 0.12.1 0.12.1 - Released on 06/07/2023 - Issue 169: Local working directory can now be specified in connection form and be saved into bookmarks. - Issue 188: The breadcrumbs path is not fallbacked after a failed enter into the directory - SMB support is now a feature (you can build rust without default features to disable smb). - If SSH connection timeout is 0, the connection won't timeout. 0.12.0 - Released on 16/05/2023 - Change file permissions: you can now change file permissions easily with the permissions popup pressing Z in the explorer. - Issue 172 - SMB protocol: Support for SMB protocol has been added thanks to the remotefs-smb library and the pavao project. You may notice that the interface is quiet different between Windows and Linux/MacOs/BSD due to the fact that SMB is natively supported on Windows systems. - Issue 182 - Issue 153: show a loading message when loading directory's content - Issue 176: debug log is now written to CACHE_DIR - Issue 173: allow unknown fields in ssh2 configuration file - Issue 175: don't prompt for password if a ssh key is set for that host - Fixed an issue that didn't use the User specified in ssh2-config @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2023/05/24 12:19:01 pin Exp $ d3 1 a3 1 DISTNAME= termscp-0.12.1 d8 2 a9 2 MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://veeso.github.io/termscp/ @ 1.6 log @net/termscp: reset maintainer @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2023/04/19 20:42:52 pin Exp $ d3 1 a3 1 DISTNAME= termscp-0.11.3 a17 2 INSTALLATION_DIRS= bin a23 4 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/target/release/termscp \ ${DESTDIR}${PREFIX}/bin @ 1.5 log @net/termscp: update to 0.11.3 - Issue 166: fixed SCP relative paths on Windows @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2023/04/18 18:51:48 pin Exp $ d8 1 a8 1 MAINTAINER= pin@@NetBSD.org @ 1.4 log @net/termscp: update to 0.11.2 Released on 18/04/2023 - Issue 154: fixed SCP relative paths on Windows @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2023/03/07 21:24:10 pin Exp $ d3 1 a3 1 DISTNAME= termscp-0.11.2 @ 1.3 log @net/termscp: update to 0.11.1 0.11.1 Released on 07/03/2022 - Issue 150 - fixed config directory not being created - before setting default ssh config path; check wheter it actually exists - Security: - removed remove_dir_all crate with tempfile 3.4 - Dependencies: - Bump ssh2-config to 0.1.6 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2023/02/23 07:36:27 pin Exp $ d3 1 a3 1 DISTNAME= termscp-0.11.1 @ 1.2 log @net/termscp: update to 0.11.0 - Transfers optimized: - If local/remote file have the same 'last modification time' (mtime), the file is not transferred - When the file is exchanged, all times attributes are set (if supported by the protocol) - Default ssh config path: - SSH configuration path is now '~/.ssh/config' by default - Added ARM64 Linux builds - Bugfix: - Fix issue 126 - Fix issue 141 - Bump dependencies @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2022/10/21 11:40:40 pin Exp $ d3 1 a3 1 DISTNAME= termscp-0.11.0 @ 1.1 log @net/termscp: import package Termscp is a feature rich terminal file transfer and explorer, with support for SCP/SFTP/FTP/S3. So basically is a terminal utility with an TUI to connect to a remote server to retrieve and upload files and to interact with the local file system. @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= termscp-0.10.0 d6 1 @