• xclip-copyfile and secondary selection

    From Javier@invalid@invalid.invalid to comp.windows.x on Mon Mar 18 09:59:40 2019
    From Newsgroup: comp.windows.x

    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?
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Eli the Bearded@*@eli.users.panix.com to comp.windows.x on Mon Mar 18 20:09:19 2019
    From Newsgroup: comp.windows.x

    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"
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From gazelle@gazelle@shell.xmission.com (Kenny McCormack) to comp.windows.x on Mon Mar 18 20:29:46 2019
    From Newsgroup: comp.windows.x

    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.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Eli the Bearded@*@eli.users.panix.com to comp.windows.x on Mon Mar 18 22:53:55 2019
    From Newsgroup: comp.windows.x

    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
    --- Synchronet 3.21d-Linux NewsLink 1.2