cygrunsrv: Error stopping a service: QueryServiceStatus: Win32 error 1053

2005-05-20 Thread Morten Kjærulff
Hi, When I try to stop my cygrunsrv I get the following error: cygrunsrv: Error stopping a service: QueryServiceStatus: Win32 error 1053: The service did not respond to the start or control request in a timely fashion. I get the same error if try to stop from the windows service panel. I ha

Issue with bash coprocess

2007-11-08 Thread Morten Kjærulff
Hi, I am trying to make a coprocess in bash, I found an example here: http://doc.mdcc.cx/cgi-bin/dwww?type=file&location=/usr/share/doc/bash-doc/examples/functions/coproc.bash When I tried that example, it sometimes hung, so to debug it (and to understand it) I made my own version. This also

Issue with bash coprocess

2007-11-08 Thread Morten Kjærulff
My previous post should have been written like this: Hi, I am trying to make a coprocess in bash, I found an example here: http://doc.mdcc.cx/cgi-bin/dwww?type=file&location=/usr/share/doc/bash-doc/examples/functions/coproc.bash When I tried that example, it sometimes hung, so to debug it (an

Issue with bash coprocess

2007-11-08 Thread Morten Kjærulff
Sorry, but there is a problem with hotmail (or me!), the correct wording of my post is attached. _ Windows Live Search - En søgning er nok http://www.windowslive.dk/?cmp=LiveSearch_textlink&p=LiveSearch Hi, I am trying to make a c

Re: Wrong setup.exe on http://www.cygwin.com/

2010-02-02 Thread Morten Kjærulff
Hi, It seems I have the same problem, I get 2.674. How do I do a refresh? /Morten > --- Ven 29/1/10, Jurgen Defurne  ha scritto: > >> Dear all, >> >> I was just trying to upgrade my local package repository, >> but setup complains >> that a newer version 2.678 is available. However, when I >> d

Re: Wrong setup.exe on http://www.cygwin.com/

2010-02-03 Thread Morten Kjærulff
Hi, I tried downloading http://www.cygwin.com//setup.exe (note 2 //), and got 2.680. http://www.cygwin.com/setup.exe is still 2.674 for me. Cheers, Morten -- www.MortenKjarulff.dk On Tue, Feb 2, 2010 at 6:08 PM, Larry Hall (Cygwin) > On 02/02/2010 06:15 AM, Morten Kjærulff wrote: >&

Re: How to Start Multiple Windows Apps Using Cygwin

2010-04-22 Thread Morten Kjærulff
or create a shortcut to what you want to execute, and execute the .lnk file as a command -- www.MortenKjarulff.dk On Thu, Apr 22, 2010 at 9:37 AM, Thorsten Kampe wrote: > * Yu, Lei (Thu, 22 Apr 2010 15:27:32 +0800) >>     I want to create a windows batch file, which can >> 1. initialize and star

Can unison syncronize permission bits

2009-02-09 Thread Morten Kjærulff
Hi, Before complaining that unison does not syncronize the permission bits between my C: drive and my USB drive, I would like to ask if it should be able to do it? I have searched a lot, and found various indicators that it should be able, but also that it will not do it on "windows" systems

Re: Can't get unison to syncroze permission bits

2009-02-12 Thread Morten Kjærulff
Hi, On Thu, Feb 12, 2009 at 8:39 PM, Andrew Schulman wrote: >> I can't get unison to syncronize the permission bits between my C: drive and >> my USB drive. Both are NTFS. I use "perms -1". >> >> What am I missing? > > Morten, thanks for the report.  I'll look at this as soon as I can, but I > d

lynx seems broken

2009-02-24 Thread Morten Kjærulff
Hi, On my machine#2 I just installed lynx, but it just exit without telling anything. Then I went to my machine#1 where lynx was already installed, and it worked fine. I then ran setup.exe and it installed a little. After that, lynx just exit without telling anything. I attach cygcheck.out1 which

Re: lynx seems broken

2009-02-25 Thread Morten Kjærulff
On Thu, Feb 26, 2009 at 12:10 AM, Larry Hall (Cygwin) wrote: > Morten Kjærulff wrote: >> >> Hi, >> >> On my machine#2 I just installed lynx, but it just exit without >> telling anything. Then I went to my machine#1 where lynx was already >> installed, and i

Change properties of a device driver

