• xclip-copyfile and secondary selection

    From Javier@21:1/5 to All on Mon Mar 18 09:59:40 2019
    I want to use xlclip-copyfile to move files between different machines.
    It's a sh script distributed together with xclip that uses the
    secondary selection to store files compressed as tar.gz

    How can I know the maximum file size that the secondary selection can
    store?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli the Bearded@21:1/5 to invalid@invalid.invalid on Mon Mar 18 20:09:19 2019
    In comp.windows.x, Javier <invalid@invalid.invalid> wrote:
    How can I know the maximum file size that the secondary selection can
    store?

    I'd start with a binary search for the threshhold between works and
    doesn't work.

    Elijah
    ------
    assuming you've already found a "doesn't work"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Kenny McCormack@21:1/5 to *@eli.users.panix.com on Mon Mar 18 20:29:46 2019
    In article <eli$1903181609@qaz.wtf>,
    Eli the Bearded <*@eli.users.panix.com> wrote:
    In comp.windows.x, Javier <invalid@invalid.invalid> wrote:
    How can I know the maximum file size that the secondary selection can
    store?

    I'd start with a binary search for the threshhold between works and
    doesn't work.

    I assume OP would prefer something documented - something he can rely on - rather than having to test it by trial-and-error on each new platform he encounters.

    --
    There are two kinds of Republicans: Billionaires and suckers.
    Republicans: Please check your bank account and decide which one is you.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli the Bearded@21:1/5 to Kenny McCormack on Mon Mar 18 22:53:55 2019
    In comp.windows.x, Kenny McCormack <gazelle@shell.xmission.com> wrote:
    Eli the Bearded <*@eli.users.panix.com> wrote:
    In comp.windows.x, Javier <invalid@invalid.invalid> wrote:
    How can I know the maximum file size that the secondary selection can
    store?
    I'd start with a binary search for the threshhold between works and
    doesn't work.
    I assume OP would prefer something documented - something he can rely on - rather than having to test it by trial-and-error on each new platform he encounters.

    When I try:
    xclip -selection secondary -in /dev/zero

    I don't find any hard and fast limit. I just see the slow exhaustion of
    all memory. (And I killed it when the system started to swap rather than
    let it run to OoM death.)

    Was that so hard?

    Elijah
    ------
    gets annoyed by having everything swapped it, switching apps is too slow

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)