Losing key bindings in Bash 3.00.16(14)-release

2006-01-25 Thread Keith Christian

Hi Folks,

Versions:  Windows XP SP2, RXVT 2.7.10, Bash 3.00.16(14)-release, Cygwin 
DLL 1.5.18.


Since Bash 3.x became the default version installed with Cygwin, on my 
system, Bash inexplicably loses the command line edit bindings.  This 
usually happens when a window has been open for a day or more and I've 
done alot of work in it.


The problem shows itself when I press Ctrl-A or Ctrl-E or other command 
line editing keys, and instead of going to the start or the end of the 
line, I see "^A" or "^E" in the command line at the cursor position.


(I have Bash 3.00.14(1)-release on a Fedora Linux system and haven't 
noticed this behavior.)


I haven't discovered how to restore editing bindings to the BASH command 
line other than closing the RXVT window and re-opening it.


Thanks for any suggestions.

===Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



How to compile the cygwin dll's using a functional Cygwin system?

2006-01-26 Thread Keith Christian

Hi Folks,

I'm looking for the instructions (I've searched with Google etc.) about 
how to compile the Cygwin DLL's from source using non-Microsoft 
compilers, e.g. those included with a functional Cygwin system.


Is this possible, or do the DLL's have to be built using either free or 
low cost Microsoft compilers?


Thanks,

==Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: How to compile the cygwin dll's using a functional Cygwin system?

2006-01-26 Thread Keith Christian

Igor Peshansky wrote:

Did you try the FAQ?

Didn't try the FAQ because I didn't run across it with searches but I'll 
take a look, thanks.




It would be interesting to find out where you got the idea that Cygwin
needs a Microsoft compiler to build...

I got the idea from my "worst case scenario" assumption model.

Thanks, Igor, for this help and all that you've provided in the past.

I'll read the FAQ and may try a build when I get some free time  (-:

===Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Correct device name for printing a PDF from Ghostview

2006-02-27 Thread Keith Christian

Hi Folks,

Using Cygwin 1.5.19-4, gv 3.6.1-1, Windows XP Pro SP 2.  I'd like to 
print a PDF file from Ghostview - Where do I find the correct device 
name for my HP USB Printer?


Clicking the Print button from Ghostview offers "lpr" as the current 
device.  From the Start/Settings/Printers and Faxes clickpath, there is 
an icon with the label "hp officejet 6100 series."  In the Properties 
dialog under the "Ports" tab, there is a port labeled "USB001."


So, what path should be in the Print dialog box for Ghostview to point 
the output to this USB printer?


Thanks in advance.

===Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Correct device name for printing a PDF from Ghostview

2006-02-27 Thread Keith Christian

Igor Peshansky wrote:

'lpr -P "hp officejet 6100 series"' (yes, with the double quotes) should
work.
Igor


Hi Igor,

Thanks - almost there - The Officejet printer printed raw Postscript 
commands instead of the document.  For example, the first line of the 
printout was:


%!PS-Adobe-3.0
%%Pages: (atend)
%%BoundingBox: 1 49 594 747
...etc...etc..etc..etc...

Other suggestions appreciated.

=Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Adding users to /etc/passwd for ssh purposes, but not as a local Windows user

2006-07-24 Thread Keith Christian
Suppose a Windows 2000/XP/2003 machine exists where three accounts need to be
added for use only with SSH to a Unix/Linux machine, for ssh/scp/sftp use.

Further suppose these user accounts are to be named ssh_user_a, ssh_user_b,
and ssh_user_c, and that these should exist only in Cygwin's /etc/passwd file
- they won't be added as local Windows users.

My question is whether these users can be added only to Cygwin's /etc/passwd
file so that passwordless logins can be achieved, using .ssh/authorized_keys.

Possible?

Thanks,

==Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Adding users to /etc/passwd for ssh purposes, but not as a local Windows user

2006-07-25 Thread Keith Christian
--- Corinna Vinschen <[EMAIL PROTECTED]> wrote:

> On Jul 24 19:09, Keith Christian wrote:
> > Suppose a Windows 2000/XP/2003 machine exists where three accounts need to
> be
> > added for use only with SSH to a Unix/Linux machine, for ssh/scp/sftp use.
> > 
> > Further suppose these user accounts are to be named ssh_user_a,
> ssh_user_b,
> > and ssh_user_c, and that these should exist only in Cygwin's /etc/passwd
> file
> > - they won't be added as local Windows users.
> 
> Nope.  Every account in /etc/passwd needs a real account in Windows,
> given as SID in the pw_gecos field.  Cygwin has no own user management
> but relies on Windows' user management.
> 
> What you can do is to create (or choose an existing) single account in
> Windows, create three entries for this user in /etc/passwd, edit
> /etc/passwd to give these three accounts different names and different
> Cygwin uids, but let them all still refer to this single Windows
> account.  And then expect weirdnesses.  For instance, the files created
> by any of these accounts will of course be owned by the underlying
> Windows account.  An `ls -l' will always show the files being owned by
> the user entry showing up first in /etc/passwd.  They are simply only
> one account actually, whatever you fake in /etc/passwd.

Hi Corinna,

Thanks for the explanation.  Last evening, the sequence below allowed the
creation of an alternate user.  Assume "kchristian" as an existing Windows
user and "keith" as the new Cygwin user.

1. As superuser: vi /etc/passwd

2. Duplicate an existing Windows user (in my case, "kchristian" user via
"yyp."

2. Change the UID from X to X+1::s/X/X+1/g

3. mkdir /home/keith

4. chmod -R keith:None /home/keith

5. passwd keith

6. Assuming SSHD is running, log in to the new Cygwin user account with "ssh
[EMAIL PROTECTED]"

Steps 1-6 worked without problems.


The only thing remaining is to get the authorized_keys settings just right so
that I can perform SSH passwordless logins between Cygwin and Linux.  I've
done this before but so far SSH is still asking for a password.  (Probably a
permission issue in ~/.ssh or files within it.)

The Cygwin team is doing an excellent job with the product.  Cygwin is so good
that I can avoid an impressive amount of "interface GUI-dom."

==Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



PCYMTNQREAIYR, suggestions for Yahoo Web Email?

2006-07-25 Thread Keith Christian

--- Corinna Vinschen wrote:

> On Jul 25 06:21, Keith Christian wrote:
> > --- Corinna Vinschen <[EMAIL PROTECTED]> wrote:
> http://cygwin.com/acronyms/#PCYMTNQREAIYR


I use the Yahoo Mail web interface, like thousands of others.  Anyone know
offhand how not to quote raw email addresses, per PCYMTNQREAIYR?  In the
meantime, I'll look through Yahoo Mail help.

===Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



cp -u always copies all files

2004-06-16 Thread Keith Christian
I'm running this Cygwin distribution on Windows XP Pro:

CYGWIN_NT-5.1 den-aet-xpw002 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown
unknown Cygwin

My most pressing question is why "cp -u" always copies all files instead of
only updated ones.  I have tried this with several test files, and it never
once offers to copy only new/updated files.  Is this a bug, or is there some
other way I can test this and report back my findings?

Thanks.

Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



locate lacks -r regular expression flag in Cygwin

2004-06-16 Thread Keith Christian
I'm running this version of Cygwin:

CYGWIN_NT-5.1 den-aet-xpw002 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown
unknown Cygwin

on Windows XP Pro.

On Linux, I use the "-r" flag to search for regular expressions as shown
below:

$ locate --version
GNU locate version 4.1.7

[EMAIL PROTECTED] ~
$ locate -r "test.*xls"
locate: invalid option -- r
Usage: locate [-d path | --database=path] [-e | --existing]
  [-i | --ignore-case] [--version] [--help] pattern...


Is there any reason why the version of "locate" in Cygwin doesn't support
this?  Is it a limitation of Microsoft's NTFS file system?

Thanks.

=Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Keeping a local mirror up to date

2004-09-03 Thread Keith Christian
Scenario:

A few months ago I used SETUP.EXE to "download from internet" to a local hard
drive, which I copied to a CD to make it easier to install Cygwin on
workstations.

When I want to update this local disk mirror with the latest packages, which
option do I choose to download ONLY updated or brand new packages, skipping
what is unchanged?

Is a "update an existing local mirror" procedure in a FAQ somewhere?

Thanks.

===Keith




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Console on Sourceforge with Cygwin

2006-08-29 Thread Keith Christian

It's hosted on SourceForge, try the latest v2 beta (not demo!)

http://sourceforge.net/projects/console


I just downloaded Console Beta 125 - Sorry, a little dense here, how do 
you invoke it from Windows to launch a Cygwin bash shell?  Do you have a 
couple of example command lines to use?


Could you provide one example for a user that would start with "Click 
Start/Run and type the following command"


Thanks,

==Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [ANNOUNCEMENT] Updated [experimental]: bash-3.2-4

2006-10-25 Thread Keith Christian

Eric Blake wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

A new release of bash, 3.2-4, is now available for experimental use,
replacing 3.2-3. Version 3.1-9 remains as the current version for now.


PROMISING - for the first time since January, the  completion works 
without duplicating the last character on the line!


My original posting: http://www.cygwin.com/ml/cygwin/2006-01/msg01214.html

I've installed Bash 3.2-4 and libreadline6 5,2-2 as suggested, and the 
rxvt version I've been running is 20050409-3.  I'll continue testing and 
report any problems, but I see immediate improvement in completion 
handling with this combination!


Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[Fwd: Re: [ANNOUNCEMENT] Updated [experimental]: bash-3.2-4]

2006-10-30 Thread Keith Christian

Eric Blake wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

A new release of bash, 3.2-4, is now available for experimental use,
replacing 3.2-3. Version 3.1-9 remains as the current version for now.


PROMISING - for the first time since January, the  completion works
without duplicating the last character on the line!

My original posting: http://www.cygwin.com/ml/cygwin/2006-01/msg01214.html

I've installed Bash 3.2-4 and libreadline6 5,2-2 as suggested, and the
rxvt version I've been running is 20050409-3.  I'll continue testing and
report any problems, but I see immediate improvement in completion
handling with this combination!

Keith


 Original Message 
Subject: Re: [ANNOUNCEMENT] Updated [experimental]: bash-3.2-4
Date: Wed, 25 Oct 2006 11:52:13 -0600
From: Keith Christian <[EMAIL PROTECTED]>
To: cygwin@cygwin.com
References: <[EMAIL PROTECTED]>

===

Follow up: Although early tests were promising, the same problems have 
returned.  Still using Bash 3.2-4 and libreadline6 5,2-2, and rxvt 
20050409-3.


Attempting to progressively complete nested directories caused a 
duplication in the "/" character.  Example:


Assume a directory structure of

~/projects/projecta/phase1/documentation/
~/projects/projectb/phase1/documentation/
~/projects/projectc/phase1/documentation/

Typing "cd ~/projects" and pressing  completed ~/projects/ 
satisfactorily, but when pressing  a second time, "//" appeared 
instead of "projects/project" so the problem persists.


The other issue that I face after having a terminal window open awhile 
is that the BASH key editing bindings become lost - e.g. pressing ^A to 
go the beginning of a line inserts a ^A instead of moving around. 
Pressing ^E does not go to the end of the line but instead is over the 
last character of the line, so appending to the line is impossible.


Is there anything I can do to help test?  Let me know.  I really long 
for the days of last year when the command line editing with RXVT was 
flawless.


===Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Build problems --- putty-0.58-cygterm-20060525.tar.gz and putty-0.58.tar.gz

2006-12-07 Thread Keith Christian

Problem: Successful build on one XP machine but not on another.

On the machine with the successful build, PuTTY-Cygterm is fabulous.  I can't 
wait to get it working on the other machine.

I was able to successfully build Puttycyg on one Windows XP machine, but not on 
another.  Used the same source files on both machines, e.g. putty-0.58.tar.gz 
and the companion putty-0.58-cygterm-20060525.tar.gz.  I also tried the 0.57 
version of both source files, but the build failed at the same point.

The machine having problems stops at the step below.  The crt2.o file is the 
same on both machines, same path, and same filesize and date.

I'm using the build instructions here: 
http://web.gccaz.edu/~medgar/puttycyg/BUILDING.txt.  Again, I had a successful 
build on another nearly identical XP machine.

Here's the last part of the output where it fails:

gcc -mwindows -mno-cygwin -s -o putty.exe -Wl,-Map,putty.map be_all.o \
cmdline.o config.o cproxy.o cygterm.o dialog.o ldisc.o \
ldiscucs.o logging.o minibidi.o misc.o pinger.o portfwd.o \
pproxy.o proxy.o raw.o rlogin.o settings.o sizetip.o ssh.o \
sshaes.o sshblowf.o sshbn.o sshcrc.o sshcrcda.o sshdes.o \
sshdh.o sshdss.o sshmd5.o sshpubk.o sshrand.o sshrsa.o \
sshsh512.o sshsha.o sshzlib.o telnet.o terminal.o timing.o \
tree234.o version.o wcwidth.o wildcard.o win_res.res.o \
wincfg.o winctrls.o windefs.o windlg.o window.o winmisc.o \
winnet.o winnoise.o winpgntc.o winprint.o winstore.o \
wintime.o winucs.o winutils.o x11fwd.o -ladvapi32 -lcomctl32 \
-lcomdlg32 -lgdi32 -limm32 -lshell32 -luser32 -lwinmm \
-lwinspool
ld: crt2.o: No such file: No such file or directory
make: *** [putty.exe] Error 1
make: Leaving directory `/usr/src/putty-0.58/WINDOWS'


My investigation of the whereabouts of crt2.o:

==
Output of ---> locate /crt2

/cygdrive/c/cygwin/lib/mingw/crt2.o
==


==
Output of ---> ls -l /cygdrive/c/cygwin/lib/mingw/crt2.o

-rwxrwxrwx+ 1 kchristian Users 2260 Nov 18 15:29 
/cygdrive/c/cygwin/lib/mingw/crt2.o
==



Baffling.  Any ideas?


=Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Build problems --- putty-0.58-cygterm-20060525.tar.gz and putty-0.58.tar.gz-----0.59 WORKS

2007-02-09 Thread Keith Christian

Dave Korn wrote:

On 07 December 2006 16:00, Keith Christian wrote:


Baffling.  Any ideas?


  Different binutils versions?  make versions?  Run "cygcheck -s -v -r" on
each machine and then diff the two?



Yesterday I downloaded the 0.59 binary zipfile, and it WORKS on the machine 
where the 0.58 version wouldn't compile (the compile would exit with:

   /usr/bin/ld: crt2.o: No such file: No such file or directory
   collect2: ld returned 1 exit status


This version works so thanks to Mark Edgar for the new 0.59 version.

   http://web.gccaz.edu/~medgar/puttycyg/
   c8a31247a0f212202ec4f9dc48aa05ea  puttycyg-20070207.zip

==Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Accessing remote PC (ssh?)

2007-03-15 Thread Keith Christian

Charles D. Russell wrote:
A $50 Linksys router and two XP machines. But as I said at the outset, 
anything much more than running an installation script is getting over 
my head.  It would be convenient to have ssh, but I am unwilling to 
spend much time on the problem.  Let's call it quits.


SSH works great in Cygwin.

How about trying one more thing?  Put an entry for "sony06" in 
c:\windows\system32\drivers\etc\hosts, delete the entry for "sony06" in known_hosts, and 
try again.

===Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Is there any way to highlight to cut and past in cygwin?

2007-03-29 Thread Keith Christian

Kevin Markle wrote:
I'm used to using putty in SUN and was able to highlight and right click 
to paste can I do this in cygwin?


I've been using PuTTY as a Cygwin terminal and it's fantastic - see below:

   http://web.gccaz.edu/~medgar/puttycyg/README.txt

=Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Is there any way to highlight to cut and past in cygwin?

2007-03-29 Thread Keith Christian

Kevin Markle wrote:

Keith Christian submitted this idea :


Kevin Markle wrote:

I'm used to using putty in SUN and was able to highlight and right 
click to paste can I do this in cygwin?



I've been using PuTTY as a Cygwin terminal and it's fantastic - see 
below:


http://web.gccaz.edu/~medgar/puttycyg/README.txt

=Keith



Thanks that is what I wanted. I'm gettig a permission denied error. I 
put the files in the cygdrive/bin directory so that it could find the 
cygwin1.dll file but and getting a permsion error? Did you type anything 
into the path file to just select cygterm and it worked? B-)



Hi Kevin,

I used the puttycyg-20070207.zip binary to install, and this is what worked on 
my XP SP2 machine:


1. Copy putty.exe and cthelper.exe to /usr/local/bin.


2. Click Start/Run, enter c:\cygwin\usr\local\bin\putty.exe and press ENTER.


3. PuTTY launches.


4. In the PuTTY Configuration window, click Session in the left pane and in the 
right pane enter:

  A. Command (use - for login shell) --- Enter a dash -
  B. Port (ignored) --- Enter a dash -
  C. Connection Type click  (*)Cygterm


5. Put Default Settings in the Saved Sessions window.


6. Click Save. Save again as cygwin, for backup purposes.