2009-03-11 Thread Morten Kjærulff
Hi, Is there any tool in cygwin that allows me to change the properties of a device driver? I have TV tuner card, but have a camera plugged into the Composite port. After each reboot the driver switches back to use "TV tuner" as input, and I have to change it to use "Composite". I want to automate

Re: Can't get unison to syncroze permission bits

2009-03-18 Thread Morten Kjærulff
Did you ever get the time to look into this? /Morten On Thu, Feb 12, 2009 at 9:15 PM, Andrew Schulman wrote: >> Which version of Unison are you running? > > Nevermind, I see it's 2.27.57. > > > -- > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple > Problem reports:       http://c

Re: Can't get unison to syncroze permission bits

2009-05-27 Thread Morten Kjærulff
Hi, Below problem still exist in 2.31.4, or at least that's what I see. Was anything done to solve it? Can I provide more doc? Cheers, Morten 2009/2/12 Morten Kjærulff > > Hi, > > On Thu, Feb 12, 2009 at 8:39 PM, Andrew Schulman wrote: > >> I can't get unison to

Permission on USB drive

2009-07-31 Thread Morten Kjærulff
Hi, These files: $ ls -l total 69892 -rwxr-xr-x 1 2753883 Jul 27 20:41 20090725-0926-IMG_0610.JPG -rwx-- 1 2865345 Jul 25 09:29 20090725-0929-IMG_0611.JPG -rwxr-xr-x 1 3697761 Jul 27 20:41 20090725-0951-IMG_0620.JPG -rwxr-xr-x 1 ?

Re: Cygwin portable bash

2009-09-24 Thread Morten Kjærulff
Hi, If you have a cygwin application running on machine A and update the installation on machine B, you might run into problems when dropbox tries to copy the files to machine A. I did almost the same with Windows Live Mesh. Now I am only synchronizing my home directory. Cheers, Morten On Thu, S

grep -i --color does not always color

2009-10-22 Thread Morten Kjærulff
Hi, Is this an error, or have I misunderstod something? /morten $ echo ABCabc|grep --color=auto B ABCabc <<< B is red $ echo ABCabc|grep --color=auto b ABCabc <<< b is red $ echo ABCabc|grep -i --color=auto b ABCabc <<< B and b is red $ echo ABCabc|grep -i --color=auto B ABCabc <<< nothing is

Re: grep --color=auto with -i option disables the matching text color

2009-11-23 Thread Morten Kjærulff
could be the same as "my" problem: http://cygwin.com/ml/cygwin/2009-10/msg00548.html www.MortenKjarulff.dk On Mon, Nov 23, 2009 at 4:51 PM, Alan Fay wrote: > Howdy! > > I was trying to enable colors on the matching text for grep, and can't > get the formatting to work with the matching text. >

Re: grep --color=auto with -i option disables the matching text color

2009-11-24 Thread Morten Kjærulff
Found this: http://savannah.gnu.org/bugs/?18666 could be related (or the actual error?) On Tue, Nov 24, 2009 at 2:10 PM, Dave Korn wrote: >> Alan Fay wrote: > >> # Problem command, no matching text (mt) appearing bold/blue, run in a >> C# solution: > >  What exactly does "run in a C# solution"

Re: Need a new Midnight Commander maintainer

2009-11-25 Thread Morten Kjærulff
Funny, earlier today I was thinking about asking if there was some package I could try to maintain. Have you any idea if this would be an easy/normal/hard pakage to start out on? /Morten On Wed, Nov 25, 2009 at 5:58 PM, Christopher Faylor wrote: > We haven't had a Midnight Commander update in qu

Which tool to convert pictures into a nice web page

2008-04-11 Thread Morten Kjærulff
Hi, I have a bunch of picture files from a web cam in a directory. The files changes over time (some go, new ones come). Which tool (that comes with cygwin) can I use to make a nice web page, that I can upload to my homepage? What I would like to do, is some like this: somekindofcommand --sw

cygwin@cygwin.com

