Problems with X11 after reinstalling Windows

2024-08-08 Thread David Karr via Cygwin
Related to my earlier question about restoring a reimaged laptop, I decided to simply reinstall Cygwin and then copy over the backup of my home directory. I then ran my desktop shortcut for emacs, which was working before the reimage, and that did nothing. I tried manually running "emacs-X11", an

How to repair the symlinks in a copied cygwin64 tree

2024-08-07 Thread David Karr via Cygwin
At my work, I had to have my laptop reimagined for various reasons. I had them save my cygwin64 tree to external storage first. I now have the laptop back, and I copied the entire tree back in, but now I realize I should have done this differently, and I'm wondering how best to repair this. Some of

Re: Creating a desktop shortcut to Cygwin emacs

2024-02-22 Thread David Karr via Cygwin
that file supposed to be generated by something? On Thu, Feb 22, 2024 at 1:12 PM Ken Brown wrote: > On 2/22/2024 2:44 PM, David Karr via Cygwin wrote: > > Every three years or so I have to set up a new laptop, and several things > > that I only do in that period I either lose the n

Creating a desktop shortcut to Cygwin emacs

2024-02-22 Thread David Karr via Cygwin
Every three years or so I have to set up a new laptop, and several things that I only do in that period I either lose the notes on it, or something has changed that I'm not aware of. I'm installing Cygwin on a new laptop, version 3.5.0-1.x86_64. I had 3.4.6 on the old laptop. My desktop shortcut

Re: Another confusing error from someone else's Cygwin setup

2023-06-27 Thread David Karr via Cygwin
The line endings were the issue, thanks. They were that way because I didn't realize I should force those files in git to have eol=lf in a .gitattributes file. This is now all fixed. On Mon, Jun 26, 2023 at 7:08 PM Mike Gran wrote: > > On Monday, June 26, 2023 at 04:36:30 PM PDT,

Another confusing error from someone else's Cygwin setup

2023-06-26 Thread David Karr via Cygwin
I'm seeing a problem with someone else's Cygwin setup, sort of similar to a problem I asked about a couple of weeks ago, in that it's a problem with the same user, but seemingly a completely different problem. He is using a Bash script that I wrote, and he gets a seemingly nonsensical error that I

Re: Trying to figure out what is wrong in a colleague's Cygwin setup

2023-06-16 Thread David Karr via Cygwin
Actually, I was mistaken. I was given incomplete information. I'm getting much of this second hand. Adding that to the PATH made no difference. It appears this is something specific to "kubectl". They ended up setting the KUBECONFIG environment variable to "C:\Users\\.kube\config", which is very

Re: Trying to figure out what is wrong in a colleague's Cygwin setup

2023-06-16 Thread David Karr via Cygwin
Ok, well, we managed to resolve this, but I don't understand why what we did would fix this. In system environment variables in Windows, they added "c:\cygwin64\bin" to the end of the PATH. That fixes the problem. That just doesn't make any sense to me. In a Cygwin shell, "/usr/bin" is in the PATH

Re: Trying to figure out what is wrong in a colleague's Cygwin setup