7. Close PuTTY and re-open with the Start/Run command in step 2 - that should 
be it.


8. If you create a desktop shortcut:

  A. Target:  C:\cygwin\usr\local\bin\putty.exe  -load  cygwin  (See step 5)
  B. Start in:  C:\cygwin\usr\local\bin


9. My PuTTY version info - Clicking the upper left window of the PuTTY window and 
choosing About PuTTY shows "Unidentified build, Dec  6 2006 14:50:41"


I've been using the  version since February and it works great - you might be 
sure that Cygwin is updated since this requires Cygwin 1.5.24 or higher 
according to the web page.  cygcheck -s -r -v shows Cygwin DLL 1.5.24.  I have 
PuTTY set for  lines of scrollback, logging to disk, etc. and all of that 
works fine.


CUT AND PASTE - your original question - To copy a word or line, double click 
or triple click.  To paste back to PuTTY press Shift+Insert or right-click.


==Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: grep will not work with a variable?

2007-03-29 Thread Keith Christian

Kevin Markle wrote:

Hello,

I'm trying to find a pattern in a file and the command works if I 
manully put the output of the variable in it but when I use the variable 
it fails? I have tryed with quotes "$CLIENT" and without. I don't know 
what else to try? :-(


echo "Client variable is --> \"${CLIENT}\""  ;  grep "${CLIENT}" foo.txt

What does that tell you?

Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: grep will not work with a variable?

2007-03-29 Thread Keith Christian

Kevin Markle wrote:

Keith Christian brought next idea :


Kevin Markle wrote:


Hello,

I'm trying to find a pattern in a file and the command works if I 
manully put the output of the variable in it but when I use the 
variable it fails? I have tryed with quotes "$CLIENT" and without. I 
don't know what else to try? :-(



echo "Client variable is --> \"${CLIENT}\""  ;  grep "${CLIENT}" foo.txt

What does that tell you?

Keith



I tryed adding a cd to the directory that I was attempting to grep from 
and that worked? This is okay because is worked but it would be nice to 
not have to so that...



Ok, suppose foo.txt is in /home/fflintstone/foo.txt, then:

echo "Client variable is --> \"${CLIENT}\""  ;  grep "${CLIENT}" 
/home/fflintstone/foo.txt

===Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Mapping windows drives in cygwin?

2007-04-19 Thread Keith Christian

Kevin Markle wrote:

Hello,

Does anybody know of a simple way to map network drives from withing a 
cygwin script? :o)


Hi Kevin,

This method works:


#Using a hostname for the remote machine=
net  use  sandstone.bedrock.net\\IPC$  /user:bedrock\\fflintstone  
/persistent:no
(You'll be prompted for a password)


#Using an IP address for the remote machine=
net  use  192.168.2.100\\IPC$  /user:bedrock\\fflintstone  
/persistent:no
(You'll be prompted for a password)


#=Map drive Z: to the C: drive on the remote server=
net  use  z:  sandstone.bedrock.net\\C$
--or--
net  use  z:  192.168.2.100\\C$

ls -latr /cygdrive/z  (get a directory listing on the mapped drive)


The first line sets up an IPC channel to the server you're interested in 
mapping to.
The second maps drive Z: to the C: share.

To UNMAP, use this syntax, just as in CMD.EXE.

net use Z: /delete



=Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Possible error in http://cygwin.com/cygwin-ug-net/dll.html

2007-08-24 Thread Keith Christian
This line in http://cygwin.com/cygwin-ug-net/dll.html seems to have an error:

gcc -o myprog myprog.ca -L./ -lmydll
--^

It seems it should be:

gcc -o myprog myprog.c -L./ -lmydll

Using "myprog.c" instead of "myprog.ca" allows it to compile to an .EXE which
executes successfully.

==Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Is there someone offering cygwin paid support?

2007-09-17 Thread Keith Christian
- Original Message 
From: Marko Loparic <[EMAIL PROTECTED]>
To: cygwin@cygwin.com
Sent: Monday, September 17, 2007 1:49:39 PM
Subject: Re: Is there someone offering cygwin paid support?


Hello Steve,

On 9/17/07, Steve Holden <[EMAIL PROTECTED]> wrote:
> Just a quick note, by the way, to question your apparent assumption that
> "paid support" will get you any further than using this list!

I have already tried the list, some people helped, someone suggested
me to use cacls, which certainly put me closer to the solution, but it
was not enough. If you have an idea of what else I could try please
tell me. DOS commands have no permission problem, emacs for windows
also opens the directory without problems, but all cygwin commands get
a permission denied error...

Thanks,
Marko



Marko, you could download Process Explorer 
(http://www.microsoft.com/technet/sysinternals/utilities/processexplorer.mspx) 
and use it to watch for Windows messages while trying to access the 
directories/files you are having problems with.  It's an excellent tool.

=Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: is there a "urlencode" utility somewhere?

2007-10-18 Thread Keith Christian
- Original Message 
From: "DePriest, Jason R." <[EMAIL PROTECTED]>
To: cygwin@cygwin.com
Sent: Thursday, October 18, 2007 10:30:35 AM
Subject: Re: is there a "urlencode" utility somewhere?


Lots of hits on Google, if you want to use Perl:

http://www.google.com/search?hl=en&lr=lang_en&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=perl+urlencode+urldecode&spell=1


Here is a pair of functions (urlencode and urldecode) in C (haven't tried to 
compile on Cygwin, though.)

http://csourcesearch.net/data/package/csync2/csync2-1.16/urlencode.c



===Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Wow, just hit RCS bug

2014-04-16 Thread Keith Christian
RCS does a great job for smaller projects when I don't need the
overhead of any of the popular larger systems.  It has saved me many
times when I'm working on a short document or a set of scripts on my
desktop machine.

I'd miss it if it were removed simply due to the lack of handling
10Meg of diffs or similar.  Wonder if this bug could be fixed some
way?

On Wed, Apr 16, 2014 at 11:05 AM,   wrote:
> In message <87bnw12nuu.fsf@Rainer.invalid>you write:
>>tedno...@bellsouth.net writes:
>>> Just for the record, the suggested env var fix
>>>
>>> RCS_MEM_LIMIT=0
>>>
>>> to "force stdio" does not work for me, but the
>>
>>That was never suggested as a fix, but to show that the problem occurs
>>with files much less than 256kiB size when forcing the code path through
>>stdio (which is what the "0" setting does).  The RCS test suite passes
>>on Cygwin since it never actively tests this code path.
>>
>>http://thread.gmane.org/gmane.os.cygwin/142346
>>
>>> RCS_MEM_LIMIT=10240
>>>
>>> to allow 10megs of diffs does..
>>
>>Which will fail once you happen upon a diff that gets that large.
>>
>
> Ah, OK -- I was just looking for a fix or workaround and didn't read
> what the "=0" was supposed to do closely enough.
>
> I can't see ever getting up to 10M of diffs, but still I consider
> it an "existential" level bug for a version control system and think
> the package should be removed.  It's almost as bad as if "ls -l foo"
> unlinked "foo".
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Updated Cygwin yesterday, makewhatis is not present on my system

2014-07-01 Thread Keith Christian
Yesterday, I updated my Cygwin install.  I run "makewhatis" after
every Cygwin update, and it's not there.  "whatis" works, curious how
its database is created and where it is stored.

Has "makewhatis" been superseded by something else?  Didn't find any
references in the mailing list.

Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Updated Cygwin yesterday, makewhatis is not present on my system

2014-07-01 Thread Keith Christian
Chris,

So (I'm talking to you as if you are the maintainer of man-db(are
you?)) mandb sounds like the man system Debian uses, where (at least a
few years ago) the whatis database is created by invoking "mandb -C."

Testing this - "mandb" alone creates the databases, even though there
is a "-c" argument to"mandb," which I am running at this moment.
"mandb -c" is emitting errors as it runs, "can't open," "bad symlink,"
"whatis parse for xx failed," etc.

Ok, I think I have figured it out.  Will the now unnecessary files
created by "makewhatis" be purged or overwritten by mandb?

Keith

On Tue, Jul 1, 2014 at 1:26 PM, Chris J. Breisch  wrote:
> Keith Christian wrote:
>>
>> Yesterday, I updated my Cygwin install.  I run "makewhatis" after
>> every Cygwin update, and it's not there.  "whatis" works, curious how
>> its database is created and where it is stored.
>>
>> Has "makewhatis" been superseded by something else?  Didn't find any
>> references in the mailing list.
>>
>> Keith
>>
>
> man has been replaced by man-db, which does not have a makewhatis.
>
> mandb -q has similar functionality.
>
>
> --
> Chris J. Breisch
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Updated Cygwin yesterday, makewhatis is not present on my system

2014-07-02 Thread Keith Christian
Chris,

What is the path and filespec of the (now un-needed) files created by
"makewhatis" for curiosity's sake?

Keith

On Wed, Jul 2, 2014 at 6:04 AM, Chris J. Breisch  wrote:
> Keith Christian wrote:
>>
>> Chris,
>>
>> So (I'm talking to you as if you are the maintainer of man-db(are
>> you?)) mandb sounds like the man system Debian uses, where (at least a
>> few years ago) the whatis database is created by invoking "mandb -C."
>>
>> Testing this - "mandb" alone creates the databases, even though there
>> is a "-c" argument to"mandb," which I am running at this moment.
>> "mandb -c" is emitting errors as it runs, "can't open," "bad symlink,"
>> "whatis parse for xx failed," etc.
>>
>> Ok, I think I have figured it out.  Will the now unnecessary files
>> created by "makewhatis" be purged or overwritten by mandb?
>>
>> Keith
>>
>
> Yes, I'm the maintainer.
>
> mandb -c creates the database, and will generate warnings. You likely
> already had a database created though, as that's handled when you install
> mandb.
>
> mandb without any arguments updates the database, and mandb -q updates it
> quietly.
>
> Oh, that's a good question about the unnecessary files. I should add that
> cleanup to the install scripts, since it obsoletes man.
>
>
>
>
>
>
> --
> Chris J. Breisch
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Gold star Re: [ANNOUNCEMENT] Updated: rcs-5.9.2

2014-07-06 Thread Keith Christian
I use RCS every work day, it's a small, fast, flexible productivity
tool, sometimes with a timed loop to save rapid editing sessions when
I'm brainstorming.maybe that edit a few hours ago was worth saving
after all, and with RCS I can get it back.

Thank you for updating it and becoming its new maintainer.

On Fri, Jul 4, 2014 at 8:18 AM, Andrew Schulman  wrote:
>> On Thu, Jul 03, 2014 at 07:59:42PM +0200, Achim Gratz wrote:
>> >This release brings RCS to version 5.9.2 for both architectures and
>> >includes a patch for the RCS work file corruption problem that has been
>> >discussed on the Cygwin mailing list and reported to rcs-bugs:
>>
>> Could we get a gold star for Achim here?  He's fixed a long-standing
>> problem in RCS and taken over maintainership.
>>
>> Thanks Achim.
>
> Awarded!  http://cygwin.com/goldstars/#AG
>
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Shouldn't 'man' depend on 'col'? Shouldn't 'col' be easier to find?

2014-07-09 Thread Keith Christian
There are other packages that require a bit of time post-install, such
as the texlive package.  Having the man-db package update the DB
immediately after install sounds like a good idea, even if it takes a
few minutes.

Else, end users that aren't familiar with re-creating the DB may be
discouraged at not finding something in the man pages.

That, or else use a non-blocking method of printing a message with the
DB creation command line.

On Tue, Jul 8, 2014 at 6:29 PM, Chris J. Breisch  wrote:
> At Tuesday, July 8, 2014, 8:16:41 PM, Yaakov Selkowitz wrote:
>
>> On 2014-07-08 18:01, Chris J. Breisch wrote:
>>> At Tuesday, July 8, 2014, 12:15:22 PM, Marco Atzeri wrote:
 On 08/07/2014 17:47, Jack Duthen wrote:
 util-linux is a popular package, so the issue was not yet noticed.
>>>
 man was recently changed, so this dependency was likely missed,
 specially as it seems hidden inside the man binary.
>>>
>>> Yes,  this is true. I'll add it. I'm collecting a few things together,
>
>> Careful: right now util-linux requires: perl, so people will complain if
>> it gets pulled as is.  I'll attempt to address this soon.
>
> Yes, I just noticed that.
>
>>> and trying to get the DB creation to work a little faster as well.
>
>> That would be good, but there are some additional issues which make me
>> think we should drop this from postinstall.
>
>
> I think I'm okay with that.
>
> --
>  Chris J. Breisch
>
>
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [ANNOUNCEMENT] Updated: man-db-2.6.7-2

2014-08-15 Thread Keith Christian
Suppose a makefile or similar for this issue, would handle only man
pages that have changed since the last update:


The TL;DR version of the issue is that compilation of database is slow and
prone to fail, plus the database should be re-indexed each time a page is
added, removed or changed.
If Cygwin do this only at man-db postinstall, the database WILL go out of
reality pretty soon.


Keith

On Fri, Aug 15, 2014 at 6:05 PM, Andrey Repin  wrote:
> Greetings, Michael DePaulo!
>
>
> This release removes the cache database generation from the postinstall
> step
> due to its often excessive length.  Users will need to manage the
> database
> themselves with mandb(1) in order to use whatis/apropos(1).


 IMHO, this sounds like a serious decrease in Cygwin's usability.

 How do Linux distributions handle this? Linux distros install many
 more packages by default, so doesn't their cache database generation
 typically take much longer?
>>>
>>>
>>> Exactly why they don't seem to do it during postinstall either.  For
>>> example, in Fedora this is handled by a cron job.  A future release may add
>>> that functionality, but it is clear that postinstall is the wrong place for
>>> it.
>
>> I disagree, but I need to read more about the subject in order to have
>> a well-informed opinion.
>
> The TL;DR version of the issue is that compilation of database is slow and
> prone to fail, plus the database should be re-indexed each time a page is
> added, removed or changed.
> If Cygwin do this only at man-db postinstall, the database WILL go out of
> reality pretty soon.
>
 Also, should documentation (or perhaps the info a user sees when they
 start Cygwin for the 1st time) be updated?
>>>
>>>
>>> How so?
>>>
>>> Yaakov
>
>> Consider the example of where I work. After I install the corporate IT
>> department's SCCM "package"/"script" for Cygwin (1.7.16, last updated
>> August 2012), I am greeted by this message every time I start the
>> Cygwin Terminal:
>> 
>> Your group is currently "mkpasswd".  This indicates that your
>> gid is not in /etc/group and your uid is not in /etc/passwd.
>
> This is about to change in a short while.
>
>> I am not suggesting that users see a mandb message every time they
>> launch cygwin.
>
> This could be resolved in a more graceful way. I.e. motd/fortune/etc.
>
>> But I am suggesting that that users see it when they
>> 1st launch cygwin. They already see this message:
>> 
>> Copying skeleton files.
>> These files are for the users to personalise their cygwin experience.
>
>> They will never be overwritten nor automatically updated.
>
> Users will only see this message, if the $HOME directory is created anew.
> I, for one, do not see a reason to keep Cygwin users' $HOMEs separate from a
> system %USERPROFILE%.
>
>> Also, users who are particularly reliant on the apropos command
>> probably don't know about running the mandb command. It's analogous to
>> users launching the Windows "Help and Support" Center, but its search
>> bar returning 0 results they haven't run another utility 1st.
>
> That's an issue worth resolving. We just need to find a way to do it in a
> non-abusive fashion.
>
>
> --
> WBR,
> Andrey Repin (anrdae...@yandex.ru) 16.08.2014, <03:57>
>
> Sorry for my terrible english...
>
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Vista - postgresql 8.2.11 - won't start, psql FATAL role does not exist

2009-01-27 Thread Keith Christian
On Tue, Jan 27, 2009 at 6:58 AM, Reini Urban  wrote:
> Keith Christian schrieb:
>>
>> I'd like to get PostgreSQL running on my Vista machine.
>>
>> I've been following the "impatient" instructions at the end of
>> /usr/share/doc/Cygwin/postgresql-8.2.11.README as shown below:
>>
>>
>> 1  Installation:
>> 2
>> 3  For the impatient: install as service (hard)
>
> hard is really "hard"
>
>> 4
>> 5  # save old database (optional)
>> 6  pg_dumpall -g /tmp/$$pgdump-globals.sql
>> 7  pg_dumpall > /tmp/$$pgdump.sql
>> 8  # adjust the settings in /etc/rc.d/init.d/postgresql
>> 9  nano /etc/rc.d/init.d/postgresql
>>10  sysbash # /etc/rc.d/init.d/postgresql initdb
>>11  /etc/rc.d/init.d/postgresql install
>>12  /etc/rc.d/init.d/postgresql start

>> ## (Line 9 above) - What settings should be adjusted in
>> /etc/rc.d/init.d/postgresql for a starting Cygwin installation???
>
> PGDATA, POSTMASTER_ARGS or INITDB_ARGS could be adjusted.

So, on a typical Cygwin installation, would any of the three above
arguments have to be changed?  I'd be accessing PostgreSQL from a
local BASH shell initially.