2016-06-29 Thread Morten Kjærulff
Hi, I am trying to use less with an initial command of &pattern: printf 'A\nB\n' | less '+&B' Give me the text "&/B" at the topleft of my screen, and I have to press ENTER to do the actual filtering. Is this as it should be? ( printf 'A\nB\n' | less '+/B' Here line B is at top of screen, witho

pick or semilar

2016-08-17 Thread Morten Kjærulff
Hi, Is there a tool like "pick" https://github.com/thoughtbot/pick in cygwin? /Morten -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscri

#!/bin/sh and #!/bin/bash is not the same

2016-08-20 Thread Morten Kjærulff
Hi, I thought that #!/bin/sh in a script would be a bash, but it seems not to be - or what am I doing wrong? vp01mkf@DX305 ~/bin $ cat ./tsh.sh #!/bin/sh cat < <(pwd) vp01mkf@DX305 ~/bin $ ./tsh.sh ./tsh.sh: line 3: syntax error near unexpected token `<' ./tsh.sh: line 3: `cat < <(pwd)' vp01mk

Re: #!/bin/sh and #!/bin/bash is not the same

2016-08-22 Thread Morten Kjærulff
o a) wait It was working, however not with #!/bin/sh /Morten On Mon, Aug 22, 2016 at 3:16 PM, cyg Simple wrote: > On 8/20/2016 1:42 PM, Morten Kjærulff wrote: >> Hi, >> >> I thought that #!/bin/sh in a script would be a bash, but it seems not >> to be - or wh

Re: #!/bin/sh and #!/bin/bash is not the same

2016-08-22 Thread Morten Kjærulff
On Mon, Aug 22, 2016 at 8:51 PM, cyg Simple wrote: > Please do not TOP POST. > > On 8/22/2016 10:36 AM, Morten Kjærulff wrote: >> Thanks. >> >> What I was actually trying, was this: >> >> echo a | while read ; do >> some_command & >> do

permisions: cat from bash vs type from cmd

2016-09-06 Thread Morten Kjærulff
Hi, I am sure there is a fine explanation for what I see here, but what do I need to read to understand, or what is the explanation. My friend is trying to protect his .netrc on his virtual server, which works when I uses native windows commands, but I can see his file when I uses cygwin? I am ru

c3270 keymap examples

2018-11-26 Thread Morten Kjærulff
Hi, Any (Danes/Scandinavians) here using c3270? I can't get Danish national characters to work. I can't get Right Control button to be Enter(). Anyone has some good keymap examples? /Morten -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/

find command seems to lock files

2019-08-19 Thread Morten Kjærulff
Hi, I have an application which constantly: creates a file do some processing deletes the file One way to monitor if the application has crashed, is to check the age of the file, so I made a script that: find //$server/d$/dir/subdir*/subsubdir -name 'thefile' -printf '%A+\n' subdir* will be sub

Re: find command seems to lock files

2019-08-19 Thread Morten Kjærulff
On Mon, Aug 19, 2019 at 4:13 PM Corinna Vinschen wrote: > > On Aug 19 10:06, Eliot Moss wrote: > > On 8/19/2019 10:03 AM, Corinna Vinschen wrote: > > > On Aug 19 14:33, Morten Kjærulff wrote: > > > > Hi, > > > > > > > > I have an applic

Re: find command seems to lock files

2019-08-19 Thread Morten Kjærulff
On Mon, Aug 19, 2019 at 6:50 PM Andrey Repin wrote: > > Greetings, Morten Kjærulff! > > >> > >> > If the application in question creates and deletes the parent > >> > directory, as well as the leaf file, then things would be left > >> > aroun

execfuse

2022-05-06 Thread Morten Kjærulff
Hi all, Do you think it would be possible to port this to cygwin? https://github.com/vi/execfuse /Morten -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwi

Re: [QUAR] execfuse

2022-05-07 Thread Morten Kjærulff
On Fri, May 6, 2022, 17:52 Eliot Moss wrote: > On 5/6/2022 11:42 AM, Morten Kjærulff wrote: > > Hi all, > > > > Do you think it would be possible to port this to cygwin? > > https://github.com/vi/execfuse > > I'm thinking "Probably, since some versio

Protecting .netrc

2020-04-04 Thread Morten Kjærulff via Cygwin
Hi. No need to say that putting passwords in plain text file is a bad idea. But if I use .netrc, wouldn't below be a bit (lot?) safer? Assuming I have a good passphrase on my key. It seems so simple, that I fear I am not getting anything out of it. Morten #!/bin/sh # Install utils/gnupg2 # gp

sshfs or alike

2020-05-06 Thread Morten Kjærulff via Cygwin
Hi, As I understand, you can get sshfs to work with cygwin, but you have to install some non-cygwin tools also. Can I get sshfs or something like that with only cygwin tools? /Morten -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documenta

