Re: Add support for *clip.exe* for Bash on Ubuntu on Windows

2018-04-11 Thread Kenny Evitt
Here's a new patch (that replaces the previous one) that fixes quoting in the `write_to_clipboard` function: --- src/platform/linux.sh | 29 + 1 file changed, 29 insertions(+) create mode 100644 src/platform/linux.sh diff --git a/src/platform/linux.sh

Re: Add support for *clip.exe* for Bash on Ubuntu on Windows

2018-04-04 Thread Jason A. Donenfeld
Instead of a "soft fork", why not just submit proper patches to the mailing list to be reviewed and merged upstream? git-send-email is your friend. ___ Password-Store mailing list Password-Store@lists.zx2c4.com

Re: Add support for *clip.exe* for Bash on Ubuntu on Windows

2018-04-04 Thread Kenny Evitt
I've finished clipboard support for Bash on Ubuntu on Windows (BUW). For now, I've setup a Git repo on GitHub with the changes – kenny-evitt/password-store-buw: Pass: The Standard Unix Password Manager for Bash on Ubuntu on Windows I still

Re: Add support for *clip.exe* for Bash on Ubuntu on Windows

2018-01-04 Thread Kenny Evitt
Hi Jason, Happy New Year! I'd like to continue working on adding clipboard support for Bash on Ubuntu on Windows (BUW). I've got a working platform file that can both read from and write to the clipboard. However, only text can be read and written. There's no way to handle arbitrary data (e.g.

Re: Add support for *clip.exe* for Bash on Ubuntu on Windows

2017-11-22 Thread Celti Burroughs
On Wed, 22 Nov 2017 13:10:07 -0500 Kenny Evitt wrote: > Have you thought about how to handle the > Ubuntu-on-Windows-reports-that-it-is-a-version-of-Linux-and-one-from-the-future-too > problem? For now, for me just testing possible approaches, I'm > working with a

Re: Add support for *clip.exe* for Bash on Ubuntu on Windows

2017-11-22 Thread Kenny Evitt
Hi Jason, I finally had some time to work on this. I made some good progress initially – reading from and writing to the clipboard is easy and works (based on my very limited testing so far). However, I've run into the *effective* impossibility of being able to reading, and saving, arbitrary

Re: Add support for *clip.exe* for Bash on Ubuntu on Windows

2017-07-26 Thread Lars Flitter
Hi, how about an environment variable where a "platform" file can be specified? It would not work out of the box as it needs configuration, but this way we can avoid hacks for windows and also allow users to make some customizations like using different clip tools. Regards, Lars On

Re: Add support for *clip.exe* for Bash on Ubuntu on Windows

2017-07-26 Thread Kenny Evitt
Here's the output of the command you asked me to run: ``` kenny@KEVITT-P3620:~$ for i in a s n r v m p i o; do echo -n "uname -$i: "; uname -$i; done uname -a: Linux KEVITT-P3620 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux uname -s: Linux uname -n:

Re: Add support for *clip.exe* for Bash on Ubuntu on Windows

2017-07-25 Thread Jason A. Donenfeld
On Tue, Jul 25, 2017 at 4:00 PM, Kenny Evitt wrote: > I just looked at this briefly and I've run into a couple of problems: > > 1. `uname` in Bash on Ubuntu on Windows (BUW) outputs `Linux`, so I'd have > to name the platform file *linux.sh* or change the code in >

Re: Add support for *clip.exe* for Bash on Ubuntu on Windows

2017-07-25 Thread Kenny Evitt
I just looked at this briefly and I've run into a couple of problems: 1. `uname` in Bash on Ubuntu on Windows (BUW) outputs `Linux`, so I'd have to name the platform file *linux.sh* or change the code in *password-store.sh* that sources those files. 2. `clip.exe` is unidirectional, i.e. there's

Re: Add support for *clip.exe* for Bash on Ubuntu on Windows

2017-07-24 Thread Jason A. Donenfeld
Thanks for sending this suggestion is. I'd certainly be open to implementing this in the form of a platform file, like we currently do for cygwin (depreciated now, I guess), bsd, osx, and so forth. Would you like to submit a patch? ___ Password-Store