Welcome to Vifm Q&A, where you can ask questions about using Vifm. Registration is optional, anonymous posts are moderated. E-mail and GitHub logins are enabled.
0 votes
in vifm by
% tail -n+0 /tmp/?/1
==> /tmp/a/1 <==
1
2

==> /tmp/b/1 <==
3
4

In pane 1, which has focus, I have /tmp/a and in pane 2, /tmp/b.

I do :yank, switch to pane 2, and :put. The conflict box shows up. I choose 'append to tail' with a. But both files remain the same:

% tail -n+0 /tmp/?/1
==> /tmp/a/1 <==
1
2

==> /tmp/b/1 <==
3
4

Interestingly, if I try with vifm --no-configs +'set syscalls', the conflict box only has rename and skip as options.

What is going on?

This is Debian's Vifm 0.12-1+b2.

1 Answer

0 votes
by
selected by
 
Best answer

'append to tail'

It's not to tail, it's the tail (bytes of the source file in the range size-of-destination-file..end-of-file). In your case two files are of the same size, so there is no tail.

The append option was added to allow continuing an interrupted copy/move where you end up with only a part of a file, so that you could finish partial copying without restarting the operation from the start. It's not for combining files.

Interestingly, if I try with vifm --no-configs +'set syscalls', the conflict box only has rename and skip as options.

Don't see that happening with v0.12. See whether 'syscalls' gets set, doesn't look like it. Also check with type vifm that you're not running an alias or a function.

by

Thank you.

Don't see that happening with v0.12. See whether 'syscalls' gets set, doesn't look like it.

It does and type -a vifm says vifm is /usr/bin/vifm. Anyway, it works just fine if I build from source from the master branch.

If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here is acceptable, but this is not a perfect place for them.
...