Re: sshfs or alike

2020-05-08 Thread Morten Kjærulff via Cygwin
> > As I understand, you can get sshfs to work with cygwin, but you have > > to install some non-cygwin tools also. > > > Can I get sshfs or something like that with only cygwin tools? > > Adding to the already mentioned points, I should warn you that SSHFS is > EXTREMELY SLOW. By design. > Enumera

name pipe problem: 1 writer, multiple concurrent readers

2020-05-19 Thread Morten Kjærulff via Cygwin
Hi, The following script: #!/bin/sh rm -f t.pip t.txt mkfifo t.pip printf "line1\nline2\n" >t.txt ps { while true ; do cp t.txt t.pip done } & rm -f t.rc.* for rc in 0 1 2 3 4 5 6 7 8 9 ; do { diff t.pip t.txt echo $? >t.rc.$rc } done echo result1 start ls t.rc.* | wc -l

Re: name pipe problem: 1 writer, multiple concurrent readers

2020-07-02 Thread Morten Kjærulff via Cygwin
> > On 5/19/2020 11:20 AM, Morten Kjærulff wrote: > > On Tue, May 19, 2020 at 3:55 PM Ken Brown via Cygwin > > wrote: > >> > >> On 5/19/2020 7:26 AM, Morten Kjærulff via Cygwin wrote: > >>> Hi, > >>> > >>> T

sqlite3: no such module: fts5

2020-07-05 Thread Morten Kjærulff via Cygwin
Hi, I am (ok, almost) sure that I have created a fts5 db before, how did I? $ echo "create virtual table t using fts5(t)"|sqlite3 t.db Error: near line 1: no such module: fts5 $ sqlite3 --version 3.30.0 2019-10-04 15:03:17 c20a35336432025445f9f7e289d0cc3e4003fb17f45a4ce74c6269c407c6e09f /Morten

Re: sqlite3: no such module: fts5

2020-07-07 Thread Morten Kjærulff via Cygwin
On Mon, Jul 6, 2020 at 7:03 AM Morten Kjærulff wrote: > > Hi, > > I am (ok, almost) sure that I have created a fts5 db before, how did I? > > $ echo "create virtual table t using fts5(t)"|sqlite3 t.db > Error: near line 1: no such module: fts5 > > $ sqlite3 -

Re: name pipe problem: 1 writer, multiple concurrent readers

2020-08-07 Thread Morten Kjærulff via Cygwin
On Thu, Jul 16, 2020 at 9:26 PM Ken Brown wrote: > > On 7/3/2020 7:09 AM, Ken Brown via Cygwin wrote: > > On 7/2/2020 1:50 PM, Morten Kjærulff via Cygwin wrote: > >> I think we got a new release around the beginning of June, right? > >> You said that there we

#!/bin/sh vs #!/bin/bash filename expansion after

2020-08-12 Thread Morten Kjærulff via Cygwin
Hi, This script: #!/bin/sh echo hello >hello.txt ls -l cat hell* cat < hell* gives me: $ ./t.sh total 2 -rw-r--r-- 1 vp01mkf Domain Users 6 Aug 12 19:51 hello.txt -rwxr-xr-x 1 vp01mkf Domain Users 60 Aug 12 19:51 t.sh hello ./t.sh: line 5: hell*: No such file or directory But if I change line

Wrong expansion of ~/

2020-08-24 Thread Morten Kjærulff via Cygwin
Hi, I have a script that starts several tmux panes with my favorite commands. In some (*some* and only *sometimes*) of the panes I see: -bash: /home/xP/.git-completion.bash: No such file or directory -bash: /home/xP/.git-prompt.sh: No such file or directory My .bashrc has: $ grep git .b

Re: Wrong expansion of ~/

2020-08-24 Thread Morten Kjærulff via Cygwin
On Mon, Aug 24, 2020 at 11:52 AM Thomas Wolff wrote: > > Am 24.08.2020 um 10:05 schrieb Morten Kjærulff via Cygwin: > > Hi, > > > > I have a script that starts several tmux panes with my favorite commands. > > In some (*some* and only *sometimes*) of the panes I se

Re: Wrong expansion of ~/

