Re: command please help me

2023-03-24 Thread Mark Hansen via Cygwin
On 3/24/2023 6:23 AM, blockold wolf uchiwa via Cygwin wrote: I don't know how to crack a .rar file please help me https://lmgtfy.app/#gsc.tab=0=RAR%20file%20extractor -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:

Re: Fwd: Cygwin-X AWT windows snap back after drag in multi-window mode (w/example): long-standing issue

2022-03-23 Thread Mark Hansen
On 3/23/2022 4:38 AM, John Harris wrote: I'm trying one more posting of this from a month ago hopefully to get more eyes on it (got no replies last time). I apologize for the repeat, and will stop if no one has any leads on how to fix this. It's such a frustrating bug that's easily reproducible

Re: Does cygwin have an 'autorun' utility/package?

2022-01-16 Thread Mark Hansen
On 1/16/2022 8:12 AM, Adam Dinwoodie wrote: On Sun, Jan 16, 2022 at 06:46:06AM -0800, Mark Hansen wrote: I have an application running under Linux which I would like to move to Windows (with Cygwin). This application depends on getting notifications when a CD Rom drive status has changed (like

Does cygwin have an 'autorun' utility/package?

2022-01-16 Thread Mark Hansen
I have an application running under Linux which I would like to move to Windows (with Cygwin). This application depends on getting notifications when a CD Rom drive status has changed (like audio CD inserted, ejected, etc.). For this, I use a Linux utility application named 'autorun':

Re: [ANNOUNCEMENT] xorg-server-21.1.2-1

2021-12-31 Thread Mark Hansen
On 12/31/2021 5:48 AM, Jon Turney wrote: On 28/12/2021 18:05, Marco Atzeri wrote: Hi Jon, never noted before, but I am not an heavy user of X these days; do you know what could cause this warning ? $ startxwin xauth: (stdin):1:  bad display name ":0" in "add" command xauth: (argv):1:  bad

Re: sftp hangs when trying to connect to SFTP server

2021-12-04 Thread Mark Hansen
On 12/4/2021 7:30 AM, Andrey Repin wrote: Greetings, Mark Hansen! I'm not sure when this started, but I know for sure I was able to do this in the past. I'm running cygwin on Windows 10 and want to connect to an SFTP server using the 'sftp' command. Note that when I try to connect

sftp hangs when trying to connect to SFTP server

2021-12-04 Thread Mark Hansen
Team, I'm not sure when this started, but I know for sure I was able to do this in the past. I'm running cygwin on Windows 10 and want to connect to an SFTP server using the 'sftp' command. Note that when I try to connect to the same SFTP server using a different client, File Zilla, it

Re: Problem or question on Cygwin XWin

2021-06-15 Thread Mark Hansen
On 6/14/2021 9:28 PM, L A Walsh wrote: On 2021/06/14 17:30, Duncan Roe wrote: On Mon, Jun 14, 2021 at 04:41:42PM -0700, L A Walsh wrote: There is a listen parameter on XWin, but the man page doesn't say what format to use for the listen parameter. I want to have it listen for tcp from a

Re: Continued rsync failures

2021-05-09 Thread Mark Hansen
On 5/8/2021 12:36 PM, Ken Brown via Cygwin wrote: After the line "dll_crt0_0: finished dll_crt0_0 initialization" in the trace files, you can see several additional DLLs loaded, including several from NVIDIA and one from 0patch, and then the program crashes. This looks to me like BLODA.

Re: Debugging Crash of setup-x86.exe?

2020-10-05 Thread Mark Hansen
On 10/4/2020 8:21 PM, Jason Gross via Cygwin wrote: Hi, I have downloaded the latest version of setup-x86.exe. It used to work fine for updating cygwin, but now no matter which mirror I choose, it hangs after reaching 100% on downloading setup.zst and then crashes after a couple of seconds.

Re: Assistance with 'split -l' command

2020-08-13 Thread Mark Hansen
On 8/12/2020 8:24 AM, Andrey Repin wrote: Greetings, Gary Vaughan! I am working with csv files and when I perform the split -l, it splits the file correctly, but is putting the 'aa','ab','ac' after the file extension. Be very careful to use generic text tools on CSV files. On any non-textual

Re: Command expansion inside for loop

2020-07-08 Thread Mark Hansen
On 7/7/2020 3:06 PM, Mike Brown wrote: On Tue, Jul 07, 2020 at 04:45:28PM -0500, Mike Brown wrote: On Tue, Jul 07, 2020 at 04:17:43PM -0500, Mike Brown wrote: > Several years ago I was provided with info on how to get command expansion > to work inside for loops. I run under Zsh. It was done

Re: FAQ 1.5 changes

2020-07-04 Thread Mark Hansen
On 7/2/2020 9:02 PM, Brian Inglis wrote: Added a bit more clarification to 2nd paragraph 2nd sentence, and email markup for the HTML rendering: "1.5. What version of Cygwin is this, anyway? As the Cygwin DLL takes the place of a Unix kernel, to find the version of the Cygwin DLL

Re: If Cygwin ssh, git, etc. can't find your .ssh directory

2020-04-24 Thread Mark Hansen
Sorry, this was a mistaken post. If an admin can do so, please delete it. Thanks. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info:

If Cygwin ssh, git, etc. can't find your .ssh directory

2020-04-24 Thread Mark Hansen
I had a case when I took my office laptop home and found that in the Cygwin environment, commands were not able to find my .ssh directory. It seemed those commands didn't know where my home directory was, and was defaulting to "/". After asking on the Cygwin newsgroups, I received the

Re: Problems with ssh when I log into my PC using my corporate domain while working from home

2020-04-24 Thread Mark Hansen
On 4/23/2020 11:57 AM, Norton Allen wrote: I also have had to deal with this problem. You should certainly read https://cygwin.com/cygwin-ug-net/ntsec.html. After much experimenting and consultation with Corinna, we decided the best solution for me was: * Create /etc/passwd and /etc/group

Re: Problems with ssh when I log into my PC using my corporate domain while working from home

2020-04-23 Thread Mark Hansen
On 4/23/2020 12:30 PM, Marco Atzeri via Cygwin wrote: Am 23.04.2020 um 21:19 schrieb Marco Atzeri: Am 23.04.2020 um 17:25 schrieb Mark Hansen: On 4/23/2020 5:51 AM, Marco Atzeri via Cygwin wrote: Am 23.04.2020 um 13:54 schrieb Mark Hansen: On 4/21/2020 2:52 PM, Mark Hansen wrote: On 4/21

Re: Problems with ssh when I log into my PC using my corporate domain while working from home

2020-04-23 Thread Mark Hansen
On 4/23/2020 10:26 AM, ASSI wrote: Mark Hansen writes: Here is my user id (from the id command) when I log in from the office: uid=1293438(Mark.Hansen) gid=1049089(Domain Users) ... Here is the same when I've logged in with the machine at home: uid=1293438(MAN+User(244862)) gid=1293438 (MAN

Re: Problems with ssh when I log into my PC using my corporate domain while working from home

2020-04-23 Thread Mark Hansen
On 4/23/2020 5:51 AM, Marco Atzeri via Cygwin wrote: Am 23.04.2020 um 13:54 schrieb Mark Hansen: On 4/21/2020 2:52 PM, Mark Hansen wrote: On 4/21/2020 8:33 AM, Mark Hansen wrote: I have a Windows 10 laptop, on which I installed Cygwin. I always log into the machine using my corporate domain

Re: Problems with ssh when I log into my PC using my corporate domain while working from home

2020-04-23 Thread Mark Hansen
On 4/21/2020 2:52 PM, Mark Hansen wrote: On 4/21/2020 8:33 AM, Mark Hansen wrote: I have a Windows 10 laptop, on which I installed Cygwin. I always log into the machine using my corporate domain account. When I log into the machine from my office, everything Cygwin works fine. When I log

Re: Problems with ssh when I log into my PC using my corporate domain while working from home

2020-04-21 Thread Mark Hansen
On 4/21/2020 8:33 AM, Mark Hansen wrote: I have a Windows 10 laptop, on which I installed Cygwin. I always log into the machine using my corporate domain account. When I log into the machine from my office, everything Cygwin works fine. When I log into my laptop from home (which I'm working

Problems with ssh when I log into my PC using my corporate domain while working from home

2020-04-21 Thread Mark Hansen
I have a Windows 10 laptop, on which I installed Cygwin. I always log into the machine using my corporate domain account. When I log into the machine from my office, everything Cygwin works fine. When I log into my laptop from home (which I'm working from home for a while now, due to

Re: After installing nc (netcat), nc.exe is not found

2018-07-11 Thread Mark Hansen
On 7/11/2018 12:41 PM, Andrey Repin wrote: Greetings, Mark Hansen! I've just updated to the latest Cygwin 64-bit installation on my Windows 7 PC. Included in this update was the package for nc (nc: A simple but powerful network tool) version 1.107-4 After downloading and installing, which

Re: After installing nc (netcat), nc.exe is not found

2018-07-11 Thread Mark Hansen
On 7/11/2018 12:34 PM, Mark Hansen wrote: On 7/11/2018 10:34 AM, Heavenly Avenger wrote: I have these versions, and nc is here happy and playful. It is possible you attempted an upgrade while cygwin programs were running? Cygwin services also count. This is due a limitation on windows which

Re: After installing nc (netcat), nc.exe is not found

2018-07-11 Thread Mark Hansen
that file and then extracting it using tar. The bunzip2 completed quickly but the tar command took a long time (I'm not sure what it was doing during this time). I'll try shutting everything down and doing a reinstall on the netcat stuff. Thanks, On 7/11/2018 2:10 PM, Mark Hansen wrote: I've just updated to

After installing nc (netcat), nc.exe is not found

2018-07-11 Thread Mark Hansen
I've just updated to the latest Cygwin 64-bit installation on my Windows 7 PC. Included in this update was the package for nc (nc: A simple but powerful network tool) version 1.107-4 After downloading and installing, which all seemed to go fine, the man page for nc is there, but nc.exe is

Re: The Cygwin User Guide on path names

2016-08-28 Thread Mark Hansen
On 8/28/2016 12:57 PM, Linda Walsh wrote: Andrey Repin wrote: Also, @ Linda, the string escaping is done by the shell before passing arguments to the command, as I understand. If I'm starting an application not from shell, the app, being a good citizen, should not second-guess the arguments it

Re: The Cygwin User Guide on path names

2016-08-26 Thread Mark Hansen
On 8/25/2016 7:53 PM, Andrey Repin wrote: Greetings, Linda Walsh! Andrey Repin wrote: Greetings, Ken Brown! The documentation also says, "The usage of Win32 paths, though possible, is deprecated" I wonder if this should be strengthened to say something like, "The usage of Win32 paths,

Re: PS and AWK Linux Commands on Cygwin

2016-08-04 Thread Mark Hansen
to get it to ignore case? Have you checked the man page for grep? http://lmgtfy.com/?q=man+grep On Thursday, August 4, 2016 9:27 AM, Mark Hansen <m...@winfirst.com> wrote: On 8/4/2016 6:12 AM, Eliot Moss wrote: So, a couple of things ... Cygwin definitely supports gawk - I use it all th

Re: PS and AWK Linux Commands on Cygwin

2016-08-04 Thread Mark Hansen
On 8/4/2016 6:12 AM, Eliot Moss wrote: So, a couple of things ... Cygwin definitely supports gawk - I use it all the time. My system has a link from awk to gawk, so awk will work. I can't recall if I added that link or if it came with the installation. awk may be in a separate package that

Re: SSH Home Directory

2016-06-28 Thread Mark Hansen
On 6/28/2016 6:38 AM, Chris Sutcliffe wrote: Hi, I have my $HOME path setup as /cygdrive/c/Users (using Windows 7) however ssh doesn't seem to honour that. When I fire up ssh, I get: Could not create directory '/home/csutclif/.ssh'. Why is it defaulting to /home? Is there a way to configure

Re: No cursor visible on XTerms after upgrading to Cygwin 2.5.2

2016-06-27 Thread Mark Hansen
On 6/27/2016 10:53 AM, Jon Turney wrote: On 26/06/2016 19:15, Mark Hansen wrote: On 6/26/2016 6:58 AM, Mark Hansen wrote: I'm having a problem since upgrading to Cygwin 2.5.2 yesterday. I was running 2.5.1 previously. When running X applications, the mouse cursor is not visible as I move

Re: No cursor visible on XTerms after upgrading to Cygwin 2.5.2

2016-06-26 Thread Mark Hansen
On 6/26/2016 6:58 AM, Mark Hansen wrote: I'm having a problem since upgrading to Cygwin 2.5.2 yesterday. I was running 2.5.1 previously. When running X applications, the mouse cursor is not visible as I move the mouse over the application window. When moving the mouse across the display, I

Re: BashHere Prompt

2016-05-26 Thread Mark Hansen
On 5/26/2016 11:21 AM, Kevin J. Duling wrote: Possibly not. Mine certainly isn't bundled up as nicely. It was just a Q hack I put together eons ago. Mine allows you to right-click on both the folder and the drive letter. I wasn't aware of chere, so I've tried installing it today. I'm not

Re: XWin won't run xterm on start

2016-03-24 Thread Mark Hansen
On 3/24/2016 3:49 PM, Mark Hansen wrote: Here is an FAQ on this topic: http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-xserver-nolisten-tcp-default Here are the last two announcements in which there were major changes to the xinit package; both of them spelled out the changes very clearly

Re: XWin won't run xterm on start

2016-03-24 Thread Mark Hansen
Here is an FAQ on this topic: http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-xserver-nolisten-tcp-default Here are the last two announcements in which there were major changes to the xinit package; both of them spelled out the changes very clearly:

Re: Cannot Run X Programs

2016-03-24 Thread Mark Hansen
On 3/24/2016 1:10 PM, Matt Morrow wrote: Hi, I'm on Windows 10 running: CYGWIN_NT-6.2 HOME 2.4.1(0.293/5/3) 2016-01-24 11:26 x86_64 Cygwin I cannot run X programs like xclock or xterm. With xclock I get this (depending on how I have $DISPLAY set): Error: Can't open display: HOME:0 Error:

Re: Cannot Run Executable Files

2016-01-11 Thread Mark Hansen
On 1/11/2016 7:41 AM, Warren Young wrote: On Jan 9, 2016, at 2:11 AM, Zac G. Al Wakeel wrote: For the archives, would you say which software was causing the problem? I was using Avast, free software. Then I recommend uninstalling it and switching to Windows

Re: Fw: initial cygwin installation

2015-11-04 Thread Mark Hansen
On 11/4/2015 12:45 PM, t s wrote: I would like a brief answer to the questions I posed several days ago, please. I am a newbie to Cygwin and need to understand exactly how to install this application. ​ What allocation unit size should I specify when formatting? ​ "Standard 4k or 8k if you

Re: dig utility in bind-utils-9.9.7-1 returns no output

2015-04-15 Thread Mark Hansen
On 4/15/2015 12:02 PM, Keith Christian wrote: cygcheck attachment is too large according to sourceware. What specific parts of cygcheck are needed to help troubleshoot this? Keith On Wed, Apr 15, 2015 at 12:55 PM, Keith Christian keith1christ...@gmail.com wrote: Both /usr/bin/dig and

Re: dig utility in bind-utils-9.9.7-1 returns no output

2015-04-14 Thread Mark Hansen
Are you sure that you're getting the correct dig executable? Is it possible that something else in your path or alias list is getting hit? Perhaps you can try /usr/bin/dig just to be sure? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/

Re: Launching Cygwin/X in background with no clients

2015-02-03 Thread Mark Hansen
On 2/2/2015 9:12 PM, Jim Garrison wrote: On 2/2/2015 5:21 PM, Yaakov Selkowitz wrote: On Mon, 2015-02-02 at 16:52 -0800, Jim Garrison wrote: I updated Cygwin (which pulled in a bunch of Cygwin-X updates) and now startxwin no longer works. According to the log (below) it starts the XServer

Re: startxwin.exe no longer exists?

2014-12-16 Thread Mark Hansen
On 12/15/2014 6:49 PM, Will Parsons wrote: Marco Atzeri wrote: On 12/12/2014 7:07 PM, Will Parsons wrote: For several years now I have been starting X windows by clicking on an icon on my desktop that is a link to C:\cygwin\bin\startxwin.exe. It has recently ceased to work because apparently

Re: 64-bit xfree86 failing

2014-12-01 Thread Mark Hansen
On 12/1/2014 8:35 AM, Tim Kingman wrote: I see the same issue, and it looks like this is because I have an empty (commented-out) ~/.startxwinrc Removing this file causes X to open and start an xterm, probably because it broke several of the new rules in

Re: Problem of Starting Xterm using the System Tray Icon for Xterm for Cygwin64

2014-03-19 Thread Mark Hansen
On 3/19/2014 3:21 PM, Jyhshyong wrote: Hi I just installed Cygwin 64 on my 64-bit Cygein 64 PC, and found that the Xterm in the system tray icon is no longer working. The Xwin server system tray icon has the following target C:\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c

Re: Problem launching XTerm on new Cygwin installation

2014-03-16 Thread Mark Hansen
On 3/7/2014 11:57 AM, Mark Hansen wrote: I just installed the 64-bit version of Cygwin on both a desktop PC and a laptop PC. On the desktop, everything worked as expected without problems. On the laptop, I have the following problems: When I launch a shell window, I get the following

Re: Problem launching XTerm on new Cygwin installation

2014-03-07 Thread Mark Hansen
On 3/7/2014 11:57 AM, Mark Hansen wrote: I just installed the 64-bit version of Cygwin on both a desktop PC and a laptop PC. On the desktop, everything worked as expected without problems. On the laptop, I have the following problems: When I launch a shell window, I get the following error

Re: Problem launching XTerm on new Cygwin installation

2014-03-07 Thread Mark Hansen
On 3/7/2014 1:49 PM, Thomas Dickey wrote: On Fri, Mar 07, 2014 at 11:57:20AM -0800, Mark Hansen wrote: I just installed the 64-bit version of Cygwin on both a desktop PC and a laptop PC. On the desktop, everything worked as expected without problems. On the laptop, I have the following

Re: Problem launching XTerm on new Cygwin installation

2014-03-07 Thread Mark Hansen
On 3/7/2014 2:12 PM, Thomas Dickey wrote: On Fri, Mar 07, 2014 at 02:03:57PM -0800, Mark Hansen wrote: As a result, it is working so I'll leave it alone. :-) fwiw, when I compile #301, #302 and #303 for Cygwin, I don't see the bug. However, I was able to analyze it on Linux with valgrind

Re: Problem launching XTerm on new Cygwin installation

2014-03-07 Thread Mark Hansen
On 3/7/2014 4:36 PM, Thomas Dickey wrote: On Fri, Mar 07, 2014 at 03:37:36PM -0800, Mark Hansen wrote: Okay, this is very strange. As I said before, I have had no problems launching XTerms on my desktop running 64-bit Cygwin. I've launched several XTerms today with no problems ... until

Re: Cygwin 1.7.22 calls dumper when starting X

2013-08-01 Thread Mark Hansen
See below... On 8/1/2013 2:33 PM, Angelo Graziosi wrote: Charles Wilson wrote: (I'm not sure why you need at all; unless it allows the bash shell to exit, where otherwise it would hang around?) Without the , there is an extra bash process running: I want just to start XWin... See

Re: text fields in app don't allow input when running Cygwin X

2013-03-27 Thread Mark Hansen
On 3/27/2013 9:09 AM, Jon TURNEY wrote: On 25/03/2013 18:39, KM wrote: I have an application that I have always compiled on Linux and then invoked via X Windows with my installed Cygwin X. Basically use a shortcut to startwin.exe (full command is C:\cygwin\bin\run.exe /usr/bin/bash.exe -l

Re: Erreur messages when trying to compile

2013-02-18 Thread Mark Hansen
On 2/18/2013 6:42 AM, Jack wrote: On 2013.02.18 09:26, jere95 wrote: Hi, I am new to programming and I downloaded cygwin, because I heard it was a good gcc compiler. At the moment I am reading this O'reilly book on C, and I tried compiling the folowing exemple programme out of the book

Re: Cygwin/X X Server 1.12.3 Middle Click Problem

2012-11-19 Thread Mark Hansen
On 11/18/2012 12:57 PM, Taylor Lilly wrote: I am running Windows 7 Enterprise SP1 on a Dell Latitude XT2 with an external Dell 3 button (scroll wheel) optical mouse. I have Cygwin package cygwin-1.7.16-1 installed with the packages in the user guide suggested for Xwin capability and SSH.

XTerms show up behind other Windows/XP/7 application windows when launched

2011-12-04 Thread Mark Hansen
I've been using the X server that comes with Cygwin for a long time, and one thing that I've never been able to find a solution for is that many times when launching an XTerm window, it comes up behind other applications running on the Windows/XP/7 display. I'm using Windows/XP at work and Windows