> So your running it as keith.
> Add the db and role keith.
>
> $ createdb keith
> $ createuser -S -R -d keith


Thanks, Rene - here is what I've tried so far:

1 --- The "createdb keith" command didn't work, so I didn't proceed
with "createuser -S -R -d keith."

Tue Jan 27 06:39:59 (ke...@tycho) ~>createdb keith
createdb: could not connect to database postgres: FATAL:  role "keith"
does not exist


2 --- I found a sysbash script here:
wget "http://www.cygwin.com/ml/cygwin/2003-09/msg01860/sysbash";

The sysbash script reported an error on line 40.  I'll see if there is
an updated version somewhere.  The one downloaded with wget has a
datestamp of Sep. 30, 2003.

Tue Jan 27 07:09:30 (ke...@tycho) ~>./sysbash
./sysbash: line 40: 09: value too great for base (error token is "09")
Warning: Due to security enhancements, this task will run at the time
expected but not interactively.
Use schtasks.exe utility if interactive task is required ('schtasks /?'
for details).
Added a new job with job ID = 1
Status ID   Day Time  Command Line
---
1   Tomorrow7:09 AM   cmd /c
"C:\cygwin\bin\bash --login -i"
at id-number /delete # <- this will remove a badly set job


I know that you didn't write the sysbash script, it's unclear how to
access the SYSTEM session that's supposed to run.

Thanks for your assistance, I'll resume this tonight or tomorrow when
I have more time.

==Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Unable to mount .iso file

2009-03-10 Thread Keith Christian
Running the following version of Cygwin:

uname -a
CYGWIN_NT-5.1 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin


I have some RHEL4 .iso's on a Windows fileshare, I want to find out
which CD a particular .RPM is on.

I've tried the following mount command and it fails:

mount -t iso9660 -o,loop ./RHEL4-U5-x86_64-WS-disc1.iso /media
mount: invalid option - ''

Any ideas appreciated.

==Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Is there a script to remove old packages from local disk

2009-06-16 Thread Keith Christian
Has anyone written a script that will remove older .bz2 files in the
release/ directory on local drives, e.g.

release/bash/bash-3.2.25-17.tar.bz2
release/bash/bash-3.2.33-18.tar.bz2
release/bash/bash-3.2.39-19.tar.bz2
release/bash/bash-3.2.39-20.tar.bz2
release/bash/bash-3.2.48-21.tar.bz2

Perhaps delete:

bash-3.2.25-17
bash-3.2.33-18
bash-3.2.39-19

and keeping the two most recent updates.

Thanks in advance.

===Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Is there a script to remove old packages from local disk

2009-06-17 Thread Keith Christian
On Wed, Jun 17, 2009 at 4:34 AM, Fergus wrote:
> #! /bin/sh
> #  clean
> cat "$1setup.ini" | sed -n '/release\//p' | sed 's/^.*release\///g' |\

I used Fergus' script referenced above, with the "safety feature" of
executing "setup.4" independently, as the search and destroy
mechanism.  I like this approach, try before you, er, um, "buy."

I saved the script in the "release/" directory and invoked thusly:

bash ./clean_cygwin.sh