2020-08-25 Thread Morten Kjærulff via Cygwin
On Mon, Aug 24, 2020 at 10:41 PM Brian Inglis wrote: > > On 2020-08-24 06:36, Morten Kjærulff via Cygwin wrote: > > On Mon, Aug 24, 2020 at 11:52 AM Thomas Wolff wrote: > >> Am 24.08.2020 um 10:05 schrieb Morten Kjærulff via Cygwin: > >>> I have a script that

Re: Wrong expansion of ~/

2020-08-27 Thread Morten Kjærulff via Cygwin
On Tue, Aug 25, 2020 at 3:00 PM Brian Inglis wrote: > > On 2020-08-25 01:15, Morten Kjærulff via Cygwin wrote: > > On Mon, Aug 24, 2020 at 10:41 PM Brian Inglis wrote: > >> > >> On 2020-08-24 06:36, Morten Kjærulff via Cygwin wrote: > >>> On Mon, A

Re: Wrong expansion of ~/

2020-08-27 Thread Morten Kjærulff via Cygwin
On Thu, Aug 27, 2020 at 7:59 PM Thomas Wolff wrote: > > Am 27.08.2020 um 18:49 schrieb rifter via Cygwin: > > On 8/27/20, Morten Kjærulff via Cygwin wrote: > >> On Tue, Aug 25, 2020 at 3:00 PM Brian Inglis wrote: > >>> On 2020-08-25 01:15, Morten Kjærulff via Cy

Re: Date of first Cygwin release / 25th Anniversary

2020-09-24 Thread Morten Kjærulff via Cygwin
On Thu, Sep 24, 2020 at 9:45 AM Brian Inglis wrote: > > > On 2020-09-23 13:16, Buchbinder, Barry (NIH/NIAID) [E] via Cygwin wrote: > > On Wednesday, September 23, 2020 2:33 PM, David Eisner wrote: > >> Cygwin started in 1995.[1] Does anybody know the date of the first release? > >> I recognize that

3270

2021-03-21 Thread Morten Kjærulff via Cygwin
Hi, Do we have any c/s/x3270 maintainer? Do we have any c/s/x3270 users except me? /Morten -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubs

Re: 3270

2021-04-06 Thread Morten Kjærulff via Cygwin
On Tue, Mar 23, 2021 at 4:51 AM Peter A. wrote: > > On Sun, Mar 21, 2021 at 06:51:05PM +0100, Cygwin List wrote: > > Hi, > > > > Do we have any c/s/x3270 maintainer? > > Do we have any c/s/x3270 users except me? > > That would be me. I haven't had much time to try and package a new > x3270. Also,

IBM MQ client application fails on latest cygwin

2021-04-06 Thread Morten Kjærulff via Cygwin
Hi, Came back from easter vacation today and updated my cygwin installation. I havn't touched my PC since March 26. I have a non-cygwin IBM MQSeries client application which I call from a script. It connects to my z/OS MQ server. When I run it from a windows command prompt, it works fine. When

Re: IBM MQ client application fails on latest cygwin

2021-04-08 Thread Morten Kjærulff via Cygwin
On Thu, Apr 8, 2021 at 2:26 PM Takashi Yano wrote: > > On Thu, 8 Apr 2021 20:16:00 +0900 > Takashi Yano wrote: > > On Thu, 8 Apr 2021 08:04:26 +0200 > > Morten Kjærulff wrote: > > > On Wed, Apr 7, 2021 at 1:04 PM Takashi Yano wrote: > > > > > > >

Re: IBM MQ client application fails on latest cygwin

2021-04-08 Thread Morten Kjærulff via Cygwin
On Thu, Apr 8, 2021 at 4:24 PM Morten Kjærulff wrote: > > On Thu, Apr 8, 2021 at 4:04 PM Takashi Yano wrote: > > > > On Thu, 8 Apr 2021 15:10:54 +0200 > > Morten Kjærulff wrote: > > > On Thu, Apr 8, 2021 at 2:26 PM Takashi Yano wrote: > > > &

Re: IBM MQ client application fails on latest cygwin

2021-04-08 Thread Morten Kjærulff via Cygwin
On Fri, Apr 9, 2021 at 7:26 AM Morten Kjærulff wrote: > > On Fri, Apr 9, 2021 at 2:22 AM Takashi Yano wrote: > > > > On Thu, 8 Apr 2021 18:30:25 +0200 > > Morten Kjærulff wrote: > > > Could it be a codepage issue? > > > > Maybe. > > > &g