2023-06-15 Thread David Karr via Cygwin
(I replied with this earlier directly to someone who I didn't realize had only replied to me.) I do have a couple other clues that I've noticed while continuing to debug this. This person also has "git bash" installed, which is certainly similar to Cygwin, but not quite the same. In his gitbash

Trying to figure out what is wrong in a colleague's Cygwin setup

2023-06-13 Thread David Karr via Cygwin
I have been using Cygwin for many years, although I wouldn't call myself an advanced user. I'm working with some much newer users. They set up Cygwin, but I didn't see them do it. I ran "uname -a" and it was about the same as mine. I compared the output of "env|sort" and I saw some differences,

Re: "kubectl exec" in Cygwin gets "Upgrade request required", but not in cmd shell

2020-06-18 Thread David Karr via Cygwin
On Wed, Jun 17, 2020 at 6:06 PM Brian Inglis wrote: > On 2020-06-17 10:39, David Karr via Cygwin wrote: > > On Mon, Jun 15, 2020 at 9:10 AM David Karr wrote: > >> On Sun, Jun 14, 2020 at 12:32 PM David Karr wrote: > >>> On Sun, Jun 14, 2020 at 12:09 PM Brian Inglis

Re: "kubectl exec" in Cygwin gets "Upgrade request required", but not in cmd shell

2020-06-17 Thread David Karr via Cygwin
On Mon, Jun 15, 2020 at 9:10 AM David Karr wrote: > > On Sun, Jun 14, 2020 at 12:32 PM David Karr wrote: > >> >> On Sun, Jun 14, 2020 at 12:09 PM Brian Inglis < >> brian.ing...@systematicsw.ab.ca> wrote: >> >>> On 2020-06-14 12:16, David Karr via C

Re: "kubectl exec" in Cygwin gets "Upgrade request required", but not in cmd shell

2020-06-15 Thread David Karr via Cygwin
On Sun, Jun 14, 2020 at 12:32 PM David Karr wrote: > > On Sun, Jun 14, 2020 at 12:09 PM Brian Inglis < > brian.ing...@systematicsw.ab.ca> wrote: > >> On 2020-06-14 12:16, David Karr via Cygwin wrote: >> > On Sun, Jun 14, 2020 at 10:20 AM Brian Inglis < >>

Re: "kubectl exec" in Cygwin gets "Upgrade request required", but not in cmd shell

2020-06-14 Thread David Karr via Cygwin
On Sun, Jun 14, 2020 at 12:09 PM Brian Inglis < brian.ing...@systematicsw.ab.ca> wrote: > On 2020-06-14 12:16, David Karr via Cygwin wrote: > > On Sun, Jun 14, 2020 at 10:20 AM Brian Inglis < > > brian.ing...@systematicsw.ab.ca> wrote: > > > >> On 202

Re: "kubectl exec" in Cygwin gets "Upgrade request required", but not in cmd shell

2020-06-14 Thread David Karr via Cygwin
On Sun, Jun 14, 2020 at 10:20 AM Brian Inglis < brian.ing...@systematicsw.ab.ca> wrote: > On 2020-06-14 09:38, David Karr via Cygwin wrote: > > On Sun, Jun 14, 2020 at 2:25 AM Marco Atzeri wrote: > >> On 14.06.2020 08:12, David Karr wrote: > >>> On Sat, Jun 1

Re: "kubectl exec" in Cygwin gets "Upgrade request required", but not in cmd shell

2020-06-14 Thread David Karr via Cygwin
On Sun, Jun 14, 2020 at 2:25 AM Marco Atzeri wrote: > On 14.06.2020 08:12, David Karr wrote: > > > > > > On Sat, Jun 13, 2020 at 10:31 PM Marco Atzeri via Cygwin wrote: > > > > On 13.06.2020 20:53, David Karr via Cygwin wrote: > > > I've

Re: "kubectl exec" in Cygwin gets "Upgrade request required", but not in cmd shell

2020-06-13 Thread David Karr via Cygwin
On Sat, Jun 13, 2020 at 10:31 PM Marco Atzeri via Cygwin wrote: > On 13.06.2020 20:53, David Karr via Cygwin wrote: > > I've been using kubectl in Cygwin on Windows 10 for quite a while, to > > communicate to our in-house k8s clusters. I often use "kubectl exec" to &

"kubectl exec" in Cygwin gets "Upgrade request required", but not in cmd shell

2020-06-13 Thread David Karr via Cygwin
I've been using kubectl in Cygwin on Windows 10 for quite a while, to communicate to our in-house k8s clusters. I often use "kubectl exec" to open a shell in a container or directly execute a shell command. This has worked perfectly fine for a long time. A couple of days ago, I discovered that al

Why didn't a Cygwin install create the default dot files?

2020-03-26 Thread David Karr via Cygwin
I've been using Cygwin for a long time. I haven't run a fresh install for quite a while. A colleague just installed Cygwin for the first time, following my basic instructions. He ended up with his Cygwin home being the same as his Windows home, which is different from my setup, but I think that's

Re: After cygwin upgrade, Emacs shell buffers with colors are corrupted

2020-03-19 Thread David Karr via Cygwin
On Wed, Mar 18, 2020 at 2:17 PM David Karr <> wrote: > On Wed, Mar 18, 2020 at 9:38 AM Ken Brown via Cygwin <> wrote: > >> On 3/18/2020 11:22 AM, Andrey Repin wrote: >> > Greetings, David Karr! >> > >> >> Thanks, that worked. For now, I guess I have to figure out how to set >> that >> >> property

Re: After cygwin upgrade, Emacs shell buffers with colors are corrupted

2020-03-18 Thread David Karr via Cygwin
On Wed, Mar 18, 2020 at 9:38 AM Ken Brown via Cygwin <> wrote: > On 3/18/2020 11:22 AM, Andrey Repin wrote: > > Greetings, David Karr! > > > >> Thanks, that worked. For now, I guess I have to figure out how to set > that > >> property permanently, or until this pty bug is fixed.. I start Emacs >

Re: After cygwin upgrade, Emacs shell buffers with colors are corrupted

2020-03-18 Thread David Karr via Cygwin
ected that file before. On Tue, Mar 17, 2020 at 6:04 PM Ken Brown via Cygwin wrote: > On 3/17/2020 7:14 PM, David Karr via Cygwin wrote: > > Yesterday I upgraded Cygwin, which I hadn't done in a while. I had > recently > > upgraded my Windows 10 OS from build 1709 to 1809

After cygwin upgrade, Emacs shell buffers with colors are corrupted

2020-03-17 Thread David Karr via Cygwin
Yesterday I upgraded Cygwin, which I hadn't done in a while. I had recently upgraded my Windows 10 OS from build 1709 to 1809 (yes, those are correct). My current Emacs version is 26.3, but I don't know what it was before the upgrade. If I create a shell buffer and execute a command that produces

Re: Conflict between Eclipse JGit and Cygwin HOME

2020-03-17 Thread David Karr via Cygwin
On Mon, Mar 16, 2020 at 11:20 PM Brian Inglis wrote: > On 2020-03-16 19:03, Andrey Repin wrote: > > Greetings, David Karr! > > > >> I've been running Cygwin on my Windows 10 laptop for quite a while. I > use > >> git in Eclipse and in the shell. > > > >> What I'm describing isn't really a bug wit

Conflict between Eclipse JGit and Cygwin HOME

2020-03-16 Thread David Karr via Cygwin
I've been running Cygwin on my Windows 10 laptop for quite a while. I use git in Eclipse and in the shell. What I'm describing isn't really a bug with Cygwin, but it breaks because of the interaction with Cygwin, and I'm trying to find out a reasonable way to fix this. Over the weekend, I upgrad