It may still work but you don't see the other terminal window unless you're on
the desktop.
To prove, try this command instead.
runas /noprofile /user:orawin\administrator echo hello > a
Then look for the file "a".
I was just wondering if perhaps the issue was due to spawning a separate
window
Does schtasks.exe open a separate/new terminal session?
You could check if a command like "runas" works through ssh.
runas /noprofile /user:mymachine\administrator dir
Glenn
---
We recently upgraded Cygwin to 2.9.0(0.318/5
"Hive not writable" sounds like permission for a registry key.
Mind you, Cygwin unloads the registry on a filesystem.
/proc/registry/HKEY_CURRENT_USER/
--
Moving to a new machine with Windows 10
Ran into issues with TZ in the past too. ActiveState Perl is picky.
I use the PST8PDT format for TZ, but could be other Window programs that
won't accept that.
$ TZ="" date
Tue, May 9, 2017 2:02:50 PM
$ TZ="America/Los_Angeles" date
Tue, May 9, 2017 7:01:39 AM
$ TZ="PST8PEDT" date
Tue, Ma
the SSL certificate is the same ** ??
What am I missing?
"...but there's nothing we can do from here."
Where is "here"? If "here" == "cygwin.com", you can't tell me if my IP is on an
internal blacklist (and, moreso, why?)??
On 2017-04-21 0
Agree, it's nothing to do with Cygwin.com.
Check for a firewall on your local machine. Check your home router to see if
it has a firewall with restrictions.
Perhaps you're passing through a proxy server or firewall at the ISP?
Try traceroute or wget to analyze what site you're really attaching
I haven't run Cygwin Expect for about 6 moths on Windows but it was behaving
fine last time I did.
One thing I am aware of is you can't interrupt sleep in TCL. The sleep must
complete until the Control C is processed (regardless of whether you redirected
signals
to your own routines). Otherw
Odd. To change to csh with sshd I have /bin/tcsh in /etc/passwd.
I then wanted to automatically switch to CMD so I tried /cygdrive/c/.../cmd.exe
but I was getting extra newlines from cmd.
I ended up switching to tcsh in /etc/passwd and using a .login containing
exec cmd /q
to stop the newlines
\whatis.exe
C:\cygwin64\bin\ar.exe
C:\cygwin64\bin\arch.exe
C:\cygwin64\bin\as.exe
C:\cygwin64\bin\ash.exe
C:\cygwin64\bin\gawk.exe
C:\cygwin64\bin\b2sum.exe
-Original Message-
Greetings, Gluszczak, Glenn!
> * is a legal character for ls but perhaps not cygpath?
"*" is not
Behalf Of
Michael Enright
Sent: Friday, February 10, 2017 3:43 PM
To: cygwin@cygwin.com
Subject: Re: cygpath
On Fri, Feb 10, 2017 at 12:31 PM, Gluszczak, Glenn wrote:
> Sorry, I forgot the user I log in as is switching to cmd.exe.
>
> This doesn't happen in sh or tcsh, so it is probab
Sorry, I forgot the user I log in as is switching to cmd.exe.
This doesn't happen in sh or tcsh, so it is probably a non-issue.
-Original Message-
From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of
Gluszczak, Glenn
Sent: Friday, February 10, 2017 3:04
*not* produce the gibberish.
%%%cygpath -w /aaa/bbb/*
C:\cygwin\aaa\bbb\
-Original Message-
From: Andrey Repin [mailto:anrdae...@yandex.ru]
Sent: Friday, February 10, 2017 2:36 PM
To: Gluszczak, Glenn; cygwin@cygwin.com
Subject: Re: cygpath
Greetings, Gluszczak, Glenn!
> Isn’t this
Isn’t this a defect in cygpath? Looks like memory corruption.
%%%cygpath -w /usr/tmp/*
C:\cygwin\usr\tmp\
%%%cygpath -w /usr/non-existent/*
C:\cygwin\usr\non-existent\�[W��
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation:
I've found recently while using cp or rsync that the Administrator account
could not access files or set back permissions for files with System account
privileges.
I had to resort to xcopy to do things properly.
-Original Message-
From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwi
ab.ca]
Sent: Monday, December 05, 2016 6:30 PM
To: cygwin@cygwin.com
Subject: Re: sh -c and newline
On 2016-12-05 14:11, Gluszczak, Glenn wrote:
> On 2016-12-05 15:04, Brian Inglis wrote:
>> On 2016-12-05 12:38, Gluszczak, Glenn wrote:
>>> I can't seem to get sh -c to reco
I can't seem to get sh -c to recognize newline. Tcsh -c works.
I'm using echo as an example but I'm actually trying to build a here-document.
%%%sh -c "echo \nhello"
nhello
%%%sh -c "echo \\nhello"
nhello
%%%sh -c "echo \\\nhello"
\nhello
%%%tcsh -c "echo \nhello"
nhello
%%%tcsh -c "ech
Sorry it's a Windows defect. Builtin CMD echo does not set an errorlevel.
Glenn
-Original Message-
From: Gluszczak, Glenn
Sent: Thursday, September 22, 2016 2:48 PM
To: 'cygwin@cygwin.com'
Subject: Errorlevel
Is this a known defect? The errorlevel of the ls command i
Is this a known defect? The errorlevel of the ls command is passed to the echo.
$ cmd
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\cygwin64\home\Administrator>del c:\tmp\hello
del c:\tmp\hello
Could Not Find c:\tmp\hello
C:\cygwin64\home\Administr
riginal Message-
From: Gluszczak, Glenn
Sent: Thursday, January 28, 2016 10:43 AM
To: cygwin@cygwin.com
Subject: RE: Issue Setting up SFTP/OpenSSH on Multiple PLatforms
I never got ssh-copy-id to work from Linux to Windows and couldn't be bothered
tracing it.
At first, the key was going t
o find
a guide for this that shows me what command to use to do it but maybe after
messing with this stupid server for so long Google has stopped being my friend.
Brendan
-Original Message-
From: Gluszczak, Glenn [mailto:glenn.gluszc...@emc.com]
Sent: Wednesday, January 27, 2016 3:0
01DFDC >at MX204CL04 dot corp
>dot emc dot com>
>____
>On 27/11/2015 17:55, Gluszczak, Glenn wrote:
>On Fri, Nov 27, 2015 at 5:03 PM, Gluszczak, Glenn wrote:
>Please look at my example again. The same program compiled with Visual Studio
>
>On Fri, Nov 27, 2015 at 5:03 PM, Gluszczak, Glenn wrote:
> Please look at my example again. The same program compiled with Visual
> Studio does *not*
> strip out the backslash whether run in cmd.exe or bash.exe. Other utilities
> like Perl
> do not strip out the backsl
>-Original Message-
>From: Jan Nijtmans [mailto:jan.nijtm...@gmail.com]
>Sent: Friday, November 27, 2015 4:30 AM
>To: cygwin@cygwin.com
>Subject: Re: Argument parsing with gcc compiled program
>
>2015-11-26 21:30 GMT+01:00 Gluszczak, Glenn :
>> Sorry I should
Sorry I should have specified, this is not bash as this happens with the gcc
compiled
program within a Command Prompt session.
K:\>a.exe -s something "something d\:\\hello"
Command-line arguments:
argv[0] a
argv[1] -s
argv[2] something
argv[3] something d\:\hello
CL: K:\sat-mi
For some reason when I compile a C program in gcc, double backslashes within
quotes are stripped.
But if I compile with Visual Studio this does not happen. I used a small
test program to demonstrate.
VS
c:\msvc2010_SP1\VC>a.exe -s something "something d\:\\hello"
Command-line arguments:
argv[
cat "/proc/registry/HKEY_CURRENT_USER/Control Panel/International/sLanguage"
works fine in bash
but if I switch to csh I fail to get a newline when reading the registry.
$ cat -v "/proc/registry/HKEY_CURRENT_USER/Control
Panel/International/sLanguage"
ENU^@
$ csh
$ cat -v "/proc/registry/HKEY_CU
When I shell to cmd.exe, the commands I execute are echoed (not sure if stdout
or stderr).
This doesn't happen under native cmd.exe. Is there a variable that controls
this?
I only have CYGWIN=nodosfilewarning
Notice the commands "dir" and "whoami" are emitted to the output.
$ bash --versi
27 matches
Mail list logo