Worked like a champ.  Anyone fearing that changes to setup.exe might
be asked for, forget it.  (-:  (-:

My "release/" directory was trimmed by 301mb, from 1000mb to 699mb!
That's well worth it.

Thanks, Fergus.


===Keith

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [1.7] Postgresql service uninstall bug

2009-07-31 Thread Keith Christian
On Fri, Jul 31, 2009 at 7:08 AM, Reini Urban wrote:
> Fixed for 8.4.0-1 which is currently in test and will be released shortly.
> --
> Reini Urban
> http://phpwiki.org/           http://murbreak.at/

Great, I'm looking forward to being able to use PostgreSQL again on XP
and Vista as soon as 1.7 is declared stable.

How is the candidate 8.4.0-1 release for ease of installation /
configuration and stability on XP and VIsta so far?

===Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Cygwin 1.7 ssh and window size

2009-09-04 Thread Keith Christian
On Fri, Sep 4, 2009 at 8:14 AM, Christopher
Faylor wrote:
> On Sun, Aug 30, 2009 at 11:05:58PM -0700, Karl M wrote:
>>My first email had a cygcheck and the following steps to reproduce the
>>symptoms.

Try PuTTYcyg, which I've used for over two years, it's excellent.:
http://code.google.com/p/puttycyg/.

Since you're using Cygwin 1.7, see the note on the page in the URL
about trying the Beta version of PuTTYcyg.


==Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: How to replace default bash window with rxvt / bash shell?

2008-08-08 Thread Keith Christian
Lisa,

PuTTY, the excellent freeware terminal emulator, has a patched version that 
works excellently with Cygwin.  I used RXVT before finding PuTTY, but now use 
PuTTY exclusively with Cygwin.

PuTTY has no tabbed interface (yet) but there is a fork of PuTTY, called KiTTY, 
which supports tabs and reportedly runs under Cygwin.

PuTTY is available here:
http://code.google.com/p/puttycyg/

KiTTY's home page is here:
http://www.9bis.net/kitty/?page=Welcome&zone=en

KiTTY add-ons so that it works with Cytgwin are here:
http://www.9bis.net/kitty/?page=PuTTYCyg&zone=en


===Keith



--- On Fri, 8/8/08, CheapLisa <[EMAIL PROTECTED]> wrote:

> From: CheapLisa <[EMAIL PROTECTED]>
> Subject: How to replace default bash window with rxvt / bash shell?
> To: cygwin@cygwin.com
> Date: Friday, August 8, 2008, 11:18 AM
> I want to replace the default cygwin bash window with
> something where I can
> have multiple tabs
> or tab like features.  I do not know of any command line
> commando that would
> not want this feature
> and hope that in the future something else would be
> provided by default.
> 
> It looks like the best combination is "rxvt" and
> "screen" used together.
> 
> So I was able to crate an rxvt.bat file and create a short
> cut to it (icon
> on desktop)
> but when it launches it is not the bash shell nor is it a
> login shell.
> 
> When I do $echo $SHELL, I get /bin/sh and when I type
> $alias, I get nothing
> so it has not sourced my environment config files.
> 
> ---
> How do I create a .bat file that launches rxvt with screen
> and makes all
> future
> shells bash and all of them login shell?
> 
>  -ls & +ls do nothing.  I have already read the man
> page on rxvt
>  
> --- my current rxvt.bat
>  @echo off
> 
>  C:
>  chdir C:\cygwin\bin
> 
>  rem bash --login -i -e ./term
>  rxvt -e screen
>  
> 
>  
>  
>  Also when running the screen command I always get some
> text and then
> instructions
>  to press the spacebar/or enter.  That is very nice but how
> is this
> surpressed?
>  
> =>  This gets displayed and is very nice to read but
> after the 22nd time I
> have it memorized and would like to supress it.
> 
>  Screen version 4.00.03 (FAU) 23-Oct-06
> 
> Copyright (c) 1993-2002 Juergen Weigert, Michael Schroeder
> Copyright (c) 1987 Oliver Laumann
> 
> This program is free software; you can redistribute it
> and/or modify it
> under
> the terms of the GNU General Public License as published by
> the Free
> Software
> Foundation; either version 2, or (at your option) any later
> version.
> 
> This program is distributed in the hope that it will be
> useful, but WITHOUT
> ANY WARRANTY; without even the implied warranty of
> MERCHANTABILITY or
> FITNESS
> FOR A PARTICULAR PURPOSE. See the GNU General Public
> License for more
> details.
> 
> You should have received a copy of the GNU General Public
> License along with
> this program (see the file COPYING); if not, write to the
> Free Software
> Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 
> 02111-1307, USA.
> 
> Send bugreports, fixes, enhancements, t-shirts, money, beer
> & pizza to
> [EMAIL PROTECTED]
> 
> 
> [Press Space or Return to end.]v
> 
> -- 
> View this message in context:
> http://www.nabble.com/How-to-replace-default-bash-window-with-rxvt---bash-shell--tp18895814p18895814.html
> Sent from the Cygwin list mailing list archive at
> Nabble.com.
> 
> 
> --
> Unsubscribe info: 
> http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Anyone want to be the "expect" package maintainer?

2008-08-16 Thread Keith Christian
I've used Cygwin's expect for a couple of years in sporadic automation and it 
works well.

One thing that is useful and which is missing from the Cygwin package is the 
"autoexpect" program, which I copied from the source tarball.

There is nothing that appears massively broken, so it should be easy for 
whomever becomes the next maintainer.

Keith


--- On Sat, 8/16/08, Eric Blake <[EMAIL PROTECTED]> wrote:

> From: Eric Blake <[EMAIL PROTECTED]>
> Subject: Re: Anyone want to be the "expect" package maintainer?
> To: cygwin@cygwin.com
> Date: Saturday, August 16, 2008, 1:46 PM
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> According to Christopher Faylor on 8/15/2008 11:11 AM:
> > I haven't updated the expect package in many
> years.  It used to be based
> > on a hacked version of expect from the sourceware.org
> src repository but
> > that version has disappeared.  I asked the person
> responsible for the
> > disappearance if they would like to become the new
> package maintainer
> > for Cygwin and they said yes but that never
> materialized.
> > 
> > The definitive sources for expect are here:
> http://expect.nist.gov/ .
> 
> I can at least give it a shot, since the findutils
> testsuite uses expect.
>  I'll see what I can do with it this coming week,
> although I'm not very
> fluent in tcl.
> 
> - --
> Don't work too hard, make some time for fun as well!
> 
> Eric Blake [EMAIL PROTECTED]
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.9 (Cygwin)
> Comment: Public key at
> home.comcast.net/~ericblake/eblake.gpg
> Comment: Using GnuPG with Mozilla -
> http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkinLosACgkQ84KuGfSFAYA9aQCeJBeKA0tn3s6tuwEBTZZSNcxk
> D2kAn1grDmq0TVCG97ru37e3GEpT97DU
> =bogp
> -END PGP SIGNATURE-
> 
> --
> Unsubscribe info: 
> http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Unable to load dynamic library '/usr/lib/php/20121212/tidy.dll'

2014-08-29 Thread Keith Christian
While test driving the new php-5.5.16-1, I checked the version and got
the tidy.dll error:

php -v
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php/20121212/tidy.dll' - No such process in Unknown on line
0
PHP 5.5.16 (cli) (built: Aug 24 2014 14:16:15)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies

Probably a minor bug to fix.

Glad to see PHP on Cygwin.  Thanks for your work on this, Yaakov.

== Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Unable to load dynamic library '/usr/lib/php/20121212/tidy.dll'

2014-08-29 Thread Keith Christian
Forgot to mention that the error occurs even though the file exists:

ls -dl /usr/lib/php/20121212/tidy.dll
-rwxr-xr-x 1 kchristian Domain Users 45095 Aug 24 13:31
/usr/lib/php/20121212/tidy.dll

On Fri, Aug 29, 2014 at 8:18 PM, Keith Christian
 wrote:
> While test driving the new php-5.5.16-1, I checked the version and got
> the tidy.dll error:
>
> php -v
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/lib/php/20121212/tidy.dll' - No such process in Unknown on line
> 0
> PHP 5.5.16 (cli) (built: Aug 24 2014 14:16:15)
> Copyright (c) 1997-2014 The PHP Group
> Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
> with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend 
> Technologies
>
> Probably a minor bug to fix.
>
> Glad to see PHP on Cygwin.  Thanks for your work on this, Yaakov.
>
> == Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Unable to load dynamic library '/usr/lib/php/20121212/tidy.dll'

2014-08-30 Thread Keith Christian
File says this:

file /usr/lib/php/20121212/tidy.dll
/usr/lib/php/20121212/tidy.dll: PE32 executable (DLL) (console) Intel
80386, for MS Windows

Keith

On Fri, Aug 29, 2014 at 11:25 PM, Andrey Repin  wrote:
> Greetings, Keith Christian!
>
>> Forgot to mention that the error occurs even though the file exists:
>
>> ls -dl /usr/lib/php/20121212/tidy.dll
>> -rwxr-xr-x 1 kchristian Domain Users 45095 Aug 24 13:31
>> /usr/lib/php/20121212/tidy.dll
>
> What
>
>   file /usr/lib/php/20121212/tidy.dll
>
> says about it?
>
>> On Fri, Aug 29, 2014 at 8:18 PM, Keith Christian
>>  wrote:
>>> While test driving the new php-5.5.16-1, I checked the version and got
>>> the tidy.dll error:
>>>
>>> php -v
>>> PHP Warning:  PHP Startup: Unable to load dynamic library
>>> '/usr/lib/php/20121212/tidy.dll' - No such process in Unknown on line
>>> 0
>>> PHP 5.5.16 (cli) (built: Aug 24 2014 14:16:15)
>>> Copyright (c) 1997-2014 The PHP Group
>>> Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
>>> with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend 
>>> Technologies
>>>
>>> Probably a minor bug to fix.
>>>
>>> Glad to see PHP on Cygwin.  Thanks for your work on this, Yaakov.
>>>
>>> == Keith
>
>
> --
> WBR,
> Andrey Repin (anrdae...@yandex.ru) 30.08.2014, <09:25>
>
> Sorry for my terrible english...
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Unable to load dynamic library '/usr/lib/php/20121212/tidy.dll'

2014-09-17 Thread Keith Christian
Yaakov, that fixed the problem.  Thanks for the hint.

On Sun, Aug 31, 2014 at 12:06 AM, Yaakov Selkowitz
 wrote:
> On 2014-08-29 21:18, Keith Christian wrote:
>>
>> While test driving the new php-5.5.16-1, I checked the version and got
>> the tidy.dll error:
>>
>> php -v
>> PHP Warning:  PHP Startup: Unable to load dynamic library
>> '/usr/lib/php/20121212/tidy.dll' - No such process in Unknown on line
>
>
> This sounds like you are missing libtidy0_99_0.  Please re-run setup and
> allow it to install all missing dependencies.
>
>
> Yaakov
>
>
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Direct/efficient way to chop off trailing \n

2014-10-01 Thread Keith Christian
This function echoes the present directory to the clipboard, so that I
don't have to enter the path manually.

I use this function in a script that sources when a bash shell is
started.  Also echoes the path to the terminal for verification.
Handy for pasting directly into windows file dialogs.

function xx() {
DESCRIPTION="Copy the Windows drive/path/filename to the clipboard"
cygpath -w "`pwd`"|tr -d "\012"|sed -e
's/$/\\/'|putclip;echo;getclip;echo
}

On Wed, Oct 1, 2014 at 4:50 PM, Jim Garrison  wrote:
> On 10/1/2014 2:52 PM, Paul.Domaskis wrote:
>> Running bash in a Windows environment, I often find the need to
>> generate a full Windows path to a file so that I can access the file
>> from a Windows app.
> [snip]
>>... but it does remove the trailing \n which chokes up
>> Windows.
>
> Sounds like cygpath needs a "-n" option which eliminates the
> trailing newline.
>
>
> --
> Jim Garrison (j...@acm.org)
> PGP Keys at http://www.jhmg.net RSA 0x04B73B7F DH 0x70738D88
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Direct/efficient way to chop off trailing \n

2014-10-01 Thread Keith Christian
Looks like the cygpath line was broken in two, and the closing brace
isn't visibile when reading in Gmail.

Readers take note of that.

On Wed, Oct 1, 2014 at 4:54 PM, Keith Christian
 wrote:
> This function echoes the present directory to the clipboard, so that I
> don't have to enter the path manually.
>
> I use this function in a script that sources when a bash shell is
> started.  Also echoes the path to the terminal for verification.
> Handy for pasting directly into windows file dialogs.
>
> function xx() {
> DESCRIPTION="Copy the Windows drive/path/filename to the clipboard"
> cygpath -w "`pwd`"|tr -d "\012"|sed -e
> 's/$/\\/'|putclip;echo;getclip;echo
> }
>
> On Wed, Oct 1, 2014 at 4:50 PM, Jim Garrison  wrote:
>> On 10/1/2014 2:52 PM, Paul.Domaskis wrote:
>>> Running bash in a Windows environment, I often find the need to
>>> generate a full Windows path to a file so that I can access the file
>>> from a Windows app.
>> [snip]
>>>... but it does remove the trailing \n which chokes up
>>> Windows.
>>
>> Sounds like cygpath needs a "-n" option which eliminates the
>> trailing newline.
>>
>>
>> --
>> Jim Garrison (j...@acm.org)
>> PGP Keys at http://www.jhmg.net RSA 0x04B73B7F DH 0x70738D88
>>
>> --
>> Problem reports:   http://cygwin.com/problems.html
>> FAQ:   http://cygwin.com/faq/
>> Documentation: http://cygwin.com/docs.html
>> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Direct/efficient way to chop off trailing \n

2014-10-02 Thread Keith Christian
You're welcome, Paul.  But I see some streamlining that could be done
since I wrote that xx() alias long ago.  I do like Barry's "cygpath
-aw foo/bar | putclip -d" as it likely runs faster.

On Thu, Oct 2, 2014 at 12:20 PM, Paul.Domaskis  wrote:
> Keith Christian wrote:
>> This function echoes the present directory to the clipboard, so that
>> I don't have to enter the path manually.
>>
>> I use this function in a script that sources when a bash shell is
>> started.  Also echoes the path to the terminal for verification.
>> Handy for pasting directly into windows file dialogs.
>>
>> function xx() {
>> DESCRIPTION="Copy the Windows drive/path/filename to the
> clipboard"
>> cygpath -w "`pwd`"|tr -d "\012"|sed -e
>> 's/$/\\/'|putclip;echo;getclip;echo
>> }
>
> Thanks, Keith.  I think it will be educational for me just to figure
> this out.
>
> Andrey Repin wrote:
>> Most people either use Cygwin tools in isolation, or use Cygwin
>> tools from Windows tools.  The opposite is rare, and mostly boils
>> down to scripting, where you naturally use $(cygpath ...) to produce
>> desired results.
>
> Which I find odd. If you like bash, then that's going to be your
> explorer, and I am *never* able to work exclusively in cygwin.
>
> I suppose you can always use cygstart to launch app files
> or executables, but Windows can be very inconsistent at times.  I
> never know when cygstart will launch a new instance of an
> already-running app.  Also, I often encounter the need to specify a
> file location but not emulate a double-click on that file.
>
>>> So I can see why such a [\n chopping] switch has never been
>>> developed.  It's probably only needed for cygwin users, as it is
>>> the *unixy crowd that uses both Windows & *nix at the same time.
>>
>> The cygpath tool is Cygwin specific :) So there's no contradiction
>> to your words.
>
> Yeah, I suppose that was a circular truth.  I should have said that
> outside of cygwin, few people need to operate in both the POSIX and
> Windows world at the same time.  I guess those cases would be the ones
> in which cygpath is used, and those are also the cases in which it
> would be handy to have \n chopping capability built in to cygpath.
>
> Eliot Moss wrote:
>> You could write my solution as:
>>
>> echo -n `cygpath -aw foo`>/dev/clipboard
>>
>> though the ` (backtick) notation is deprecated these
>> days and $(...) is described as preferred.  But for many
>> little things like these I write bash functions (or
>> aliases, when they work, which they don't here).
>
> Yeah, it's from decades ago, when I started dabbling in unix.
>
>> The echo solution has the good property that echo is
>> a shell built-in and so does not require spawning
>> another process.  You had complained about speed, so
>> even though the echo approach does not seem to top
>> you list for elegance, it might for performance
>
> Eric Blake wrote:
>> The same is true of printf.
>
> I don't care about the computational speed, I probably won't notice
> any difference.  I care about reducing it to the simplest sequence of
> actions for the user, not only in terms of keystrokes, but also the
> cognitive simplicity of the code (which is pretty subjective, I know).
> I will give you code idiom a try.  Thanks.
>
> Eric Blake wrote:
>> 'echo -n' is not portable (in fact, you can disable it in bash, and
>> it may misbehave if cygpath outputs a leading - or contains any \);
>> it's better to use 'printf' for that purpose:
>>
>> printf %s `cygpath -aw foo`>/dev/clipboard
>
> A new bash command of which I was not aware.  Thanks!
>
> Buchbinder, Barry wrote:
>> Converting \n line endings to \r\n might work for you when you paste
>> into a Windows app.  It does for me.
>>
>> cygpath -aw foo/bar | putclip -d
>
> This is awesome!  Even better than
>
>cygpath -aw foo/bar | unix2dos > /dev/clipboard
>
> Thanks a million!!!
>
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.33-0.1

2014-10-24 Thread Keith Christian
Here's a function for you Andrey, in appreciation for all the work you
contribute to Cygwin:


type uname_r
uname_r is a function


uname_r ()
{
uname -r | sed -e 's/[.(/\)]/_/g' | sed -e 's/\(.*\)\(_$\)/\1/'
}


uname_r
1_7_32_0_274_5_3



On Fri, Oct 24, 2014 at 10:20 AM, Andrey Repin  wrote:
> Greetings, Corinna Vinschen!
>
>> For your convenience I wrote new documentation.  Since this is a TEST
>> prerelease, the new documentation is not part of the official docs yet.
>> Rather have a look at
>
>>   https://cygwin.com/preliminary-ntsec.html
>
> "via an undocumented APIr " should be "... API, " probably.
>
>> If you read it
>> (which I seriously hope for) and it's all just incomprehensible
>> gobbledygook to you, please say so on the mailing list
>
>>   cygwin AT cygwin DOT com
>
>> so we have a chance to improve the documentation.
>
> I'm in the process of reading it. Goes slowly, but that's due to my head
> condition. It really a very good read, thank you.
>
>> - /proc/cygdrive is a new symlink pointing to the current cygdrive prefix.
>>   This can be utilized in scripts to access paths via cygdrive prefix, even
>>   if the cygdrive prefix has been changed by the user.
>
> Hm. The prefix currently set to just "/".
>
> $ ls -l /proc/cygdrive
> lrwxrwxrwx 1 anrdaemon None 0 Oct 24 20:17 /proc/cygdrive -> /proc/cygdrive
>
> $ ls -l /proc/cygdrive/
> ls: cannot access /proc/cygdrive/: Not a directory
>
> Is this... normal?
> Or what this is supposed to be at all? Shouldn't it be a simple text file
> containing current cygdrive prefix?
>
>> - /proc/partitions now prints the windows mount points the device is mounted
>>   on.  This allows to recognize the underlying Windows devices of the Cygwin
>>   raw device names.
>
> $ cat /proc/partitions
> major minor  #blocks  name   win-mounts
>
> 8 0  78150744 sda
> 8 1  78149688 sda1   C:\dev\sdb1\
> 816  78150744 sdb
> 817102400 sdb1
> 818131072 sdb2
> 819  77916160 sdb3   C:\
> 832 488386584 sdc
> 833 486615520 sdc1   C:\dev\sdb1\dev\sdc1\ C:\dev\sdb1\d\ C:\dev\sdc1\
> 848 312571224 sdd
> 849 312568641 sdd1   C:\dev\sdb1\dev\sdd1\ C:\dev\sdd1\
> 864 0 sde
> 880 0 sdf
> 896 0 sdg
> 8   112 0 sdh
>
> I approve of this product and/or service.
> I would use a mountvol data around here somewhere, too. But it's useful as it
> is already.
>
>> - New API: quotactl, designed after the Linux/BSD function, but severly
> severely? I'm no expert, but that's probably the right form.
>
> A slightly unrelated request, but... I just had an issue I could prevent if
> applying brain to hands, but... would it be a feasible request to make the
> output of 'uname -r' suitable for naming a file?
>
>
> --
> WBR,
> Andrey Repin (anrdae...@yandex.ru) 24.10.2014, <19:51>
>
> Sorry for my terrible english...
>
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.33-0.1

2014-10-25 Thread Keith Christian
Thank you, Eric.  Will have to remember the semicolon to combine two
sed commands vs. trying to use "-e" which did not ever work properly
for me.  I knew there must have been a better way to combine sed
commands!

On Fri, Oct 24, 2014 at 11:57 AM, Eric Blake  wrote:
> On 10/24/2014 11:28 AM, Keith Christian wrote:
>> uname_r ()
>> {
>> uname -r | sed -e 's/[.(/\)]/_/g' | sed -e 's/\(.*\)\(_$\)/\1/'
>> }
>
> Or for one less fork and less typing:
>
> uname_r ()
> {
>   uname -r | sed 's/[.(/\)]/_/g; s/_$//'
> }
>
> --
> Eric Blake   eblake redhat com+1-919-301-3266
> Libvirt virtualization library http://libvirt.org
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [REQUEST] Please upgrade irssi (0.8.17)

2014-10-26 Thread Keith Christian
I use irssi and consider it a really good IRC client.  An update would
be nice when the maintainer has the interest and the time.

Keith

On Sat, Oct 25, 2014 at 11:59 PM, Alive  wrote:
> On 10/26/2014 2:23 AM, Marco Atzeri wrote:
>> On 10/25/2014 8:35 PM, Alive wrote:
>>> Does anyone use irssi on cygwin?
>>>
>>> It seems that irssi package is never upgraded.
>>>
>>> Latest version is 0.8.17. It released on Oct 11 and still no package
>>> upgrade after two weeks (skipping 0.8.16 which is missed a long way ago).
>>>
>>> I don't expect irssi package maintainers to abandon their duty and be
>>> irresponsible after volunteering themselves as package maintainers.
>>
>> cool down, please. "irresponsible" is a strong comment.
>>
>> irssi was not upgraded upstream for years so probably
>> it is not on top of Kostya's list, assuming he has
>> spare time to dedicate and he is still around.
>>
>> Regards
>> Marco
>
> Apologize for my rudeness.
>
> My point here is for Cygwin packages to catch up with upstream releases,
> if possible make it as fast as how Archlinux adopts a new upstream
> release, so that Cygwin users will benefit from developments done by
> upstream.
>
> I think it's a good idea to keep Cygwin packages in sync with upstream
> release.
>
> To achieve it, package maintainers should have a way to know as soon as
> a new upstream release is available, such as subscribing to the upstream
> mailing list for a new package release announcement.
>
> By doing this, they can make a test package as soon as a new upstream
> release is available and release the package after test package has been
> free of serious bug.
>
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Can't Run Excel From A Cron Job Under Windows 7

2014-11-12 Thread Keith Christian
Denis,

If Excel is starting a macro in the worksheet, it might be worth
adding some logging to the visual basic code.  Perhaps try this in
your Excel macro code if that is where the processing is taking place:



'--- Set up variables near the top of your macro.
'---   (Check whether you want the macro to set the current directory
(ChDir strPath) to that of the workbook.)
strPath = ThisWorkbook.Path
ChDir strPath
strLogFilename = strPath & "\" & "loggingfile.txt"


'--- Insert this block at various areas in the macro code
'--- Helps ensure logfile isn't discarded during a hang by
'---   using "Append" mode and flushing/closing immediately after
messages is written.
Open strLogFilename For Append As #2
strLogMessage = Now & "  " & "Current directory is " & strPath
Print #2, strLogMessage
Close #2



Keith


On Wed, Nov 12, 2014 at 9:20 AM, Kertz, Denis (D)** CTR **
 wrote:
>>> An excel program is run like this:
>>
>>> run.excel  'c:\Shared\Bin\Create_Daily_Scorecard.xls'
>>
>>> When I run an Excel program interactively with this run.excel script it
>>> runs just fine but when I run it via a cron job Excel just hangs.
>>
>> Define "runs fine" please?
>> What exactly that excel script is doing?
>
> This run.excel script simply starts up Excel with the .xls file it is given.  
> In this example Excel opens c:\Shared\Bin\Create_Daily_Scorecard.xls.  This 
> .xls has a Workbook_Open macro, which is automatically run whenever this .xls 
> is opened, that reads some data files and creates another .xls as its output.
>
> What I mean by runs fine is that when I type this command at a bash prompt:
> run.excel  'c:\Shared\Bin\Create_Daily_Scorecard.xls'
> it runs to completion and creates a new .xls as its output.  When I run this 
> run.excel script from a cron job it hangs.
>
>>> When Excel hangs I can look at the processes running on the PC using the
>>> Windows Task Manager and I don't see the EXCEL.EXE process.  But when I
>>> check the option to show processes from all users I see the hung EXCEL.EXE
>>> process, AND the user name displayed is my login.  So I am running this 
>>> under the
>>> Upar2 login and Task Manager doesn't display EXCEL.EXE as a Upar2 process
>>> but when I check 'Show processes from all users' it shows EXCEL.EXE running
>>> under user name Upar2 - a contradiction.
>>
>> Task manager display processes started in your current session.
>> Not processes started under your credentials. That's an important difference.
>
> Then this is just a difference between WinXP and Win7?  Under WinXP it shows 
> EXCEL.EXE in my process list even when the "Show processes from all users" 
> isn't checked.
>
>>> What I suspect is happening is Excel is attempting to do something that
>>> requires Upar2 permission but it isn't really running as Upar2 so Excel
>>> displays some error message and is waiting for the user to respond.  But
>>> Excel is running invisibly so this can't be seen.
>>
>> More like you expect to run Excel interactively from service.
>> Not possible. Period.
>
> I'm not trying to run Excel interactively from a cron job.  One of the 
> limitations with using Excel from a cron job is Excel has to run error free.  
> If Excel does run into some error it will typically generate an error message 
> and wait for a user response.  Since Excel is running invisibly from a cron 
> job, there is no user to give a response and Excel just sits there waiting 
> for a response that will never come.
>
>>> I also suspect this Upar2 "confusion" isn't limited to running an Excel
>>> program.  I can run a cron job with regular UNIX commands (cut, sort, etc)
>>> and see they are running with the ps command.  But when I try to kill them
>>> (kill -9) I get permission denied.  If I want to kill a process running via
>>> the cron I have to start cygwin with 'Run as administrator' and then I can
>>> kill processes running under the cron.
>>
>> Of course.
>
> Why "of course"?  Shouldn't I be able to kill my own processes?  I can 
> certainly do that under WinXP.  But this isn't a major issue for me.  I only 
> pointed it out in case it was related to the issue why my Excel cron jobs 
> hang.
>
> --
>> WBR,
>> Andrey Repin (anrdae...@yandex.ru) 11.11.2014, <22:14>
>>
>> Sorry for my terrible english...
>
> Nothing wrong with your English...
>
> Denis
>
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [REQUEST] Please upgrade irssi (0.8.17)

2014-11-12 Thread Keith Christian
Perhaps it hasn't propagated to the osuosl server yet.  Should I click
the EXP radio button in Setup and cycle through
Keep...Reinstall...Src... etc. to see the new version?

On Wed, Nov 12, 2014 at 11:14 AM, Marco Atzeri  wrote:
> On 10/28/2014 12:39 PM, Corinna Vinschen wrote:
>>
>> On Oct 28 11:17, Marco Atzeri wrote:
>>>
>>> On 10/27/2014 12:58 AM, Keith Christian wrote:
>>>>
>>>> I use irssi and consider it a really good IRC client.  An update would
>>>> be nice when the maintainer has the interest and the time.
>>>>
>>>> Keith
>>>>
>>>
>>> I have the impression that Kostya Altukhov is not here anymore.
>>>
>>> Looking at mail history it is more then 2 years that is not posting on
>>> any cygwin mailing list.
>>
>>
>> Indeed.  Is anybody willing to take over irssi maintainership?
>>
>> See https://sourceware.org/cygwin/setup.html
>> and https://sourceware.org/cygwin-apps/package-upload.html
>>
>>
>> Corinna
>
>
> I uploaded a test version of irssi-0.8.17-1
> for 32 bit and 64 bit.
>
> If Keith and the other "alive" test it, I will promote to current.
>
>
> Regards
> Marco
>
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [REQUEST] Please upgrade irssi (0.8.17)

2014-11-13 Thread Keith Christian
Updated, but missing cygperl5_14.dll.

+ ls -l /usr/bin/irssi.exe
-rwxr-xr-x 1 kchris Domain Users 1180701 Nov 12 10:47 /usr/bin/irssi.exe
+ irssi -version
/usr/bin/irssi.exe: error while loading shared libraries:
cygperl5_14.dll: cannot open shared object file: No such file or
directory
+ echo

+ locate -i '*cygperl5_14.dll*'

On Thu, Nov 13, 2014 at 4:39 AM, Marco Atzeri  wrote:
> On 11/12/2014 10:14 PM, Keith Christian wrote:
>>
>> Perhaps it hasn't propagated to the osuosl server yet.  Should I click
>> the EXP radio button in Setup and cycle through
>> Keep...Reinstall...Src... etc. to see the new version?
>>
>
> correct, EXP button.
> You should not need to cycle through, 0.8.17 will be offered
> as new update
>
>
> Regards
> Marco
>
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [REQUEST] Please upgrade irssi (0.8.17)

2014-11-13 Thread Keith Christian
I get a cygcheck usage error for both of those commands.

On Thu, Nov 13, 2014 at 7:52 AM, Marco Atzeri  wrote:
> On 11/13/2014 3:44 PM, Keith Christian wrote:
>>
>> Updated, but missing cygperl5_14.dll.
>>
>> + ls -l /usr/bin/irssi.exe
>> -rwxr-xr-x 1 kchris Domain Users 1180701 Nov 12 10:47
>> /usr/bin/irssi.exe
>> + irssi -version
>> /usr/bin/irssi.exe: error while loading shared libraries:
>> cygperl5_14.dll: cannot open shared object file: No such file or
>> directory
>> + echo
>>
>> + locate -i '*cygperl5_14.dll*'
>
>
> Strange
>
> irssi requires perl where cygperl5_14.dll is
>
> on 64 bit
> $ cygcheck -f $(which cygperl5_14.dll)
> perl-5.14.4-1
>
> on 32bit
> $  cygcheck -f $(which cygperl5_14.dll)
> perl-5.14.2-3
>
>
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [REQUEST] Please upgrade irssi (0.8.17)

2014-11-14 Thread Keith Christian
Don't have cygperl5_14.dll but do have cygperl 5_18.dll, what now?
Try to reinstall 0.8.17-1 ?

On Thu, Nov 13, 2014 at 4:23 PM, Sean Murphy  wrote:
> Just installed irssi 0.8.17-1 update on 32-bit installation and it
> works as expected.  Have not yet upgraded to most recent
> version of cygwin, though.
>
> On Thu, Nov 13, 2014 at 10:26 AM, Keith Christian
>  wrote:
>> I get a cygcheck usage error for both of those commands.
>>
>> On Thu, Nov 13, 2014 at 7:52 AM, Marco Atzeri  wrote:
>>> On 11/13/2014 3:44 PM, Keith Christian wrote:
>>>>
>>>> Updated, but missing cygperl5_14.dll.
>>>>
>>>> + ls -l /usr/bin/irssi.exe
>>>> -rwxr-xr-x 1 kchris Domain Users 1180701 Nov 12 10:47
>>>> /usr/bin/irssi.exe
>>>> + irssi -version
>>>> /usr/bin/irssi.exe: error while loading shared libraries:
>>>> cygperl5_14.dll: cannot open shared object file: No such file or
>>>> directory
>>>> + echo
>>>>
>>>> + locate -i '*cygperl5_14.dll*'
>>>
>>>
>>> Strange
>>>
>>> irssi requires perl where cygperl5_14.dll is
>>>
>>> on 64 bit
>>> $ cygcheck -f $(which cygperl5_14.dll)
>>> perl-5.14.4-1
>>>
>>> on 32bit
>>> $  cygcheck -f $(which cygperl5_14.dll)
>>> perl-5.14.2-3
>>>
>>>
>>>
>>> --
>>> Problem reports:   http://cygwin.com/problems.html
>>> FAQ:   http://cygwin.com/faq/
>>> Documentation: http://cygwin.com/docs.html
>>> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>>>
>>
>> --
>> Problem reports:   http://cygwin.com/problems.html
>> FAQ:   http://cygwin.com/faq/
>> Documentation: http://cygwin.com/docs.html
>> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>>
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [REQUEST] Please upgrade irssi (0.8.17)

2014-11-14 Thread Keith Christian
Installed current Perl, which downgraded irssi from 0.8.17 to 0.8.15.
Looks like I don't know how to upgrade irssi without also upgrading
Perl, which breaks the new irssi.

On Fri, Nov 14, 2014 at 7:51 AM, Marco Atzeri  wrote:
> On 11/14/2014 3:29 PM, Keith Christian wrote:
>>
>> Don't have cygperl5_14.dll but do have cygperl 5_18.dll, what now?
>> Try to reinstall 0.8.17-1 ?
>>
>
> reinstall perl.
> You installed the experimental version of perl
>
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [REQUEST] Please upgrade irssi (0.8.17)

2014-11-15 Thread Keith Christian
Thanks for the new version.  Ihave to remember to click the "show"
ellipsis in Gmail, thanks for the reminder.

Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Is there a tool for viewing all cygwin/GNU Software submissions

2014-11-26 Thread Keith Christian
Hi Arthur,

Two ways that I know of (besides Steven Penny's "apt-cyg" method.)


1  The fastest way to get the whole catalog is to run the
setup program, but stop before installing any software (unless that is
your ultimate goal.)

Open a browser and download the setup program
(http://cygwin.com/setup-x86.exe for 32 bit or
http://cygwin.com/setup-x86_64.exe for 64 bit.)

Run setup, and proceed only far enough to download the "setup.ini"
file.  At that point, exit the setup program, and open "setup.ini"
with Notepad or another text editor.  You'll see the short and long
package descriptions within.


2  Or, to see a list of only the package names, open a web
browser and go to https://cygwin.com/mirrors.html.  Click a link
closest to you, e.g. if in the western US, try "mirrors.kernel.org" or
other.

Then, click the "x86" or "x86_64" link, then the "release" link on the
next page, and browse the list of packages.

Full info about a single package is available by right-clicking the
"setup.hint" entry, and then "Open with..." and choose Notepad or
another text editor, depending on which browser you're using.


=== Keith

On Tue, Nov 25, 2014 at 3:49 PM, Arthur Schwarz  wrote:
> Is there a general tool that will allow someone to see the definition of all
> software in cygwin and allow browsing of libraries for content? If there is
> not, how can I go about creating one (any ideas)?
>
> What I would like to see for executables is a setup-like tool to pretty
> print information on all available software without going through setup.
> Where a library is included, I would like to see something about the
> routines included in the library.
>
> Info does a great job of showing information on executables which have been
> downloaded (although its presentation format is really bad), but provides no
> insight on available but not downloaded software. 'setup' provides a
> thumbnail description of all available software, but you have to use it in
> conjunction with the internet, and viewing and searching is laborious. And I
> don't know if there is anything which provides some brief information on
> library contents. I think for libraries you have to go to the provided
> application developer documentation or use one of the tools to read the
> library contents.
>
> So, anything there or anything I can do (to make it 'there').
>
> art
>
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [ANNOUNCEMENT] Updated: llvm/clang-3.4.2-4

2014-12-21 Thread Keith Christian
Looking for reports of successful downloads and installation of
llvm-debuginfo-3.4.2-4.tar.xz.

The past few times I've tried to update Cygwin, this file has stopped
with 99% of the file downloaded.

I have erased the download directorie(s) on my system and have deleted
all directories in /bin and most in /usr/bin in order to approach a
"clean" system.

Here is where the download stopped:

12/21/2014  05:39 AM   423,858,176 llvm-debuginfo-3.4.2-4.tar.xz.tmp

I did not check the file on the previous atttempts, thinking something
else was wrong.  No lack of disk space, I have 63 gig free.

I started the Sysinternals utility "Process Monitor" to see what was
going on and this group of messages repeats ad infinitum.  The only
error seen is "FILE LOCKED WITH ONLY READERS."



5:57:19.0577385 AMsvchost.exe1168CreateFile
C:\Users\keith\Downloads\setup-x86.exeSUCCESSDesired Access:
Execute/Traverse, Disposition: Open, Options: Synchronous IO
Non-Alert, Non-Directory File, Complete If Oplocked, Attributes: N,
ShareMode: Read, Write, Delete, AllocationSize: n/a, Impersonating: NT
AUTHORITY\SYSTEM, OpenResult: Opened

5:57:19.0578360 AMsvchost.exe1168SetBasicInformationFile
 C:\Users\keith\Downloads\setup-x86.exeSUCCESSCreationTime:
-1, LastAccessTime: -1, LastWriteTime: -1, ChangeTime: -1,
FileAttributes: n/a

5:57:19.0578681 AMsvchost.exe1168QueryAttributeTagFile
C:\Users\keith\Downloads\setup-x86.exeSUCCESSAttributes: A,
ReparseTag: 0x0

5:57:19.0578953 AMsvchost.exe1168CreateFileMapping
C:\Users\keith\Downloads\setup-x86.exeFILE LOCKED WITH ONLY
READERSSyncType: SyncTypeCreateSection, PageProtection:
PAGE_EXECUTE

5:57:19.0579876 AMsvchost.exe1168CreateFileMapping
C:\Users\keith\Downloads\setup-x86.exeSUCCESSSyncType:
SyncTypeOther

5:57:19.0580428 AMsvchost.exe1168CloseFile
C:\Users\keith\Downloads\setup-x86.exeSUCCESS

5:57:20.5897025 AMsvchost.exe1168CreateFile
C:\Users\keith\Downloads\setup-x86.exeSUCCESSDesired Access:
Execute/Traverse, Disposition: Open, Options: Synchronous IO
Non-Alert, Non-Directory File, Complete If Oplocked, Attributes: N,
ShareMode: Read, Write, Delete, AllocationSize: n/a, Impersonating: NT
AUTHORITY\SYSTEM, OpenResult: Opened

5:57:20.5897924 AMsvchost.exe1168SetBasicInformationFile
 C:\Users\keith\Downloads\setup-x86.exeSUCCESSCreationTime:
-1, LastAccessTime: -1, LastWriteTime: -1, ChangeTime: -1,
FileAttributes: n/a

5:57:20.5898241 AMsvchost.exe1168QueryAttributeTagFile
C:\Users\keith\Downloads\setup-x86.exeSUCCESSAttributes: A,
ReparseTag: 0x0

5:57:20.5898504 AMsvchost.exe1168CreateFileMapping
C:\Users\keith\Downloads\setup-x86.exeFILE LOCKED WITH ONLY
READERSSyncType: SyncTypeCreateSection, PageProtection:
PAGE_EXECUTE

5:57:20.5899356 AMsvchost.exe1168CreateFileMapping
C:\Users\keith\Downloads\setup-x86.exeSUCCESSSyncType:
SyncTypeOther

5:57:20.5900483 AMsvchost.exe1168CloseFile
C:\Users\keith\Downloads\setup-x86.exeSUCCESS

5:57:20.5904320 AMsvchost.exe1168CreateFile
C:\Users\keith\Downloads\setup-x86.exeSUCCESSDesired Access:
Read Data/List Directory, Read Attributes, Disposition: Open, Options:
Synchronous IO Non-Alert, Non-Directory File, Complete If Oplocked,
Attributes: N, ShareMode: Read, Write, Delete, AllocationSize: n/a,
Impersonating: NT AUTHORITY\SYSTEM, OpenResult: Opened

5:57:20.5905178 AMsvchost.exe1168SetBasicInformationFile
 C:\Users\keith\Downloads\setup-x86.exeSUCCESSCreationTime:
-1, LastAccessTime: -1, LastWriteTime: -1, ChangeTime: -1,
FileAttributes: n/a

5:57:20.5905493 AMsvchost.exe1168QueryAttributeTagFile
C:\Users\keith\Downloads\setup-x86.exeSUCCESSAttributes: A,
ReparseTag: 0x0

5:57:20.5905759 AMsvchost.exe1168CreateFileMapping
C:\Users\keith\Downloads\setup-x86.exeFILE LOCKED WITH ONLY
READERSSyncType: SyncTypeCreateSection, PageProtection:
PAGE_READONLY

5:57:20.5905912 AMsvchost.exe1168
QueryStandardInformationFileC:\Users\keith\Downloads\setup-x86.exe
   SUCCESSAllocationSize: 753,664, EndOfFile: 751,104,
NumberOfLinks: 1, DeletePending: False, Directory: False

5:57:20.5906272 AMsvchost.exe1168CreateFileMapping
C:\Users\keith\Downloads\setup-x86.exeSUCCESSSyncType:
SyncTypeOther

5:57:20.5906709 AMsvchost.exe1168CloseFile
C:\Users\keith\Downloads\setup-x86.exeSUCCESS

5:57:20.6231763 AMsvchost.exe1168CreateFile
C:\Users\keith\Downloads\setup-x86.exe:ZONE.IDENTIFIERSUCCESS
Desired Access: Read Data/List Directory, Read Attributes,
Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory
File, Complete If Oplocked, Attributes: N, ShareMode: Read, Write,
Delete, AllocationSize: n/a, Impersonating: NT AUTHORITY\SYSTEM,
OpenResult: Opened

5:57:20.6235463 

Re: [ANNOUNCEMENT] Updated: llvm/clang-3.4.2-4

2014-12-21 Thread Keith Christian
Marco,

Thanks.  Let me ask, wget the file, put it in the same directory
location as the partially-downloaded file, then, run the usual
install-from-download-directory method?

I'll try it and reply.

On Sun, Dec 21, 2014 at 12:59 PM, Marco Atzeri  wrote:
> On 12/21/2014 2:12 PM, Keith Christian wrote:
>>
>> Looking for reports of successful downloads and installation of
>> llvm-debuginfo-3.4.2-4.tar.xz.
>>
>> The past few times I've tried to update Cygwin, this file has stopped
>> with 99% of the file downloaded.
>
>
> on 64bit
> $ cygcheck -cv llvm-debuginfo
>
> Package  VersionStatus
> llvm-debuginfo   3.4.2-4OK
>
>
> "stopped at 99%" could be a antivirus with problem to digest a
> so large compressed file.
>
> Try to download with wget the file alone and than install from the disk
>
> Regards
> Marco
>
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Documentation bug in ntsec.html

2015-02-13 Thread Keith Christian
The cygwin.ldif file is not found (on my system at least.)


http://www.cygwin.com/cygwin-ug-net/ntsec.html


Documentation Context:
cygwin
Utilizes the cygwinUser AD schema extension. This schema extension
is available via a schema extension file
/usr/share/cygwin/cygwin.ldif. See the section called The cygwin
schema for more information.

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Documentation bug in ntsec.html

2015-02-14 Thread Keith Christian
I'm waiting for the dust to settle, so my mistake.  Sorry for the noise!

On Fri, Feb 13, 2015 at 4:43 PM, Andrey Repin  wrote:
> Greetings, Keith Christian!
>
>> The cygwin.ldif file is not found (on my system at least.)
>
>> http://www.cygwin.com/cygwin-ug-net/ntsec.html
>
> Upgrade your installation.
>
>> Documentation Context:
>> cygwin
>> Utilizes the cygwinUser AD schema extension. This schema extension
>> is available via a schema extension file
>> /usr/share/cygwin/cygwin.ldif. See the section called The cygwin
>> schema for more information.
>
> ...\x86_64\release\cygwin]$ tar tf cygwin-1.7.34-6.tar.xz | grep ldif
> usr/share/cygwin/cygwin.ldif
>
> ...\x86_64\release\cygwin]$ tar tf cygwin-1.7.35-0.1.tar.xz | grep ldif
> usr/share/cygwin/cygwin.ldif
>
>
> --
> WBR,
> Andrey Repin (anrdae...@yandex.ru) 14.02.2015, <02:40>
>
> Sorry for my terrible english...
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



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

2015-04-13 Thread Keith Christian
Anyone have suggestions?  I've uninstalled and reinstalled bind-utils,
no improvement.

On Fri, Apr 10, 2015 at 11:36 AM, Keith Christian
 wrote:
> nslookup returns normal output.
>
> An strace of dig shows nothing out of the ordinary.
>
> ls -l /bin/dig shows:
>
> -rwxr-xr-x 1 keith Domain Users 2202141 Mar 18 20:05 /bin/dig

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



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

2015-04-14 Thread Keith Christian
Brian, Andre,

Thanks for the suggestions / info.

Examples below.  "No output" means that dig provided no reply or
diagnostic info to the Cygwin screen as can be seen below, even when
asking for the internal help text.

Dig was working fine until the last update, I've
uninstalled/reinstalled it, etc.  Most baffling issue I've seen with a
simple executable in awhile.

I'd expect some access problem to the DNS servers, except that the
native Windows nslookup utility works fine.

Tue Apr 14 12:26:27 pty2 >dig +trace google.com

Tue Apr 14 12:26:31 pty2 >dig --help

Tue Apr 14 12:26:36 pty2 >dig -h

Tue Apr 14 12:25:18 pty2 >dig google.com

Tue Apr 14 12:25:33 pty2 >/cygdrive/c/Windows/system32/nslookup.exe google.com

Non-authoritative answer:
Server:  ns01.my.employer.com
Address:  www.xxx.yyy.zz

Name:google.com
Addresses:  2607:f8b0:4005:803::200e
  216.58.192.46




Below are some tries with the "host" utility.  "host" provides a help
screen, but no DNS info.

Tue Apr 14 12:33:25 pty2 >host google.com

Tue Apr 14 12:33:37 pty2 >host 216.58.192.46

Tue Apr 14 12:33:41 pty2 >host --help
host: illegal option -- -
Usage: host [-aCdlriTwv] [-c class] [-N ndots] [-t type] [-W time]
[-R number] [-m flag] hostname [server]
   -a is equivalent to -v -t ANY
   -c specifies query class for non-IN data
   -C compares SOA records on authoritative nameservers
   -d is equivalent to -v
   -l lists all hosts in a domain, using AXFR
   -i IP6.INT reverse lookups
   -N changes the number of dots allowed before root lookup is done
   -r disables recursive processing
   -R specifies number of retries for UDP packets
   -s a SERVFAIL response should stop query
   -t specifies the query type
   -T enables TCP/IP mode
   -v enables verbose output
   -w specifies to wait forever for a reply
   -W specifies how long to wait for a reply
   -4 use IPv4 query transport only
   -6 use IPv6 query transport only
   -m set memory debugging flag (trace|record|usage)
   -V print version number and exit


Keith



On Tue, Apr 14, 2015 at 4:54 AM, Andrey Repin  wrote:
> Greetings, Keith Christian!
>
>>> nslookup returns normal output.
>>>
>>> An strace of dig shows nothing out of the ordinary.
>>>
>>> ls -l /bin/dig shows:
>>>
>>> -rwxr-xr-x 1 keith Domain Users 2202141 Mar 18 20:05 /bin/dig
>
>> Anyone have suggestions?  I've uninstalled and reinstalled bind-utils,
>> no improvement.
>
> Clarify "no output"? What you request, and what you get in return?
> I'm using dig regularly, and I see no change in the current version.
>
>
> --
> With best regards,
> Andrey Repin
> Tuesday, April 14, 2015 13:52:20
>
> Sorry for my terrible english...
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



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

2015-04-14 Thread Keith Christian
Thanks Marco, requested information below:

Tue Apr 14 14:31:02 pty2 >cygcheck dig
Found: C:\cygwin\bin\dig.exe
Found: C:\cygwin\bin\dig.exe
C:\cygwin\bin\dig.exe
  C:\cygwin\bin\cyggcc_s-1.dll
C:\cygwin\bin\cygwin1.dll
  C:\windows\system32\KERNEL32.dll
C:\windows\system32\API-MS-Win-Core-RtlSupport-L1-1-0.dll
C:\windows\system32\ntdll.dll
C:\windows\system32\KERNELBASE.dll
C:\windows\system32\API-MS-Win-Core-ProcessThreads-L1-1-0.dll
C:\windows\system32\API-MS-Win-Core-Heap-L1-1-0.dll
C:\windows\system32\API-MS-Win-Core-Memory-L1-1-0.dll
C:\windows\system32\API-MS-Win-Core-Handle-L1-1-0.dll
C:\windows\system32\API-MS-Win-Core-Synch-L1-1-0.dll
C:\windows\system32\API-MS-Win-Core-File-L1-1-0.dll
C:\windows\system32\API-MS-Win-Core-IO-L1-1-0.dll
C:\windows\system32\API-MS-Win-Core-ThreadPool-L1-1-0.dll
C:\windows\system32\API-MS-Win-Core-LibraryLoader-L1-1-0.dll
C:\windows\system32\API-MS-Win-Core-NamedPipe-L1-1-0.dll
C:\windows\system32\API-MS-Win-Core-Misc-L1-1-0.dll
C:\windows\system32\API-MS-Win-Core-SysInfo-L1-1-0.dll
C:\windows\system32\API-MS-Win-Core-Localization-L1-1-0.dll
C:\windows\system32\API-MS-Win-Core-ProcessEnvironment-L1-1-0.dll
C:\windows\system32\API-MS-Win-Core-String-L1-1-0.dll
C:\windows\system32\API-MS-Win-Core-Debug-L1-1-0.dll
C:\windows\system32\API-MS-Win-Core-ErrorHandling-L1-1-0.dll
C:\windows\system32\API-MS-Win-Core-Fibers-L1-1-0.dll
C:\windows\system32\API-MS-Win-Core-Util-L1-1-0.dll
C:\windows\system32\API-MS-Win-Core-Profile-L1-1-0.dll
C:\windows\system32\API-MS-Win-Security-Base-L1-1-0.dll
  C:\cygwin\bin\cygcatgets1.dll
  C:\cygwin\bin\cygcrypto-1.0.0.dll
C:\cygwin\bin\cygz.dll
  C:\cygwin\bin\cyggssapi_krb5-2.dll
C:\cygwin\bin\cygk5crypto-3.dll
  C:\cygwin\bin\cygkrb5support-0.dll
C:\cygwin\bin\cygintl-8.dll
  C:\cygwin\bin\cygiconv-2.dll
C:\cygwin\bin\cygkrb5-3.dll
  C:\cygwin\bin\cygcom_err-2.dll
  C:\cygwin\bin\cygidn-11.dll
  C:\cygwin\bin\cygxml2-2.dll
  C:\windows\system32\ADVAPI32.dll
C:\windows\system32\msvcrt.dll
  C:\windows\system32\API-MS-Win-Core-Console-L1-1-0.dll
  C:\windows\system32\API-MS-Win-Core-DateTime-L1-1-0.dll
  C:\windows\system32\API-MS-Win-Core-Interlocked-L1-1-0.dll
C:\windows\system32\API-MS-WIN-Service-Core-L1-1-0.dll
C:\windows\system32\API-MS-WIN-Service-winsvc-L1-1-0.dll
C:\windows\system32\API-MS-WIN-Service-Management-L1-1-0.dll
C:\windows\system32\API-MS-WIN-Service-Management-L2-1-0.dll
C:\windows\system32\API-MS-Win-Core-LocalRegistry-L1-1-0.dll
C:\windows\system32\RPCRT4.dll
  C:\windows\system32\SspiCli.dll
C:\windows\system32\CRYPTBASE.dll
  C:\windows\system32\API-MS-Win-Core-DelayLoad-L1-1-0.dll
C:\windows\system32\API-MS-Win-Security-LSALookup-L1-1-0.dll
  C:\windows\system32\IPHLPAPI.DLL
C:\windows\system32\NSI.dll
C:\windows\system32\WINNSI.DLL


Keith

On Tue, Apr 14, 2015 at 1:57 PM, Marco Atzeri  wrote:
> On 4/14/2015 8:39 PM, Keith Christian wrote:
>>
>> Brian, Andre,
>>
>> Thanks for the suggestions / info.
>>
>> Examples below.  "No output" means that dig provided no reply or
>> diagnostic info to the Cygwin screen as can be seen below, even when
>> asking for the internal help text.
>>
>> Dig was working fine until the last update, I've
>> uninstalled/reinstalled it, etc.  Most baffling issue I've seen with a
>> simple executable in awhile.
>>
>> I'd expect some access problem to the DNS servers, except that the
>> native Windows nslookup utility works fine.
>>
>> Tue Apr 14 12:26:27 pty2 >dig +trace google.com
>>
>> Tue Apr 14 12:26:31 pty2 >dig --help
>
>
> this should give you
>
> $ dig --help
> Invalid option: --help
> Usage:  dig [@global-server] [domain] [q-type] [q-class] {q-opt}
> {global-d-opt} host [@local-server] {local-d-opt}
> [ host [@local-server] {local-d-opt} [...]]
>
> Use "dig -h" (or "dig -h | more") for complete list of options
>
>
> I assume you are missing some of dll's
>
> what is the output of
>
>   cygcheck dig
>
> Regards
> Marco
>
>
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



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

2015-04-15 Thread Keith Christian
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
 wrote:
> Both /usr/bin/dig and /bin/dig run the same program:
>
>>cksum /usr/bin/dig /bin/dig
> 680300229 2202141 /usr/bin/dig
> 680300229 2202141 /bin/dig
>
> Attached cygcheck_s_r_v_kvc.txt.
>
> On Tue, Apr 14, 2015 at 3:53 PM, Mark Hansen  wrote:
>> 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/
>> Documentation: http://cygwin.com/docs.html
>> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



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

2015-04-15 Thread Keith Christian
Thanks Mark, but I tried both of those early in my attempts without
success.  Good suggestion, though.

On Wed, Apr 15, 2015 at 2:53 PM, Mark Hansen  wrote:
> 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
>>   wrote:
>>>
>>>  Both /usr/bin/dig and /bin/dig run the same program:
>>>
>>>> cksum /usr/bin/dig /bin/dig
>>>
>>>  680300229 2202141 /usr/bin/dig
>>>  680300229 2202141 /bin/dig
>>>
>>>  Attached cygcheck_s_r_v_kvc.txt.
>
>
> I'm sorry - I could be completely off-base here. What I meant was can you
> try running
> '/usr/bin/dig' (providing the full path to the application) rather than by
> just running 'dig'
> just in case there is some other 'dig' on your path (or shell aliases) which
> might be running
> rather than the actual /usr/bin/dig command.
>
> In previous messages, your examples were running 'dig' (without the full
> path) so it wasn't
> clear which dig you were actually getting.
>
> Good luck.
>
>
>>>
>>>  On Tue, Apr 14, 2015 at 3:53 PM, Mark Hansen  wrote:
>>>>
>>>>  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/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



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

2015-04-17 Thread Keith Christian
Yaakov, Brian, Andrey, Marco, and Mark -

I updated Cygwin this morning, and now: "dig works!  I have no idea why!"

"cksum /usr/bin/dig /bin/dig" reports the same checksums as before,
and "cygcheck dig" produces the same output as before.

Baffling.

Thanks to all of you for the suggestions.

On Wed, Apr 15, 2015 at 4:19 PM, Keith Christian
 wrote:
> Thanks Mark, but I tried both of those early in my attempts without
> success.  Good suggestion, though.
>
> On Wed, Apr 15, 2015 at 2:53 PM, Mark Hansen  wrote:
>> 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
>>>   wrote:
>>>>
>>>>  Both /usr/bin/dig and /bin/dig run the same program:
>>>>
>>>>> cksum /usr/bin/dig /bin/dig
>>>>
>>>>  680300229 2202141 /usr/bin/dig
>>>>  680300229 2202141 /bin/dig
>>>>
>>>>  Attached cygcheck_s_r_v_kvc.txt.
>>
>>
>> I'm sorry - I could be completely off-base here. What I meant was can you
>> try running
>> '/usr/bin/dig' (providing the full path to the application) rather than by
>> just running 'dig'
>> just in case there is some other 'dig' on your path (or shell aliases) which
>> might be running
>> rather than the actual /usr/bin/dig command.
>>
>> In previous messages, your examples were running 'dig' (without the full
>> path) so it wasn't
>> clear which dig you were actually getting.
>>
>> Good luck.
>>
>>
>>>>
>>>>  On Tue, Apr 14, 2015 at 3:53 PM, Mark Hansen  wrote:
>>>>>
>>>>>  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/
>> Documentation: http://cygwin.com/docs.html
>> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>>

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Troubleshooting chronic forked process errors

2015-05-13 Thread Keith Christian
Hello Cygwin Users,


I am running an up to date Cygwin installation on Windows 7:

Kernel version:Windows 7 Enterprise, Multiprocessor Free
Product type:  Professional
Product version:   6.1
Service pack:  0
Kernel build number:   7601

CYGWIN_NT-6.1-WOW MYCOMPUTER 2.0.2(0.287/5/3) 2015-05-08 17:03 i686 Cygwin




Still seeing the following errors on stderr while running various
commands and scripts.

Usually these errors do not seem to impact anything, but occasionally
they do, such as when data fails to be written to files created during
script runs.


  0 [main] -bash 8296 fork: child -1 - forked process 6560 died
unexpectedly, retry 0, exit code 0xC005, errno 11
-bash: fork: retry: No child processes
4306814 [main] -bash 8296 fork: child -1 - forked process 6560 died
unexpectedly, retry 0, exit code 0xC005, errno 11
-bash: fork: retry: No child processes
31914464 [main] -bash 8296 fork: child -1 - forked process 6560 died
unexpectedly, retry 0, exit code 0xC005, errno 11
-bash: fork: retry: No child processes
99374829 [main] -bash 8296 fork: child -1 - forked process 6560 died
unexpectedly, retry 0, exit code 0xC005, errno 11
-bash: fork: retry: No child processes
116312955 [main] -bash 8296 fork: child -1 - forked process 6560 died
unexpectedly, retry 0, exit code 0xC005, errno 11
-bash: fork: retry: No child processes
166575171 [main] -bash 8296 fork: child -1 - forked process 6560 died
unexpectedly, retry 0, exit code 0xC005, errno 11
-bash: fork: retry: No child processes


  0 [main] mandb 7060 fork: child -1 - forked process 6560 died
unexpectedly, retry 0, exit code 0xC005, errno 11
mandb: fork failed: Resource temporarily unavailable


Anyone else seeing these?


Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Double click to select within VIM behavior change

2011-12-30 Thread Keith Christian
On Wed, Dec 28, 2011 at 4:02 PM, Rafael Kitover  wrote:
> No idea, but in mintty you can hold shift to override the application's
> use of the mouse. So holding shift will let you double click on words or
> select text for pasting anywhere in the vim window, regardless of what
> the 'mouse' option is set to. You can also :set mouse= to turn off vim's
> use of the mouse, set mouse=a to turn it back on.


Rafael, thanks, your suggestion to hold down SHIFT, while performing a
regular text selection in a Vim buffer within PuTTYCyg works.


=Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: 1.7.9 : date command fails for year 1900

2012-01-23 Thread Keith Christian
On Sun, Jan 22, 2012 at 10:23 PM, Buchbinder, Barry (NIH/NIAID) [E]
 wrote:
> cygwin sent the following at Sunday, January 22, 2012 3:39 PM

> /c> cal 9 1752
>   September 1752
> Su Mo Tu We Th Fr Sa
>       1  2 14 15 16
> 17 18 19 20 21 22 23
> 24 25 26 27 28 29 30
>
> Is this a bug?


Not a bug, see: http://www.infoplease.com/spot/gregorian1.html.

=Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: svn2cl (subversion-tools 1.7.3-1) fails to load svn2cl.xsl

2012-02-20 Thread Keith Christian
On Fri, Feb 17, 2012 at 2:34 PM, David Rothenberger  wrote:
> On 2/17/2012 11:15 AM, Thrall, Bryan wrote:
>> It thinks the svn2cl.xsl file should be in /usr/bin, but it looks like the 
>> file is in /etc/svn2cl:


Question: XSL files, being more like configuration files than
executables, would go in either the main /etc directory or an etc/
subdirectory, correct?


=Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Where are end user instructions to compile an updated package?

2012-04-11 Thread Keith Christian
I'm interested in compiling the latest Sqlite source into a Cygwin
package to updated the current version, for use on one machine.

Could someone point me to the instructions that are complete enough
for an end user to begin with source code, and produce an installable
Cygwin package?

Thanks.

===Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Where are end user instructions to compile an updated package?

2012-04-11 Thread Keith Christian
On Wed, Apr 11, 2012 at 10:39 AM, Achim Gratz  wrote:
> AFAIK, work is underway to release a new package with the latest
> version.

Achim, thanks for the info.  After re-reading
http://cygwin.com/setup.html, that page will probably suffice.


=Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: find.exe vs. cmd.exe dir command vs. filesystem object in vbs script

2012-04-27 Thread Keith Christian
On Fri, Apr 27, 2012 at 8:28 AM, Cary Lewis  wrote:
> I have a system that makes use of a number of directories which
> contain hundreds of thousands of files.


Cary, I can't comment on any API references, but here is a possible workaround.

The "locate" command works similarly to the "find" command, but
consults a special database (which you can re-generate at any time)
for quick access.

Then, when searching for a directory name or file name, you can use
the "locate" command and the collection of separate "locatedb"
databases, which will return results very quickly

Note - whenever files are added, deleted, or renamed in any of the
hypothetical "somedir_0n" directories, the "updatedb" command will
have to be run again to create the locatedb databases.

The "locate -S -d /var/locatedb_somedir_0n" command outputs statistics
on the database just created ,showing the number of filenames in each
and other stats.


Example:

1. Suppose the following directories exist on your SAN, and each of
"somedir_nn" contains about 100,000 files each.

/san_main_dir/corp_files/somedir_01
/san_main_dir/corp_files/somedir_02
/san_main_dir/corp_files/somedir_03
/san_main_dir/corp_files/somedir_04
[ .ad nauseum. ]
/san_main_dir/corp_files/somedir_nn


2. Put the following lines into a script (e.g.
create_san_locatedb.sh,) which will create a separate "locatedb"
database for each subdirectory:


#!/bin/bash
# Create separate locatedb databases for directories containing a
large number of files on a SAN.

time updatedb --localpaths='/san_main_dir/corp_files/somedir_01'
--output=/var/locatedb_somedir_01 2>/dev/null
echo "locatedb_somedir_01 created..."
echo
locate -S -d /var/locatedb_somedir_01
echo
time updatedb --localpaths='/san_main_dir/corp_files/somedir_02'
--output=/var/locatedb_somedir_02 2>/dev/null
echo "locatedb_somedir_02 created..."
echo
locate -S -d /var/locatedb_somedir_02
echo
time updatedb --localpaths='/san_main_dir/corp_files/somedir_03'
--output=/var/locatedb_somedir_03 2>/dev/null
echo "locatedb_somedir_03 created..."
echo
locate -S -d /var/locatedb_somedir_03
echo
time updatedb --localpaths='/san_main_dir/corp_files/somedir_04'
--output=/var/locatedb_somedir_04 2>/dev/null
echo "locatedb_somedir_04 created..."
echo
locate -S -d /var/locatedb_somedir_04
echo
echo "Custom locatedb directories created"



3. Now that the databases are created, here are some example commands
to find the directory and filenames within:


Show a list of files ending in "DAT2012" from the database 
locatedb_somedir_03:

locate --database=/var/locatedb_somedir_03 "*DAT2012"


Show a list of files, (ignoring cAsE sEnSiTiViTy,) with "dAt2012"
anywhere in the directory path
or in the filename, from the database locatedb_somedir_03:

locate -i --database=/var/locatedb_somedir_03 "dat2012"


Show a list of files with "DAT2012" with a preceding directory name
containing "uncooked",
from the database locatedb_somedir_01:

locate --database=/var/locatedb_somedir_01 "*uncooked*DAT2012"


Show a list of files with "DAT2012" with a preceding file or
directory name containing "uncooked",
from the database locatedb_somedir_01:

locate --database=/var/locatedb_somedir_01 "*uncooked*DAT2012"


Search across all four hypothetical locatedb_somedir_0n databases
using four separate command lines:

locate --database=/var/locatedb_somedir_01 "DAT2012"
locate --database=/var/locatedb_somedir_02 "DAT2012"
locate --database=/var/locatedb_somedir_03 "DAT2012"
locate --database=/var/locatedb_somedir_04 "DAT2012"


4. If the directory names or file names below /san_main_dir/corp_files
change after the "locatedb_somedir_0n" databases are created, new
files won't be found using "locate," and items deleted since the
previous steps in (2) above will still appear until the databases are
re-created.  Re-run Step 2 if this is the case.  The "time" commands
before each updatedb command will help gauge how long it takes to
create the "locatedb" databases.


Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: VB script error in Cygwin

2012-07-26 Thread Keith Christian
I usually write a CMD.EXE script that in turn, runs cscript and its *.vbs file.

Example:

The following lines are a cmd "batch" file called bar.cmd


@echo on
echo.This is "bar.cmd," a CMD.EXE script, which will be invoked by 
Cygwin
echo.Run a vbscript called "foo.vbs"
cscript foo.vbs
echo."foo.vbs" is complete
echo.Done, now exiting "bar.cmd"
exit


** First **  run bar.cmd within a CMD.EXE window to be sure it and
foo.vbs are working properly outside of Cygwin.

** Second**  from within Cygwin's bash (or other) shell, run bar.cmd:

$ cmd /c bar.cmd

Watch for output or results from "foo.vbs" during the run.

== Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: 1.7.7(0.230/5/3) - Cannot change mode of file, and other permission issues on a Windows fileshare

2010-09-23 Thread Keith Christian
On Tue, Sep 21, 2010 at 10:51 AM, Corinna Vinschen wrote
> Is that a remote drive?  If so, did your admin set the share mode to
> "Change" rather than using "Full Control" and set appropriate NTFS
> permissions?  If so, either harass your admin to revert this to "Full
> Control" and useful NTFS permissions, or try to mount the share with
> "noacl" mount option.  For the mount options, see the User's Guide at


Thanks, Corinna - the drive in question is a remote drive, my Windows
home share.

Neither suggestion had any effect.

I'm wondering if anything Cygwin-related in the Registry may have
changed somehow, since that's the only other place I know of where
settings reside.  If I wanted to have Cygwin re-write its related
Registry settings, what has to be installed via setup.exe in order to
cause this to happen?  Or, are there no settings in the Registry that
might affect mounts and permissions?

Our Windows Administrator has made no changes to the file server, and
he's quite competent, so nothing has changed there.

===Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: 1.7.7(0.230/5/3) - Cannot change mode of file, and other permission issues on a Windows fileshare

2010-09-24 Thread Keith Christian
Hi Corinna,

I went to the Cygwin Snapshots page, I suppose I'll look for a file
with a name similar to this one:

  --> cygwin1-20100923.dll.bz2

except having a "0924" date string in it?  Will the Changelog or Diffs
links at the top of the page identify the patched build?

===Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: 1.7.7(0.230/5/3) - Cannot change mode of file, and other permission issues on a Windows fileshare

2010-09-27 Thread Keith Christian
On Sat, Sep 25, 2010 at 12:57 PM, Corinna Vinschen> Nevertheless, are
you really sure you tried the "noacl" mount option for
> this share?  The "noacl" option results in trying to open the file a
> second time, with just the READ_CONTROL and FILE_WRITE_ATTRIBUTES access
> rights.  This should work in most cases.

Hi Corinna,

Here is the /etc/fstab file with a line to mount Z: with noacl.  The
computer was shut down and rebooted twice.

The line as written below made no difference, still getting the same
errors and failures when checking files into RCS on the network share.
 I've moved the work directory to the local hard drive and RCS
checkins and checkouts work fine.

Do I have the correct syntax for the Z: line below?

cat /etc/fstab
# For a description of the file format, see the Users Guide
# http://cygwin.com/cygwin-ug-net/using.html#mount-table

Z: /cygdrive/z ntfs binary posix=0 user noumount auto noacl 0 0


=Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: 1.7.7(0.230/5/3) - Cannot change mode of file, and other permission issues on a Windows fileshare

2010-09-27 Thread Keith Christian
On Mon, Sep 27, 2010 at 10:27 AM, Corinna Vinschen

> What you have to do is to use some entirely different path, commas
> to separate the mount options, and drop the noumount option, like this:
>
>  Z: /my_z_drive dont_care binary,posix=0,user.noacl 0 0
>
>  $ mount -f -o binary,posix=0,user.noacl Z: /my_z_drive

Alright, that's easier to follow.  I'll try that and let you know what
I find.  The docs are pretty good but I wasn't confident that I had
the syntax correct.

=Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Task program - Aborted (core dumped) failure on CYGWIN_NT-5.1 1.7.8s(0.231/5/3) 20100924 15:55:44 i686 Cygwin

2010-12-15 Thread Keith Christian
>>Please do not send unsolicited strace output to the list.  If you send
>>the complete file, you'll essentially be spamming everyone with lots of
>>potentially unneeded data.  If you send a snippet, 99% of the time you'll
>>have chosen the wrong thing to cut/paste.

I'll refrain from doing so in the future.

> Btw, you're running a snapshot from September.  You should either drop
> back to the released version of Cygwin or use a newer snapshot.

Good point, will replace with an appropriate DLL.

Hope the cygcheck.out file will help troubleshoot the described problem.

=Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Task program - Aborted (core dumped) failure on CYGWIN_NT-5.1 1.7.8s(0.231/5/3) 20100924 15:55:44 i686 Cygwin

2010-12-15 Thread Keith Christian
Upgraded to cygwin1-20101212.dll.bz2, replaced cygwin1.dll with this
version.  Rebooted, no change, uname -a shows new cygwin1.dll in
place.

Wed Dec 15 14:03:33 (kchrist...@kchristian-l) ~>uname -a ; task
CYGWIN_NT-5.1 KCHRISTIAN-L 1.7.8s(0.233/5/3) 20101212 00:50:41 i686 Cygwin
Aborted (core dumped)

Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Script to save XP Win stuff

2010-12-20 Thread Keith Christian
On Sun, Dec 19, 2010 at 12:33 PM, jwzumwalt  wrote:
>
> I thought I would share a script I use to save my important personal and
> config files.
> I hope this helps!


Nice, I'll try it.  Useful as a template, too.

=Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: GNUPLOT in Cygwin: Terminal type set to 'unknown'

2011-02-24 Thread Keith Christian
There is lots of additional good gnuplot info on the WWW.

Fast answer:

gnuplot> set terminal dumb
Terminal type set to 'dumb'
Options are 'feed  size 79, 24'
gnuplot> plot sin(x)

A (crude) graph of sin(x) should now be on the terminal screen, or if
you're using X, then it will appear in an X window.


Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Windows Shortcut That Runs Cygwin Command

2011-03-05 Thread Keith Christian
Panos, I don't have Windows 7, however, this procedure is generic
enough that it should work.  Try it and let me know.

1. Create this plain DOS .cmd file in
c:\cygwin\usr\local\bin\dos2cygwin.cmd.  Line endings should be CRLF
so it may be best to create this with Notepad.

@echo off
echo.
echo.---
echo.Welcome to the DOS batch file dos2cygwin.cmd
echo.---
echo.
REM Ping below provides a time delay like the sleep command
ping -n 5 127.0.0.1 > nul:
echo.About to run the dos2cygwin.sh BASH script.
echo.
REM Ping below provides a time delay like the sleep command
ping -n 5 127.0.0.1 > nul:
@echo on
bash -c "export LANG=C ; /usr/local/bin/dos2cygwin.sh"
@echo off
echo.
echo.Back in the batch file after running /usr/local/bin/dos2cygwin.sh
echo.
REM Ping below provides a time delay like the sleep command
ping -n 5 127.0.0.1 > nul:
echo.
echo.---
echo.Goodbye from the DOS batch file dos2cygwin.cmd
echo.---
echo.



2. Create this .sh script in /usr/local/bin/dos2cygwin.sh :

#!/bin/bash
echo
echo "+"
echo "Welcome to the Cygwin BASH script dos2cygwin.sh, called by dos2cygwin.cmd"
echo "+"
echo
sleep 5
echo "Here is a calendar for the current month"
cal
echo
sleep 7
echo "Let's see if port 445 is open on this Windows machine"
netstat -an | grep -w 445
sleep 5
echo
echo 
"+++"
echo "Goodbye from the Cygwin BASH script dos2cygwin.sh, called by
dos2cygwin.cmd"
echo 
"+++"
echo
sleep 2


3. At the Cygwin BASH prompt, set execute permission for dos2cygwin.sh

chmod +x /usr/local/bin/dos2cygwin.sh


4. Right click on the Windows desktop and create a new shortcut.

5. In the Type the location of the item field in the new shortcut,
paste in the following text, (adjusting for Windows 7's location of
CMD.EXE:)

C:\WINDOWS\system32\cmd.exe /c C:\cygwin\usr\local\bin\dos2cygwin.cmd

6. Click Next, then click Finish.

7. On the desktop, find the shortcut just made, double click, and the
script should run.

8. You can run this "manually" by opening a CMD.EXE window, and typing
the command line at the prompt:

C:\Users\Keith> C:\cygwin\usr\local\bin\dos2cygwin.cmd

9. DONE.


Let me know if this works out, have fun.

=Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



CMD.EXE able to create files in directories on a shared drive, but bash in cygwin is unable to

2011-05-12 Thread Keith Christian
This permissions problem has existed for awhile, and I'd like to find
a solution.

CMD.EXE is able to create files inside directories on a standard
Windows share, but from a Bash shell on Cygwin, a permission denied
message occurs, and this is in most if not all directories:

-bash: .cpan/build/foo2: Permission denied

Below are equivalent commands run first from a CMD.EXE window, which
succeeds, and below this from a Cygwin window, where I didn't used to
have problems on this shared drive but for the past few months it's
been a problem:

CACLS used to show directory permissions.

(kchristian@some-machine) /cygdrive/z>uname -a
CYGWIN_NT-5.1 some-machine 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin



==CMD.EXE==
===
Z:\.cpan\build>cacls z:\.cpan
z:\.cpan NGT\kchristian:(OI)(CI)C
 BUILTIN\Administrators:(OI)(CI)F
 NT AUTHORITY\SYSTEM:(OI)(CI)F


Z:\.cpan\build>cacls z:\.cpan\build
z:\.cpan\build NGT\kchristian:(OI)(CI)C
   BUILTIN\Administrators:(OI)(CI)F
   NT AUTHORITY\SYSTEM:(OI)(CI)F


Z:\.cpan\build>echo foo > foo


Z:\.cpan\build>cacls foo
Z:\.cpan\build\foo NGT\kchristian:C
   BUILTIN\Administrators:F
   NT AUTHORITY\SYSTEM:F


Z:\.cpan\build>dir foo
 Volume in drive Z has no label.
 Volume Serial Number is 9E50-161B

 Directory of Z:\.cpan\build

05/12/2011  09:33 AM 6 foo
   1 File(s)  6 bytes
   0 Dir(s)  1,174,419,517,440 bytes free




==BASH/CYGWIN==
===
(kchristian@some-machine) /cygdrive/z>ls -dl .cpan
drwx--+ 1 Administrators Domain Users 0 Mar 22 15:10 .cpan

(kchristian@some-machine) /cygdrive/z>ls -dl .cpan/build/
drwx--+ 1 Administrators Domain Users 0 May 12 09:33 .cpan/build/

(kchristian@some-machine) /cygdrive/z>ls -dl .cpan/build/foo
-rwx--+ 1 kchristian Domain Users 6 May 12 09:33 .cpan/build/foo

(kchristian@some-machine) /cygdrive/z>echo foo2 > .cpan/build/foo2
-bash: .cpan/build/foo2: Permission denied



==Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: CMD.EXE able to create files in directories on a shared drive, but bash in cygwin is unable to

2011-05-13 Thread Keith Christian
I asked our Windows admin to check permissions on the share.  They are
the same as everyone else's.

I tried this entry in /etc/fstab, closed all Cygwin Bash windows,
opened a window, unable to create files in /cygdrive/z or
subdirectories within.

Z: /cygdrive/z ntfs binary,noacl 0 0


Even when I own the directory, still cannot create anything within it.
 I don't understand why the directories all have 700 permission.  I
also can't chmod 755 any directories either:

Fri May 13 10:23:27 (kchristian@some-machine) /cygdrive/z>ls -dl vimfiles/
drwx--+ 1 kchristian Domain Users 0 Aug  9  2010 vimfiles/

Fri May 13 10:23:30 (kchristian@some-machine) /cygdrive/z>touch vimfiles/foo2
touch: cannot touch `vimfiles/foo2': Permission denied

Fri May 13 10:23:35 (kchristian@some-machine) /cygdrive/z>getfacl -a
-d ./vimfiles/
# file: ./vimfiles/
# owner: kchristian
# group: Domain Users


I may ask our Windows Admin to open a BASH window on my workstation
with "Run AsAdministrator" privileges, and ask him to chmod 755
all directories.


=Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



PostgreSQL Maintainer (Reini Urban)

2011-05-25 Thread Keith Christian
Renei, Any chance that we'd see a PostgreSQL 9.x Cygwin package anytime soon?

It's understood that all package maintainers are volunteers.  If that
isn't on your packaging list, do you have a set of detailed
instructions for how a Cygwin user could get the PG 9.x source and
produce an installable package on our own?  Seems that most or all
maintainers use Cygport, perhaps a general set of instructions already
exists?

Thank you.

==Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Writing to Windows Share issues fixed in cygwin1-20110829.dll.bz2

2011-09-15 Thread Keith Christian
I stumbled across the following snapshot, cygwin1-20110829.dll.bz2,
and now I can create files in a Windows Share that I haven't been able
to properly access from Cygwin in months!

Corinna, whatever changes you made to this snapshot have fixed the
problem for me, at least.  Hope they can be included in the next
official cygwin1.dll release.  Now I can start using the share from
Cygwin again.

Great news!

==Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Writing to Windows Share issues fixed in cygwin1-20110829.dll.bz2

2011-09-16 Thread Keith Christian
I was wrong.

Only some improvement using the cygwin1-20110829.dll.bz2 snapshot.
Problems still exist when trying to check in a file with RCS on this
Windows share.

Annotated test example below.  Apologies for not being brief.

Any ideas appreciated.  However, progress has been made with the 0829
snapshot, at least I can create files on this share..



# 1 - Comments: Verify the version of cygwin1.dll:

Fri Sep 16 10:24:20 (kchristian@laptop-pc) /cygdrive/z>uname -a
CYGWIN_NT-5.1 laptop-pc 1.7.10s(0.251/5/3) 20110829 15:53:50 i686 Cygwin




# 2 - Comments: Create a directory tree on the file share:

Fri Sep 16 10:24:29 (kchristian@laptop-pc) /cygdrive/z>mkdir -p foo/bar/baz




# 3 - Comments: Change to the "leaf" directory:

Fri Sep 16 10:25:33 (kchristian@laptop-pc) /cygdrive/z>cd foo/bar/baz




# 4 - Comments: Create a test file:

Fri Sep 16 10:25:52 (kchristian@laptop-pc)
/cygdrive/z/foo/bar/baz>pwd > testfile.1




# 5 - Comments: Cat the file to verify its contents:

Fri Sep 16 10:26:05 (kchristian@laptop-pc)
/cygdrive/z/foo/bar/baz>cat testfile.1
/cygdrive/z/foo/bar/baz




# 6 - Comments: Show file permissions and ownership:

Fri Sep 16 10:27:58 (kchristian@laptop-pc)
/cygdrive/z/foo/bar/baz>ls -l testfile.1
-rwx--+ 1 kchristian Domain Users 24 Sep 16 10:26 testfile.1




# 7 - Comments: See what Windows rights are:

Fri Sep 16 10:28:01 (kchristian@laptop-pc)
/cygdrive/z/foo/bar/baz>cacls testfile.1
Z:\foo\bar\baz\testfile.1 COMPANY_XYZ\kchristian:C
  BUILTIN\Administrators:F
  NT AUTHORITY\SYSTEM:F




# 8 - Comments: Create an RCS directory.

Fri Sep 16 10:31:12 (kchristian@laptop-pc) /cygdrive/z/foo/bar/baz>mkdir RCS




# 9 - Comments: Show the newly created RCS file permissions and ownership:

Fri Sep 16 10:31:24 (kchristian@laptop-pc)
/cygdrive/z/foo/bar/baz>ls -dl RCS/
drwx--+ 1 kchristian Domain Users 0 Sep 16 10:31 RCS/




# 10 - Comments: See what Windows rights are:

Fri Sep 16 10:31:33 (kchristian@laptop-pc) /cygdrive/z/foo/bar/baz>cacls RCS
Z:\foo\bar\baz\RCS COMPANY_XYZ\kchristian:(OI)(CI)C
   BUILTIN\Administrators:(OI)(CI)F
   NT AUTHORITY\SYSTEM:(OI)(CI)F




# 11 - Comments:  Check testfile.1 into RCS - first indication of
problems.  Unable to use the "testfile.1" name with a ",v" appended to
it:

Fri Sep 16 10:31:35 (kchristian@laptop-pc)
/cygdrive/z/foo/bar/baz>ci -l -m"Attempted check in using 20110829
Cygwin snapshot" -t-"Testing new cygwin snapshot to see if it fixes
Windows Share writing difficulties" ./testfile.1
./RCS/testfile.1,v  <--  ./testfile.1
initial revision: 1.1
ci: ./RCS/testfile.1,v: Permission denied
ci: saved in ./RCS/_0qrsNBd




# 12 - Comments: Directory listing of the temporary filename in RCS.
(The contents of _0qrsNBd are correct, howver.)

Fri Sep 16 10:32:06 (kchristian@laptop-pc)
/cygdrive/z/foo/bar/baz>ls -alrtR RCS
RCS:
total 1
drwx--+ 1 kchristian Domain Users   0 Sep 16 10:31 ..
-rwx--+ 1 kchristian Domain Users 338 Sep 16 10:32 _0qrsNBd
drwx--+ 1 kchristian Domain Users   0 Sep 16 10:32 .




# 13 - Comments: Cygwin's interpretation of ACL's of the RCS directory:

Fri Sep 16 10:32:37 (kchristian@laptop-pc)
/cygdrive/z/foo/bar/baz>getfacl RCS
# file: RCS
# owner: kchristian
# group: Domain Users
user::rwx
group::---
group:root:rwx
group:SYSTEM:rwx
mask:rwx
other:---
default:user::rwx
default:user:kchristian:rwx
default:group::---
default:group:root:rwx
default:group:SYSTEM:rwx
default:mask:rwx
default:other:---




# 14 - Comments: DONE.



==Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Double click to select within VIM behavior change

2011-12-28 Thread Keith Christian
Fellow Cygwin Denizens,

As we all know, when viewing a file with the "less" command, it's
possible to double click on text in order to select/copy, and paste
elsewhere at the command line or in another application (Word,
Notepad, etc.)

As recently as the last month or 6 weeks, this handy "shortcut" method
of selecting text from the VIM buffer has vanished.

It was possible to do this after issuing the ":g:" command to VIM:

":g:arbitrary_text"

would display lines containing "arbitrary_text" in the VIM buffer.

Double clicking words or lines filtered by ":g:" would select the
arbitrary_text string when it was double clicked, and it could be
pasted elsewhere in the VIM window or in any other application (Word,
Notepad, etc.)

NOTE  I'm not talking about double clicking text in the VIM window
that turns on the "-- VISUAL --" selection indicator, since that
operates solely within the VIM editor, and does not allow pasting the
selected text elsewhere.

VIM no longer behaves this way.  Has there been a change in VIM or in
the way Cygwin handles text in Mintty or PuttyCYG windows?

Brief info:
uname -aCYGWIN_NT-6.1 KCHRISTIAN 1.7.9(0.237/5/3) 2011-03-29
10:10 i686 Cygwin
winProductNameMicrosoft Windows 7  Service Pack 1 (build 7601)
mintty --versionmintty 1.0.2
PuTTYCyg20101029
vim --versionVIM - Vi IMproved 7.3 (2010 Aug 15, compiled Nov
23 2011 03:12:07)


Thanks, all.

Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



dig and host not returning output in bind-utils-9.10.2-1

2015-06-19 Thread Keith Christian
Tried to continue the previous thread but large attachments destroyed
the thread.

Updated to bind-utils-9.10.2-1 and neither dig nor host returns
output.  There is a pause of about 0.7 seconds while dig runs.

Strace shows quite a bit of dig activity but nothing returned.

Anyone else having this issue?


Fri 06/19/2015 14:12:26.07 c:\users\keith>c:\cygwin\bin\bash.exe -c "uname -a"
CYGWIN_NT-6.1-WOW north-division 2.0.4(0.287/5/3) 2015-06-09 12:20 i686 Cygwin

Fri 06/19/2015 14:12:28.88 c:\users\keith>c:\cygwin\bin\bash.exe -c "echo hello"
hello

Fri 06/19/2015 14:12:31.11 c:\users\keith>c:\cygwin\bin\bash.exe -c
"dig google.com"

Fri 06/19/2015 14:12:42.31 c:\users\keith>c:\cygwin\bin\bash.exe -c
"/bin/dig.exe google.com"

Fri 06/19/2015 14:12:46.32 c:\users\keith>

Fri 06/19/2015 14:12:46.32 c:\users\keith>nslookup google.com
Server:  ns01.northdivision.f0ocorp.com
Address:  www.xxx.yyy.zzz

Non-authoritative answer:
Name:google.com
Addresses:  2607:f8b0:400f:803::200e
  216.58.217.46


I have removed and reinstalled bind-9.10.2-1 and bind-utils-9.10.2-1,
rebooted, no success.  I also verified that dig and host had been
removed by attempting to execut
e them after removal, got -bash: dig: command not found so I know it
was positively removed.

Ideas?

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: dig and host not returning output in bind-utils-9.10.2-1

2015-06-19 Thread Keith Christian
On Fri, Jun 19, 2015 at 3:36 PM, Yaakov Selkowitz  wrote:
> On Fri, 2015-06-19 at 14:24 -0600, Keith Christian wrote:
>> Updated to bind-utils-9.10.2-1 and neither dig nor host returns
>> output.  There is a pause of about 0.7 seconds while dig runs.
>>
>> Strace shows quite a bit of dig activity but nothing returned.
>>
>> Anyone else having this issue?
>
> WFM.  If you have an /etc/resolv.conf, try removing it.  Otherwise,
> check for BLODA or firewall settings?
>
> --
> Yaakov


Thanks for the reply, Yakkov.

No /etc/resolv.conf on the machine exists.

nmap -sL resolves without issues as does nslookup under CMD.EXE.

Dig and Host were working until this recent update.  Would an strace
be of any help?

Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: ldd freezes

2015-07-20 Thread Keith Christian
Trouble here as well.  Runs for awhile and hangs.

Output of strace ldd /bin/cygkdb5-7.dll attached for perusal.

On Mon, Jul 20, 2015 at 3:46 AM, Corinna Vinschen
 wrote:
> On Jul 20 11:25, Marco Atzeri wrote:
>> on
>> CYGWIN_NT-6.1-WOW 2.1.0(0.287/5/3) 2015-07-14 21:26 i686 Cygwin
>>
>> Only on this specific lib, ldd freezes
>> $ ldd cygkdb5-7.dll
>>
>>
>> while cygcheck has no problem
>> $ cygcheck ./cygkdb5-7.dll |grep -vi windows
>> E:\cygwin\bin\cygkdb5-7.dll
>>   E:\cygwin\bin\cyggssrpc-4.dll
>> E:\cygwin\bin\cyggssapi_krb5-2.dll
>>   E:\cygwin\bin\cygk5crypto-3.dll
>> E:\cygwin\bin\cygkrb5support-0.dll
>>   E:\cygwin\bin\cygwin1.dll
>>   E:\cygwin\bin\cygintl-8.dll
>> E:\cygwin\bin\cygiconv-2.dll
>>   E:\cygwin\bin\cygkrb5-3.dll
>> E:\cygwin\bin\cygcom_err-2.dll
>>   E:\cygwin\bin\cyggcc_s-1.dll
>>
>>
>> Just mine ?
>
> No, mine too.  Weird...
>
>
> Corinna
>
> --
> Corinna Vinschen  Please, send mails regarding Cygwin to
> Cygwin Maintainer cygwin AT cygwin DOT com
> Red Hat
--- Process 904 created
--- Process 904 loaded C:\Windows\SysWOW64\ntdll.dll at 77C3
--- Process 904 unloaded DLL at 7783
--- Process 904 unloaded DLL at 7706
--- Process 904 unloaded DLL at 7783
--- Process 904 unloaded DLL at 7795
--- Process 904 loaded C:\Windows\SysWOW64\kernel32.dll at 7706
--- Process 904 loaded C:\Windows\SysWOW64\KernelBase.dll at 771D
--- Process 904 loaded C:\Windows\SysWOW64\sysfer.dll at 74FC
--- Process 904 loaded C:\cygwin\bin\cygwin1.dll at 6100
--- Process 904 loaded C:\Windows\SysWOW64\psapi.dll at 77C0
1   1 [main] ldd (904) **
  146 147 [main] ldd (904) Program name: C:\cygwin\bin\ldd.exe (windows pid 
904)
   91 238 [main] ldd (904) OS version:   Windows NT-6.1
   70 308 [main] ldd (904) **
  112 420 [main] ldd (904) sigprocmask: 0 = sigprocmask (0, 0x0, 0x612B3B08)
  430 850 [main] ldd 904 open_shared: name shared.5, n 5, shared 0x60FF 
(wanted 0x60FF), h 0x84, *m 6
   84 934 [main] ldd 904 user_heap_info::init: heap base 0x8000, heap 
top 0x8000, heap size 0x1800 (402653184)
   871021 [main] ldd 904 open_shared: name 
S-1-5-21-2052111302-448539723-1801674531-969217.1, n 1, shared 0x60FE 
(wanted 0x60FE), h 0x7C, *m 6
   721093 [main] ldd 904 user_info::create: opening user shared for 
'S-1-5-21-2052111302-448539723-1801674531-969217' at 0x60FE
   721165 [main] ldd 904 user_info::create: user shared version AB1FCCE8
   891254 [main] ldd 904 fhandler_pipe::create: name 
\\.\pipe\cygwin-c5e39b7a9d22bafb-904-sigwait, size 5412, mode PIPE_TYPE_MESSAGE
   671321 [main] ldd 904 fhandler_pipe::create: pipe read handle 0x98
   431364 [main] ldd 904 fhandler_pipe::create: CreateFile: name 
\\.\pipe\cygwin-c5e39b7a9d22bafb-904-sigwait
   971461 [main] ldd 904 fhandler_pipe::create: pipe write handle 0x9C
   441505 [main] ldd 904 dll_crt0_0: finished dll_crt0_0 initialization
--- Process 904 thread 5952 created
  3261831 [main] ldd 904 time: 1437394222 = time(0x0)
   921923 [main] ldd 904 mount_info::conv_to_posix_path: conv_to_posix_path 
(C:\cygwin\home\6p6aj8sE, no-keep-rel, no-add-slash)
   481971 [main] ldd 904 normalize_win32_path: C:\cygwin\home\6p6aj8sE = 
normalize_win32_path (C:\cygwin\home\6p6aj8sE)
   382009 [main] ldd 904 mount_info::conv_to_posix_path: /home/6p6aj8sE = 
conv_to_posix_path (C:\cygwin\home\6p6aj8sE)
   512060 [main] ldd 904 sigprocmask: 0 = sigprocmask (0, 0x0, 0x800180A8)
 -2221838 [sig] ldd 904 wait_sig: entering ReadFile loop, my_readsig 0x98, 
my_sendsig 0x9C
  3282166 [main] ldd 904 _cygwin_istext_for_stdio: fd 0: not open
   222188 [main] ldd 904 _cygwin_istext_for_stdio: fd 1: not open
   172205 [main] ldd 904 _cygwin_istext_for_stdio: fd 2: not open
   572262 [main] ldd (904) open_shared: name cygpid.904, n 904, shared 
0x60FD (wanted 0x60FD), h 0xC4, *m 2
   222284 [main] ? (904) time: 1437394222 = time(0x0)
   192303 [main] ldd 904 pinfo::thisproc: myself dwProcessId 904
   532356 [main] ldd 904 environ_init: GetEnvironmentStrings returned 
0x4B8C08
   322388 [main] ldd 904 environ_init: 0x80028290: !::=::\
   302418 [main] ldd 904 environ_init: 0x800282A0: 
ALLUSERSPROFILE=C:\ProgramData
   292447 [main] ldd 904 environ_init: 0x800282C8: 
APPDATA=C:\Users\HFx20vfu\AppData\Roaming
   292476 [main] ldd 904 environ_init: 0x80028300: 
8MPb84ec_AR_SYSTEM_HOME=C:\Program Files (x86)\8MPb84ec Software\ARSystem
   312507 [main] ldd 904 environ_init: 0x80028348: CLIENTNAME=Lx6dK1Z2
   302537 [main] ldd 904 environ_init: 0x80028368: 
COMMONPROGRAMFILES=C:\Program Files (x86)\Common Files
   302567 [main] ldd 904 environ_init: 0x800283A8: COMPUTERNAME=ES86NOVW
   2925

Re: [ANNOUNCEMENT] Updated: fzf v0.11.0

2015-11-23 Thread Keith Christian
On Mon, Nov 23, 2015 at 3:39 PM, Adam Dinwoodie  wrote:
> fzf 0.11.0 has been uploaded and should be coming soon to a mirror near
> you.  This update includes the following packages:
>
> -   fzf
> -   fzf-bash
> -   fzf-bash-completion
> -   fzf-zsh
> -   fzf-zsh-completion
> -   fzf-fish
> -   fzf-vim
>
> This is an update to the latest upstream release; the upstream changelog
> for this release is copied below:
>
> - Added OR operator for extended-search mode
> - Added `--execute-multi` action
> - Fixed incorrect cursor position when unicode wide characters are used in
>   `--prompt`
> - Fixes and improvements in shell extensions
>
> Enjoy!
>
> --
> Problem reports:   http://cygwin.com/problems.html
> FAQ:   http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>


Thanks, Adam.  Should we see this "$(__fzf_history__)" string at the
end of the command prompt after typing Ctrl-R and a partial previous
command?

Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: control-R broken in bash (__fzf_history__)

2015-12-02 Thread Keith Christian
> If you want to keep installing everything but want to maintain existing
> Ctrl-R behaviour, your best bet is to explicitly bind Ctrl-R to the Bash
> reverse-search function.  You can do this by adding the following line
> to your .bashrc, which (unless you're doing something odd) is executed
> after the contents of /etc/profile.d:
>
> bind '\C-r:reverse-search-history'
>
> Adam

Thank you, Adam.

I asked an earlier question about fzf (different thread,) so I
followed this with interest. The bind entry for ~/.bashrc works fine.

Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [ANNOUNCEMENT] Updated: mksh-52b-1

2016-02-17 Thread Keith Christian
On Wed, Feb 17, 2016 at 2:53 PM, Chris Sutcliffe  wrote:
> Version 52b-1 of "mksh" has been uploaded.

Thank you, Chris, for resuming as mksh maintainer.

Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: [ANNOUNCEMENT] Updated: irssi-0.8.18-1

2016-03-03 Thread Keith Christian
>  http://www.irssi.org/news/ChangeLog

Marco,

Thanks for maintaining the irssi package for Cygwin.  The above
ChangeLog link yielded "404 not found" so I took the liberty of going
to:

http://www.irssi.org/news/

which suggested this NEWS link:

https://raw.githubusercontent.com/irssi/irssi/0.8.18/NEWS

The above link has content that looks more likeChangeLog data.

See what you think.


Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Cygcheck says w3m 0.5.3-1 package incomplete, file type mismatch messages

2012-10-24 Thread Keith Christian
On Tue, Oct 23, 2012 at 4:18 PM, Keith Christian
 wrote:
> w3m works, but appears to run slowly after the last update.  While
> comparing the output of "cygcheck -s -r -v" I noticed some
> differences.

The slowness mentioned above is the delay before the web page is
displayed, even when looking at a local file.  It's noticeably slower
to display than the previous version (I'm running 0.5.3-1 as mentioned
above.)  After the page (http or local .html file) loads, w3m is it's
normal self.

I have more info:  If I pipe the output of w3m to "less" or redirect
it to a file, w3m runs at its usual blazing speed.  Something
associated with redirecting the output speeds things up.

Summarizing: "w3m foo.html" has a second or two delay, but "w3m
foo.html > foo.output"or "w3m foo.html | less" is near-instantaneous.


Thanks, everyone.

Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Cygcheck says w3m 0.5.3-1 package incomplete, file type mismatch messages

2012-11-02 Thread Keith Christian
On Thu, Oct 25, 2012 at 9:20 AM, Bob Heckel  wrote:
> I just noticed that uninstalling w3m-img reduces w3m's local file load time.
>
> Still working on repackaging to possibly address the other issue.


Hi Bob,

I have some timing data courtesy of Sysinternals Procmon that has the
time from invocation of w3m to display at 6 to 7 seconds, if that
helps any.  Package: w3m-0.5.3-2 was installed a few days ago, haven't
noticed any load time changes (the test this morning was on a 28 kb
local HTML file to avoid any network delay factors.

No hurry, if you ever find out the issue (assuming it' reproducable on
your machine) it'd be interesting to know,

The machine I'm using is a Windows 7 64 bit, 3 Ghz, 3+ Gig machine, so
it should be sufficient for the task.

Thanks for your efforts and investigations.

Keith

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



  1   2   3   >