Re: windows-to-windows openssh buffering issue

2011-06-20 Thread DePriest, Jason R.
On Mon, Jun 20, 2011 at 8:36 AM, Larry Hall (Cygwin)  wrote:
 On 6/19/2011 4:36 AM, Nathan Ridge wrote:
 What I meant was, is it possible to write a different SSH server
 implementation
 for windows - perhaps a native one - that doesn't suffer from this
 problem?
 (And if so, do you know of one?) Or would all attempts at an SSH server
 implementation run into this issue?

 ptys are a means to an end.  They are not a requirement to implement SSH
 or anything else for that matter, if that's what you're asking.  I'm not
 aware of many other SSH implementations on Windows.  MKS and SFU each
 have one.  I haven't used them though.

 --
 Larry

Tectia (owner of the ssh.com URL) sells a product that isn't based on
OpenSSH at all.  It isn't free or open source so you'll have to give
them money, but if you want to read up on it, here is their website:
http://www.tectia.com/en/en.iw3

It's been years since I've used it.  I used it before they changed
their name to Tectia but I'm pretty sure it is still SSH under the
hood.

-Jason

--
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: Pining Cygwin in Windows 7?

2011-02-27 Thread DePriest, Jason R.
On Sun, Feb 27, 2011 at 12:44 PM, Charles Wilson  wrote:

 Try installing mintty, then launching
   C:\cygwin\bin\mintty.exe -
 (e.g. with the argument '-') as your pin. (I don't know much about W7,
 but at least you'd be starting an executable instead of a batch file).

 --
 Chuck

You don't need to create any special shortcut to launch it.

Launching mintty from the shortcut that is added when you install it
and then pinning the resultant box to the task bar works for me on
Windows 7 Home Premium 64-bit SP1.

-Jason

--
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: Network drives ssh access

2010-08-24 Thread DePriest, Jason R.
On Tue, Aug 24, 2010 at 3:57 PM, Quanah Gibson-Mount  wrote:
 --On Tuesday, August 24, 2010 4:49 PM -0400 Larry Hall (Cygwin) wrote:
 I've yet to get net use to work for me via cygwin.

 net use Z: \\W.X.Y.Z\Share password

Use forward slash or escape the back-slashes.

So, you'd try
net use Z: //W.X.Y.Z/Share password
or
net use Z: W.X.Y.Z\\Share password

Backslash is the escape character for bash.

-Jason

--
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 UNIX FILE PATH LEAVES FILES UNDELETABLE THROUGH WIN7

2010-08-12 Thread DePriest, Jason R.
On Thu, Aug 12, 2010 at 11:53 AM, Richard Stern  wrote:
 I had uninstalled the total cygwin package by deleting all the directories
 made for this software, because cygwin did not show in the list of installed
 programs
 in the Control Panel utility Programs  Features in Windows 7 OS. After
 the deletions, only one directory and file were unable to be deleted,
 the file named  nul  in the directory  dev . A popup window notified me
 of the problem but was not specific.
 After much brainstorming, I booted up into a LINUX environment, located the
 /my Cplus dir/dev/nul directory
 and file. Using the file manager, I was able to delete the items.

 I have read  browsed much of the documentation, at the moment, that's
 possible and tried to be sure this issue hasn't been covered.
 I believe that is the case. I'm a retired NASA contractor. UNIX System
 Administrator for Real-Time Systems being one of my task, I hope
 this has given me enough knowledge to know when I need further assistance.

 I tried to subscribe to the cygwin.com mailing list. But the email returned
 with an unknown address error. I have recheck this address
 cygwin-subscr...@cygwin.com and still returns a failure notice.

 Thank You for your time for reading this and any assistance you may offer.

                   Richard Stern

http://cygwin.com/faq/faq-nochunks.html#faq.setup.uninstall-all  best
steps to follow to completely remove it

http://cygwin.com/faq/faq-nochunks.html#faq.using.dos-filenames 
brief mention of using special file names like AUX, COM, etc

http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-dosdevices
 another mention of those special file names

--
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 UNIX FILE PATH LEAVES FILES UNDELETABLE THROUGH WIN7

2010-08-12 Thread DePriest, Jason R.
 The directory D:\Cplus I created during setup. the \dev\ directory was
 created by the installation along with the file named nul. Is it possible
 that setup misnamed
 this file nul when it should have reflected the POSIX \dev\null WIN32
 substitute?

 Also, in my last email I listed some errors which were cut form your reply,
 concerning  abnormal exit: exit code=126  abnormal exit: exit code=127
 What are these errors? I wouldn't bother you with this but I found no
 definitive answers while searching through the cygwin mail archives.

 In addition I need to resolve the problem I'm having with subscribing to the
 email message board. Is the following address correct?
 cygwin-subscr...@cygwin.com

 Regards... Richard


See http://www.cygwin.com/ml/cygwin/2010-04/msg01047.html for
suggestions on why you are getting the abnormal exit codes.  Also,
this 
http://www.google.com/search?q=site%3Acygwin.com%20inurl%3Aml%2F%20abnormal%20exit

I don't know why are having problems subscribing to the list.

I don't know why you had the problem with /dev/nul

-Jason

--
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: PCYMTNQREAIYR Re: Setup.exe update confusion

2010-08-05 Thread DePriest, Jason R.
On Thu, Aug 5, 2010 at 11:51 AM, David Balažic  wrote:
 On 5 August 2010 18:37, Larry Hall (Cygwin)  wrote:
 On 8/5/2010 12:24 PM, David Balažic wrote:

 On 5 August 2010 18:00, Larry Hall (Cygwin)
   wrote:

  ^^
 http://cygwin.com/acronyms/#PCYMTNQREAIYR  Thanks.

 Without concrete advice that link doesn't do much.
 An average Joe has no idea what configuring means anyway, let alone
 being able to do such a change.

 For example, how do I do that in gmail?

 I am an advanced user, but can't find anything related in Settings.

 Regards,
 David

In Gmail, I do it manually.  It only takes a few seconds.

However, I did just submit an enhancement request for an option to
auto-obfuscate email addresses in forwards and replies.

-Jason

--
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: Resizing problem

2010-07-16 Thread DePriest, Jason R.
On Fri, Jul 16, 2010 at 4:40 PM, Olwe Melwasul  wrote:
 I'd say offer tutorials and guides that include known issues. This
 is very common in other OS projects. Do some hand-holding on-line.
 Don't patronize people. And no, man pages are not suited for newbies
 as guides or tutorials. They're for pros who know what they're doing.


I frequently learn almost everything I need to know about an
application by using its man pages as well as its info doc if it has
it.  One of the finest moments in my introduction to *nix was when I
discovered I could learn about any command by simply typing 'man
command'.  I'd love it if Windows had a similar feature.

Not to be patronizing, but by definition, if someone knows what they
are doing, they won't check out a man page anyway.

If you want to know about Cygwin try the Cygwin User's Guide
http://cygwin.com/cygwin-ug-net/cygwin-ug-net.html.  It has plain
English explanations about how Cygwin works.  There is also the FAQ
http://cygwin.com/faq.html which may answer some of the whys or why
nots that the UG skims over.

I read the UG and FAQ a few times a month and I always find what I am
looking for or learn something new.

If you want to get deep into Cygwin's past, I'd suggest doing a custom
Google search with 'site:cygwin.com/ml/cygwin' to search strictly the
mailing list archives.

Finally, if you *do* happen to find any tutorials about how to do
things with Cygwin and they aren't on the cygwin.com website, they are
probably outdated and are definitely not supported by the Cygwin core
team.  For example, I know there are several old tutorials on getting
ssh to work with Cygwin.  They are wrong.

Oh, Cygwin specific bits of trivia about installed packages can be
found in /usr/share/doc/Cygwin.

Again, don't dis' the man page.  Try 'man bash' or 'man grep' for
examples of excellent man pages with examples and detailed
explanations.  If you have it installed, try 'man nmap'; the source of
the man page is the same source used to build the online
documentation.

'man' is one of the most useful commands there is.  Please don't
discount it as some esoteric, propeller head gizmo.

-Jason

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



Re: Minimal setup to build apps from source?

2010-07-16 Thread DePriest, Jason R.
On Thu, Jul 15, 2010 at 7:17 PM, Monte Cabet  wrote:
 I always hear some applications thrown out there that you should have to
 build software from source like gcc and vim, but is there a more complete
 list of what is required? I built up somewhat of a list for myself to track
 what I've installed, but there seems to be a lot of missing points. Some of
 the list is as follows (there is tons more, but this is what I feel this
 necessary as of now):
 ncureses
 libncurses-devel
 ncursesw
 libncursesw-devel
 make
 patchutils
 gcc
 gcc-mingw
 zip
 unzip
 xorg-server
 xinit
 inetutils (for telnet)
 openssh
 nano
 git
 cvs
 subversion
 ruby

 If I, and everybody else who needs, can get some help to atleast build some
 of the applications that everybody wishes that would be very beneficial!
 Thank you.


That's going to vary from person to person and from package to
package.  For example, I don't use cvs or subversion most of the time
because I am behind a proxy server that doesn't play nice.  I just use
wget, which isn't even on your list.

Also, there are bison and flex and automake which make things easier.
The dev package for openssl should be on your list, too.

You have zip and unzip, but not gzip or bzip2 listed.

Don't forget the gtk dev libraries.

I have no idea why xorg-server or xinit would be required to build
anything.  If you are building X packages you'd need the libs for
them, not the actual programs themselves.

I never build non-native Cygwin apps from Cygwin, so I have no use for
mingw stuff.  If I want to build a Windows app, I use Visual Studio
for it.

But I agree with Larry.  It depends on what sort of software you are
going to be building.  You could select every library and every
development package presented by setup.exe.

-Jason

--
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: runas, su, sudo

2010-07-15 Thread DePriest, Jason R.
On Thu, Jul 15, 2010 at 1:31 PM, Lukas Haase  wrote:
 Hi,

 Is there any (working) way to change privileges in cygwin?

 Regards,
 Luke



Try this: http://www.cygwin.com/faq/faq.using.html#faq.using.su

It tells you to use s...@localhost but has a link to some mailing list
archives that explain why su / sudo can't work properly.

-Jason

--
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 Server 2008 64-bit setup.exe/bash problem - Amazon Cloud

2010-07-15 Thread DePriest, Jason R.
On Thu, Jul 15, 2010 at 10:44 AM, Ernest Mueller  wrote:
 Michael, did you ever find a fix for this?  I had to give up on cygwin on
 the Amazon 64-bit and instead cobbled together freesshd and random
 freewares.

 Larry or others - what's the right way to report this as a bug?  I think
 working on newer 64-bit OSes is pretty important...  And it should be
 trivial to reproduce since the Amazon instances are publicly available;
 nobody has to actually buy them expensive licenses...

 Thanks,
 Ernest

It isn't all newer 64-bit OSes because I run Cygwin 1.7 on my
Windows 7 Home Premium 64-bit OS with no problems at all.

-Jason

--
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: Mirrors

2010-07-13 Thread DePriest, Jason R.
On Tue, Jul 13, 2010 at 9:49 AM, Tekerman Romanov  wrote:
 Hi, I'm not able to find e-mail where I could ask
 Sourcemaster is also the place to send requests to be added to this list.
 Who is this sourcemaster?
 Thank you.

Hello Tekerman,

The mirror page on the site cygwin.com asks you to send a message to
'sourcemaster at this site'.

If you put the name together with the domain, I think you get the
email address you need to use.

I am not putting it in this email because I don't want to be
responsible for that address getting spammed.

Thanks.

-Jason

--
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: configure rxvt on cygwin 1.7.5

2010-07-08 Thread DePriest, Jason R.
On Thu, Jul 8, 2010 at 4:22 PM, philippe  wrote:
 Jeremy Bopp a écrit :
 [...] However, if rxvt used to work for you under Cygwin 1.5, you might be
 able to make it happy again by changing your LANG setting to LANG=C.

 No, i don't know where to modify this option LANG :-)

 I highly recommend mintty.

 ok, mintty is distributed with cygwin and seems to be a nice terminal.
 I've search a little about mintty configuration, i understand that i've
 to move ~/.profile to ~/.minttyrc, but it's not sufficient to traduce in
 a mintty syntax my ~/.Xdefault or the command below :


 rxvt -fn -*-Courier-medium-r-*-18-*-*-*-*-iso8859-1 -geometry 90x30
 -sr -bg #d5 -fg black -sl 8000 -termName rxvt -e /usr/bin/bash
 --login -i


 Do you know a good tutorial to configure mintty or can you help me!

 Thank's,

 Philippe.

Hello Philippe.

If you run mintty and click on the icon in the upper left, you will
see that an 'Options' option is available.

Most of what you want can be set up in there and it will be saved to
your .minttyrc file automatically.

-Jason

--
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: Using cron with network share

2010-06-22 Thread DePriest, Jason R.
On Tue, Jun 22, 2010 at 1:26 PM, Larry Hall (Cygwin)  wrote:
 On 6/22/2010 2:20 PM, Oren Cheyette wrote:

 I did finally get it to work by using the UNC path. I had thought that it
 was
 always preferable to use a unix-style path, particularly since cygwin now
 warns about using W32-style paths.

 If you're talking about using '\' as the path separator, yes, it is always
 preferable to use '/' instead.  However, with Cygwin, there is no reason
 you cannot use '/' for UNC paths, just like you can with DOS-like paths
 that Cygwin typically permits (i.e. C:/local/directory).

 Thanks very much for the help.

 Glad I could help.

 --
 Larry Hall                              http://www.rfk.com
 RFK Partners, Inc.                      (508) 893-9779 - RFK Office
 216 Dalton Rd.                          (508) 893-9889 - FAX
 Holliston, MA 01746

I always use forward slashes for UNC paths in Cygwin.

Typing 'ls //someserver/someshare' is much easier to look at than 'ls
someserver\\someshare' don't you think?

Although hitting the hidden admin shares does require a slash 'ls
//someserver/ADMIN\$'

-Jason

--
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: Fortune and the fortune startrek command

2010-06-22 Thread DePriest, Jason R.
On Tue, Jun 22, 2010 at 1:38 PM, Alexander T  wrote:
 Lets all say it together
 One more time
 Now cover your eyes and see if you can say it without reading it
 Close enough.

 Humorous? To me, as a newcomer, no. Funny? Hardly. Insulting? I would
 say so. I don't mind jokes and hints, but I must say that that is a
 pretty depreciative answer to someones positive and frankly quite
 cheerful question.

http://cygwin.com/acronyms/#WJM

--
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.5, 'id -ng' fails when /etc/group is a symlink

2010-06-22 Thread DePriest, Jason R.
On Tue, Jun 22, 2010 at 10:57 PM, Ken  wrote:
 I was of the understanding that junctions were not supported over a CIFS
 share (my ultimate target; as with 1.5x).  Perhaps you have information to
 the contrary?

 Since I have to manage the Win XP side for the foreseeable future, it
 appears that I will have to adopt another methodology to centrally manage
 these files due to the new 1.7x symlink implementation.

 That said, I still think Cygwin is GREAT!

 Thank you again,
 Ken


I looked up some information on NTFS junction points.

From Wikipedia: Junction points can only link to directories on a
local volume; junction points to remote shares are unsupported.

You could try Microsoft DFS which *does* support network mounts.

You could also try fsutil to create a hard link to the /etc/group file
(http://technet.microsoft.com/en-us/library/cc788097%28WS.10%29.aspx).

--
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: 'cp' utility bug when dest-name.exe file exist.

2010-06-08 Thread DePriest, Jason R.
On Tue, Jun 8, 2010 at 10:42 AM,  risin...@nationwide.com wrote:
 I disagree.  This seems to me to be adopting the Microsoft policy of doing
 the user's thinking for them:  I don't care what they want - we know
 what's best for them.  If a person wants to have foo and foo.exe in
 the same directory, that should be allowed.  A few times getting tripped
 up by the wrong thing executing will be a good life lesson for the person,
 and teach about how different operating systems work to boot.  Should I
 create foo as an executable, and foo.exe exists, then if I want to run
 foo.exe, I should have to call it out specifically.  I can see this
 might cause some confusion should, unbeknownst to the user, foo.exe
 exists earlier in the path than foo, but that would become an
 education on how to use the PATH variable.  This confusion arises
 from Cygwin's kowtowing to Microsoft's dubious idea of using extensions to
 control the handling of files.

If you took away Cygwin's .exe extension handling and just relied on
file permissions like Unix, then using Cygwin tools from a cmd.exe
prompt would become problematic.

Windows wants that .exe (or .bat or .cmd or .msi, etc) extension and
doesn't give a whip if you chmod a file's permissions +x.  Without an
extension, Windows has no idea what to do with the file.

That's fine if you never do anything with Cygwin commands outside of a
Cygwin shell, but I don't think this is a globally desirable
behaviour.

-Jason

--
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: command not found-For All Commands

2010-06-01 Thread DePriest, Jason R.
 I am very suspicious of anything that Windows 7 might suggest with
 respect to Cygwin.
 On what basis does Win 7 claim that Cygwin was not installed correctly,
 and how on earth can Win 7 hope to correct this for you?

 I would suggest un-installing Cygwin, then from Cygwin setup
 once again installing Cygwin, and then strenuously avoiding
 any suggestions from Win 7 that it knows better than Cygwin
 about Cygwins own installation.

 --

I think one of the reasons that Windows 7 is detecting a problem is
because he ran a program called 'setup.exe' but it didn't create an
entry in Add/Remove Programs.

Just ignore it.

Maybe there is something that could be added to the .manifest that
would make the message never appear?  I do not know.

-Jason

--
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 find documentation on cron command

2010-03-21 Thread DePriest, Jason R.
On Sun, Mar 21, 2010 at 11:29 PM, Paul McFerrin  wrote:
 I've delayed many months for installing the /usr/sbin/cron.exe command.
  Mainly due to lack of documentation.

Are you saying that 'man cron' and 'man crontab' don't do anything for you?

Install cron and you get
man 1 cron
man 5 crontab
man 8 crontab

-Jason

--
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: setfacl fails to replace ACLs when given a pathname starting with a drive letter

2010-03-10 Thread DePriest, Jason R.
On Wed, Mar 10, 2010 at 3:43 PM, Francis Litterio  wrote:
 I notice that setfacl does not change the ACLs of a file when given a pathname
 starting with a drive letter (e.g., c:/temp/zzz), but it will work when given 
 a
 UNIX-style pathname (e.g., /cygdrive/c/temp/zzz).  Example below.  Is this a
 known problem?
 --
 Fran

I'm pretty sure it is more of a feature than a problem.

The path of c:/temp/zzz doesn't have any meaning in POSIX.  I suppose
we're lucky Cygwin supports that format for *any* actions.

-Jason

--
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: setfacl fails to replace ACLs when given a pathname starting with a drive letter

2010-03-10 Thread DePriest, Jason R.
 But it used to work.  I noticed this after updating to the latest release.

 If the drive-letter form of the pathname is not acceptable to the tool, it
 should complain, but (like most Cygwin utilities) it probably doesn't care 
 about
 the syntax of the pathname, as long as open(2) accepts it.
 --
 Fran

According to http://cygwin.com/cygwin-ug-net/using.html#using-pathnames,
Cygwin supports both Win32 and POSIX file paths and they are
translated internally on-the-fly as needed.

It also specifically mentions this:
POSIX operating systems (such as Linux) do not have the concept of
drive letters. Instead, all absolute paths begin with a slash (instead
of a drive letter such as c:) and all file systems appear as
subdirectories (for example, you might buy a new disk and make it be
the /disk2 directory).

By the way, when you said updating to the latest release do you mean
you upgraded a 1.5 installation to 1.7.1 or a 1.7.1 to some newer
version of 1.7.1?

I ask because 1.5 stored mount table information in the Windows
registry and 1.7.x uses an /etc/fstab file which you can read about
here http://cygwin.com/cygwin-ug-net/using.html#mount-table and here
http://cygwin.com/cygwin-ug-net/using-utils.html#mount

-Jason

--
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: Resolving '????????' users and groups

2010-03-02 Thread DePriest, Jason R.
On Tue, Mar 2, 2010 at 4:24 PM, Wes Barris  wrote:
 mkpasswd -d would return all of the domain users (we have thousands).
 However, I know that these files are not owned by anyone else.
 The files in question are coming from a samba share (mapped network
 drive) served from a Linux system.

 Isn't there a way so see the SID of a file?

 --
 Wes Barris

You can use ls -n to see the user unique part of the SID or use the
Windows tool cacls to see the names in human readable format.

Using cacls is easier.

With ls -n you still have to reverse engineer the full SID and then
use some other tool to convert it to a user or group name.  Or use
mkpasswd / mkgroup to dump the entire domain and grep it for the bit
of SID you have.

-Jason

--
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: Setup.exe does not work.

2010-02-20 Thread DePriest, Jason R.
On Sat, Feb 20, 2010 at 12:35 PM, Chris Stafford  wrote:
 All,

 I downloaded and ran setup.exe. I have Windows Vista x64. I get to the part 
 that wants to pick a download site. None are listed, it should automatically 
 find the sites for me. Anyways, I go back to your site, find a mirror then 
 click on it. Example: http://mirror.cs.vt.edu/pub/cygwin/cygwin/. I then copy 
 from the address bar and past it into the setup.exe and click add. I am not 
 typing it. I then click next. I get an error that says Unable to get 
 setup.ini from http://mirror.cs.vt.edu/pub/cygwin/cygwin/. I can access the 
 mirror myself from my web browser. Why can't I get the full download and 
 download it myself, then install it? This is probably a firewall issue or a 
 setup glitch. Normally when a program wants access to the internet, my 
 firewall triggers and asks me if I want to let the program through. This 
 setup program seems to not even try to get to the internet. Does anyone have 
 a resolution to this problem. For example, what needs to change on the 
 firewall to let setup through?

 Chris



 --

Are you running setup as Administrator?

-Jason

--
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 it possible to use any of the cygwin programs without changing registry?

2010-02-10 Thread DePriest, Jason R.
On Wed, Feb 10, 2010 at 11:45 AM, breako  wrote:

 Hi,
 so the standard cygwin install is to run the setup. This puts some dll's on
 your file system and would also I presume update your registry.

 I'd like to do be able to run some simple cygwin programs such as grep and
 ls without having to run the set up and change my registry.

 I am wondering if this is possible.

 Thanks.

All you need for ls and grep is the cygwin1.dll and the ls.exe and
grep.exe files.

Stick them somewhere in your path and you are golden.

However if you just want the functionality of these programs without
the whole cygwin environment, check out GnuWin32.

Oh, don't run setup.exe to get the files for cygwin, just download
them and extract them from the tarballs.

If this is an administrative rights issue, you can run setup.exe and
choose to install just for the current user.  It will only update your
user registry and not the local machine registry.  It works without
admin rights, but only works for the currently logged on user.

-Jason

--
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: Missing documentation on bash

2010-01-14 Thread DePriest, Jason R.
On Thu, Jan 14, 2010 at 4:32 PM, Paul McFerrin  wrote:
 Folks:
 I'm still having problems getting these .bat files to work under MS
 scheduler.  Okay, I have swore off .bat files and have installed cron.  No
 more interactions between MS-DOS and Cygwin scripting.  These scripts are
 totally cygwin scripting.  I'm a happy camper!!

 As far as trying bash.  I didn't.


If you still want local bash documenation, 'info bash' is very detailed.

-Jason

--
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: Questions regarding windows 7 installation

2010-01-11 Thread DePriest, Jason R.
On Mon, Jan 11, 2010 at 6:32 PM, Jerry Lowry  wrote:
 I have installed Cygwin 1.7 twice on my windows 7 laptop.  Each time it
 installs fine but when I try to run the X server it leaves three different X
 windows open as well as an Xterm itself.  Is this the default behavior on
 1.7?  I really would like to get just the X icon in the task bar and nothing
 else until I start an Xterm.  But even the Xterm opens two windows.

 Anyone have any ideas as to the problem I am seeing?
 --

Try modifying your /etc/X11/xinit/xinitrc file

I commented out the last line which had an 'exec xterm' in it and the
xterm no longer runs automatically.

-Jason

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



Re: Vista and CYGWIN telnet

2010-01-08 Thread DePriest, Jason R.
2010/1/8 Gareth Payne gpa...@progress.com:
 Hi,

  SYSTEM    3304    1572   ?  20:04:40 /usr/sbin/syslog-ng

^ syslog-ng is running.  Does anything show up in /var/log/messages?

Also
 Problem reports:       http://cygwin.com/problems.html

What documentation did you follow to get sshd and inetd configured?

Thanks.

Jason

--
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: The need for cygwin

2010-01-07 Thread DePriest, Jason R.
On Thu, Jan 7, 2010 at 10:31 AM, Karthik Balaguru  wrote:
 Hi,
 I am eager to know the need for cygwin if emulators like  VirtualBox,
 Bochs IA-32 Emulator , QEMU, Vmware, Hyper-V, XenServer are able to
 provide the linux in windows ?
 How is cygwin different from those and what are the advantages
 provided by cygwin ?
 What are the advantages provided by cygwin ?

Cygwin is not an virtual machine, it is just an API emulator and some
provided tools to use it.

From http://cygwin.com/

What Is Cygwin?
Cygwin is a Linux-like environment for Windows. It consists of two parts:
# A DLL (cygwin1.dll) which acts as a Linux API emulation layer
providing substantial Linux API functionality.
# A collection of tools which provide Linux look and feel.

What Isn't Cygwin?
# Cygwin is not a way to run native linux apps on Windows. You have to
rebuild your application from source if you want it to run on Windows.
# Cygwin is not a way to magically make native Windows apps aware of
UNIX ® functionality, like signals, ptys, etc. Again, you need to
build your apps from source if you want to take advantage of Cygwin
functionality.

Other people said it best, you can use cygwin natively on Windows
without the need to install a driver, without the need to be an
administrator to install it.

Really, if you don't know how cygwin is useful, that means you
probably don't need it.  If virtual machines do what you want them to
do, there is no need to try using cygwin.

Personally, I started using cygwin years ago when I needed an SSH
server that was free and would run on Windows.

Since then, I've been able to use it to compile programs written for
Linux on my Windows system and run them natively on Windows.  Also,
bash is 450% better than command.com and at least 275% better than
cmd.exe.

-Jason

--
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



Updating the Wikipedia entry for Cygwin

2009-12-23 Thread DePriest, Jason R.
Does anyone on the list keep an eye on the Wikipedia entry for Cygwin?

It is where you would expect: http://en.wikipedia.org/wiki/Cygwin for
the English Wikipedia.

It has the current version as 1.5.25-15 / 14 June 2008.

Someone with a better understanding of the fundamental changes may
want to update the entry to reflect the release of version 1.7.

Thanks.

-Jason

--
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: Front end suggestions for Cygwin?

2009-12-20 Thread DePriest, Jason R.
On Sun, Dec 20, 2009 at 8:42 AM, Rogelio  wrote:
 Does anyone have any good front end suggestions for Cygwin?

 (I'm really spoiled by apps like PuTTY which automatically put
 whatever you select on the clipboard.  Ideally, however, the app would
 have a few more features than something like PuTTY)

 --

If you like PuTTY, go with Mintty.  It is available via setup.exe and
is my terminal emulator of choice for cygwin.

Also, if you run the openssh server (available via setup.exe), then
you can use any ssh client as a front end for cygwin.  Just connect to
localhost and you'll have a fancy console with whatever client you
normally use.

-Jason

--
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: Executing ready compiled C program using bash shell

2009-12-16 Thread DePriest, Jason R.
On Wed, Dec 16, 2009 at 9:33 AM, Jasmit Kaur  wrote:
 I have recently downloaded cygwin. I am trying to run a ready compiled
 C binary program using bash shell...I get the following error...cannot
 execute binary file - any suggestions?

 Thanks
 Jasmit

 --

First, welcome to Cygwin.

Second, please follow the guidelines here
http://cygwin.com/problems.html when reporting an issue.

Finally, what do you mean exactly by ready compiled C binary
program?  If it wasn't compiled using Cygwin, it won't run under
Cygwin.

You may need to take the source code and compile it using a Cygwin
bash shell and the Cygwin gcc environment.

From the Cygwin home page:
What Isn't Cygwin?
# Cygwin is not a way to run native linux apps on Windows. You have to
rebuild your application from source if you want it to run on Windows.
# Cygwin is not a way to magically make native Windows apps aware of
UNIX ® functionality, like signals, ptys, etc. Again, you need to
build your apps from source if you want to take advantage of Cygwin
functionality.

Thanks.

-Jason

--
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 - what's the right way to start X?

2009-12-04 Thread DePriest, Jason R.
On Fri, Dec 4, 2009 at 10:12 AM, Fredrik Staxeng  wrote:
 Larry Hall (Cygwin X)  writes:

On 12/03/2009 04:07 PM, Fredrik Staxeng wrote:
 What is the recommended/preferred way to start X in 1.7? In 1.5
 I used a modified version of startxwin.bat. And where do I
 put my .xinitrc/.xsession script?

What about startxwin.bat doesn't work for you?  There shouldn't be
differences between 1.5 and 1.7 here.


1.7 makes some pretty significant changes on how 'mount' works.

Basically, Cygwin 1.7 uses a real fstab file instead of a bunch of
registry entries and 'mount' only creates temporary mounts.  If you
want a permanent mount, use the fstab file.

In a little bit more detail, see below.

From: http://cygwin.com/1.7/cygwin-ug-net/ov-new1.7.html
- Mount points are no longer stored in the registry.  Use /etc/fstab
  and /etc/fstab.d/$USER instead.  Mount points created with mount(1)
  are only local to the current session and disappear when the last
  Cygwin process in the session exits.
- Cygwin creates the mount points for /, /usr/bin, and /usr/lib automatically
  from it's own position on the disk.  They don't have to be specified in
  /etc/fstab.

This discusses the mount table in more detail:
http://cygwin.com/1.7/cygwin-ug-net/using.html#mount-table

This is the help information for mount under 1.7:
http://cygwin.com/1.7/cygwin-ug-net/using-utils.html#mount

Thanks.

-Jason

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



Re: how to get the windows PATH env in cygwin

2009-12-01 Thread DePriest, Jason R.
On Tue, Dec 1, 2009 at 10:03 AM, Andy Koppe  wrote:
 2009/12/1 Reinier Post:
 If you want to see the Windows PATH setting unmolested by Cygwin, you
 will either need to strip out the additions set by /etc/profile or avoid
 running under an environment modified by /etc/profile.

 It doesn't add, actually - it replaces it.

 You're wrong. The Cygwin DLL at startup translates the Windows PATH
 variable. And this line in /etc/profile adds to it:

 PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$PATH



This is completely and totally true.

To verify it, all you have to do is open a bash prompt (Cygwin.bat,
mintty, rxvt, whatever) and then launch a cmd.exe or powershell.

Check the path in the bash prompt and you will see the cygwin stuff at
the beginning of it.

Check the path in the cmd.exe or powershell prompt which was run
*after* the bash script updated the path and you will see that it does
*not* include the cygwin paths.

It doesn't override what you have set anywhere but in cygwin's magic space.

-Jason

--
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 get the windows PATH env in cygwin

2009-12-01 Thread DePriest, Jason R.
On Tue, Dec 1, 2009 at 2:24 PM, Lee Maschmeyer  wrote:
 To verify it, all you have to do is open a bash prompt (Cygw
 0/tty2W0(2)$ echo $PATH
 /home/lmaschm/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/c/Program
 Files/Common Files/Microsoft Shared/Windows Live:/c/WINDOWS
 /system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/system32/WindowsPowerShell/v1.0:/c/Program
 Files/Common Files/Microsoft Sha
 red/Windows Live:/usr/lib/lapack
 0/tty2W0(2)$ cmd
 Microsoft Windows XP [Version 5.1.2600]
 (C) Copyright 1985-2001 Microsoft Corp.

 C:\cygwin-1.7\home\lmaschmpath
 path
 PATH=C:\cygwin-1.7\home\lmaschm\bin;C:\cygwin-1.7\usr\local\bin;C:\cygwin-1.7\bin;C:\cygwin-1.7\bin;C:\cygwin-1.7\usr\X11R6\bin;C:\P
 rogram Files\Common Files\Microsoft Shared\Windows
 Live;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\
 WindowsPowerShell\v1.0;C:\Program Files\Common Files\Microsoft
 Shared\Windows Live;C:\cygwin-1.7\lib\lapack

 C:\cygwin-1.7\home\lmaschmexit
 exit
 0/tty2W0(2)$

of course if you run cmd from a bash prompt it will have the cygwin
pre-pended path because it inherited it from its parent process

ran mintty from start menu
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/Python26/:/cygdrive/c/Program
Files (x86)/ActiveState Komodo IDE 5/ ... etc

ran cmd.exe from start menu
C:\path
PATH=C:\Python26\;C:\Program Files (x86)\ActiveState Komodo IDE 5\ ... etc

no cygwin path even though the bash prompt with the cygwin pre-pended
path is still open and still has the new (or rather, modified) path
variable

-Jason

--
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: psexec does not work under cygwin-X

2009-11-20 Thread DePriest, Jason R.
On Fri, Nov 20, 2009 at 9:45 AM, Hemal Pandya  wrote:
 Hello,

 It seems psexec (from sysinternals) does not work correctly under
 cygwin-X. If I run it at the bash prompt in a command window it
 completes normally but from a rxvt or xterm window it stops after the
 first line of output from the remote process.

 I am trying to write some bash scripts that run some processes on
 remote machines. I would like for them to be run under X, though
 that's not an absolute requirement. Is there a work-around for this?

 Thanks in advance,

 - hemal


How are you calling psexec?

You can try something like this:
cmd.exe /c C:\\sysinternals\\psexec.exe

Instead of calling psexec directly.

That would make it run under a cmd.exe prompt instead of directly under bash.

-Jason

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



Re: [1.7] su

2009-11-19 Thread DePriest, Jason R.
On Thu, Nov 19, 2009 at 3:15 PM,   wrote:
 Is su supposed to work?  When I try from an unprivileged account
 I get:

I did the work of visiting the cygwin home page to read the 1.7 FAQ
and user guide.

Here you are told that it doesn't work.
http://cygwin.com/1.7/faq/faq.using.html#faq.using.su

Here you are told some other ways to do the thing you may want to do.
http://cygwin.com/1.7/cygwin-ug-net/ntsec.html#ntsec-setuid-overview

Good luck.

-Jason

--
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: 'ls' not finding owner/group of some files created by other user

2009-11-14 Thread DePriest, Jason R.
On Sat, Nov 14, 2009 at 6:11 PM, aputerguy  wrote:

 This is a weird one.

 If I use a non-cygwin program such as 'edit' or 'ntemacs' to create a file
 under userA, say 'test', then when I list under user A, I get as expected:
 -rwxr--r--+ 1 userA None 0 2009-11-14 19:00 test*

 However, when I list under userB (who is non-privileged), I get:
 -rwxr--r--+ 1   0 2009-11-14 19:00 test*

Does 'ls -n' show the UIDs under both users?

-Jason

--
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: Cygrunsrv behaviour triggers Anti-Virus Program

2009-11-13 Thread DePriest, Jason R.
On Fri, Nov 13, 2009 at 8:05 PM, Dave Korn  wrote:
 Andy Koppe wrote:
 2009/11/13 Jacob Jacobson:
 Output of Kaspersky Anti-Virus 6.0

 11/13/2009 1:03:09 PM   C:\WIN\CYGWIN\BIN\CYGRUNSRV.EXE Process is trying to
 inject into another process. This behavior is typical of some malicious
 programs (Invader)
 11/13/2009 1:03:09 PM   C:\WIN\CYGWIN\BIN\CYGRUNSRV.EXE Quarantine action
 is selected
 11/13/2009 1:03:09 PM   C:\WIN\CYGWIN\BIN\CYGRUNSRV.EXE Forced to terminate
 the process.
 11/13/2009 1:03:09 PM   C:\WIN\CYGWIN\BIN\CYGRUNSRV.EXE File quarantined.

 Output of Kaspersky Anti-Virus 6.0

 Send that to Kaspersky. Cygwin isn't gonna be changed to work around
 that sort of crap.

  BLODA in full effect.  It is designed to stop you running anything that
 behaves like forking, just in case what you were running wasn't meant to be
 doing that; therefore it is a crude and indiscriminate filter and must
 inevitably suffer false positives.

  The problem is that there's no easy way for a simple-minded computer program
 to tell the difference between suspicious process injecting itself into
 another, and legitimate user-directed application attempting to emulate
 posix fork semantics.  It is unfortunate, but a lot of the things that Cygwin
 *has* to do are exactly like a lot of the things that some viruses do; hence
 we run up against the limits of heuristic behaviour blockers.

    cheers,
      DaveK


 --

The real question is whether or not Kaspersky will let you exclude
specific processes from this sort of inspection.  If so, just exclude
cygrunsrv.exe.

I routinely have to do this depending on what AV I am running.  Heck,
if I run the whole Comodo Security Suite, I get pages of prompts every
time I run setup.exe and it changes files around.  It's all hey, bash
is trusted, but it is doing something it didn't do yesterday and it
has a different checksum.

Security is pain.

-Jason

--
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] Updated: cygwin-1.7.0-64

2009-11-10 Thread DePriest, Jason R.
On Tue, Nov 10, 2009 at 7:02 AM, Corinna Vinschen  wrote:
 Hi folks,


 Bugfixes:
 =

 - Fix a regression in cygserver which made it non-functional.

 Corinna Vinschen                  Please, send mails regarding Cygwin to
 Cygwin Developer                                mailto:cygwin@cygwin.com
 Red Hat, Inc.


Hello.

I just upgraded from -63 to -64, but cygserver still won't run on my system.

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32net start cygserver
The CYGWIN cygserver service is starting.
The CYGWIN cygserver service could not be started.

The service did not report an error.

More help is available by typing NET HELPMSG 3534.


C:\Windows\system32net helpmsg 3534

The service did not report an error.

My syslog shows that it worked last month, but doesn't work now.
$ grep cygserver /var/log/messages
Oct 12 20:46:06 UNFORTUNATE cygserver: PID 4300: cygserver:
Initialization complete.  Waiting for requests.
Oct 12 20:46:07 UNFORTUNATE cygserver: PID 5756: `cygserver' service started
Nov 10 10:47:15 UNFORTUNATE cygserver: PID 2832: `cygserver' service
stopped, exit status: 127
Nov 10 10:50:40 UNFORTUNATE cygserver: PID 4352: `cygserver' service
stopped, exit status: 127
Nov 10 10:58:09 UNFORTUNATE cygserver: PID 2576: `cygserver' service
stopped, exit status: 127
Nov 10 11:16:50 UNFORTUNATE cygserver: PID 2732: `cygserver' service
stopped, exit status: 127

cygcheck output attached

thanks

-Jason


cygcheck.out
Description: Binary data
--
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: Finding junction points in cygwin

2009-11-09 Thread DePriest, Jason R.
On Mon, Nov 9, 2009 at 8:46 PM, aputerguy  wrote:

 More generally, could someone point me to a single source that can accurately
 compare and contrast the following notions of links in cygwin/windoze:

 1. Hard links (ln)
 2. Soft links (ln -s)
    - Old style
    - New style
 3. Windows shortcuts
 4. Junctions created by junction.exe
 5. Reparse points created by linkd.exe
 6. Other types of reparse points?
 5. Mount points created by cygwin mount
 6. Mount points created by mountvol
 7. Letter drives created by dosdev
 8. Letter drives created using Administrative Tools computer management
 9. Other types of mounting?

 I know that some of the above only work on files, some only on directories,
 some only on shares, etc.
 but there is a lot of overlap and a nice table would be very helpful.

 Personally, I'm sure I don't understand all the differences, subtleties,
 limitations, and when to use which one. I'm also left with the feeling that
 Microsoft just keeps throwing new flavors of links and mounts rather than
 going with a consistent approach but maybe I'm just biased to *nix.



There is also the 'subst' command that lets you create a directory and
point it to a drive.

C:\subst /?
Associates a path with a drive letter.

SUBST [drive1: [drive2:]path]
SUBST drive1: /D

  drive1:Specifies a virtual drive to which you want to assign a path.
  [drive2:]path  Specifies a physical drive and path you want to assign to
 a virtual drive.
  /D Deletes a substituted (virtual) drive.

Type SUBST with no parameters to display a list of current virtual drives.

--
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: Bash - IF Statement

2009-10-28 Thread DePriest, Jason R.
On Wed, Oct 28, 2009 at 2:10 PM, briglass111  wrote:

 What is wrong with you people? What is the desire to continue posting in this
 thread? I am a relatively inexperienced cygwin/unix user who had an honest
 question and you people got so chafed up by it. If you are so insulted or
 annoyed by my question, then find a mod or something and delete it, or move
 on with your happy and gleeful day. If anything, it provides some search
 terms for a future potential poster who goes down the same errant path of
 thinking the white space issue is cygwin-specific.
 --

Welcome to Cygwin!

-Jason

--
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 deny directory-access for one dedicated user

2009-10-13 Thread DePriest, Jason R.
On Tue, Oct 13, 2009 at 11:57 AM, Matthias Meyer  wrote:
 Hello,

 I run cygwin on Windows (XP as well as Vista) with NTFS.

 I want to deny access to a directory for one dedicated user.
 I tried it with:
 $ setfacl -m u:backup:0 /cygdrive/c/test
 $ getfacl /cygdrive/c/test
 # file: /cygdrive/c/test
 # owner: meyer
 # group: Kein
 user::rwx
 user:Backup:---
 group::r-x
 mask:rwx
 other:r-x
 default:user::rwx
 default:group::r-x
 default:other:r-x

 But nevertheless, user Backup can access the directory as well as the files
 in it.

 How to reach my goal?
 Thanks
 Matthias
 --
 Don't Panic


Use Windows utility 'cacls C:\Test /D Backup' instead of setfacls?

-Jason

--
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 deny directory-access for one dedicated user

2009-10-13 Thread DePriest, Jason R.
On Tue, Oct 13, 2009 at 11:57 AM, Matthias Meyer  wrote:
 Hello,

 I run cygwin on Windows (XP as well as Vista) with NTFS.

 I want to deny access to a directory for one dedicated user.
 I tried it with:
 $ setfacl -m u:backup:0 /cygdrive/c/test
 $ getfacl /cygdrive/c/test
 # file: /cygdrive/c/test
 # owner: meyer
 # group: Kein
 user::rwx
 user:Backup:---
 group::r-x
 mask:rwx
 other:r-x
 default:user::rwx
 default:group::r-x
 default:other:r-x

 But nevertheless, user Backup can access the directory as well as the files
 in it.

 How to reach my goal?
 Thanks
 Matthias
 --
 Don't Panic


See if these user guide entries are helpful.

For cygwin 1.5: http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping
For cygwin 1.7: http://cygwin.com/1.7/cygwin-ug-net/ntsec.html#ntsec-mapping

I'm wondering if this applies since your example looks an awful lot
like what is used in the user guides.

-Jason

--
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: Num lines in dirs: C:\cygwin\bin = 1152 C:\cygwin-1.7\bin = 289 WHY SO FEW?

2009-09-28 Thread DePriest, Jason R.
On Mon, Sep 28, 2009 at 5:09 PM, David Combs  wrote:
 I just now installed 1.7.

 Where *is* everything?

 bin has 289 files, whereas the non-beta has 1152.





 So, just how beta is 1.7.  Alpha?

 Or am I missing something, eg there's still lots more
 for me to install by hand?


 Oh, someone tell me how to find the version number of a cygwin,
 and I can tell you what mine is.  (Looks like the most recent
 files in bin are 15june09, so pretty darned recent, my standard
 cygwin.)

 

 Oh, *roughly* when might 1.7 become the standard cygwin?  A year
 or so?


 Thanks!

 David


uname -a
to find out what version of the cygwin1.dll you have
For example: CYGWIN_NT-6.0-WOW64 INCONSPICUOUS 1.7.0(0.212/5/3)
2009-09-11 01:25 i686 Cygwin

My version 1.7 /bin directory has ~ 1000 files in it.  You probably
just don't have all the packages installed you had for version 1.5.

Thanks.

-Jason

--
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: Compile time Local Cygwin vs. VMware session on same system

2008-10-23 Thread DePriest, Jason R.
On Thu, Oct 23, 2008 at 3:43 PM, Herb Maeder  wrote:
 On 20 Oct 2008 11:53:19 PDT, Manning, Sid wrote:
-= lots and lots of things snipped =-

Has anyone else gotten Herb's message 5 times (so far)?

Or is it just me?

-Jason

--
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: install assumes.exe extension?

2008-10-06 Thread DePriest, Jason R.
On Mon, Oct 6, 2008 at 9:34 PM, Ralph Hempel  wrote:
 I'd just like to clear up some confusion on my part
 about install as distributed with Cygwin.

 I'm building Lua, an MIT licensed scripting language.

 Part of the lua make install process calls install
 as follows:

 cd src  install -p -m 0755 lua luac /usr/local/bin

 And sure enough, lua and luac show up in /usr/local/bin

 But they exist as src/lua.exe and src/luac.exe

 So the question is, is it install or the cygwin dll that
 assumes the exe extension on the file in the source dir
 and then removes it when installing it to the destination?

 Ralph

 PS. I'm willing to maintain a Lua (and significant libraries)
port for distribution with Cygwin


Does this help?
http://cygwin.com/cygwin-ug-net/using-specialnames.html#id318321

-Jason

--
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: dd, physical devices, Compact flash, Permission denied

2008-09-25 Thread DePriest, Jason R.
On Thu, Sep 25, 2008 at 8:45 PM, Krisitian Ivanov  wrote:
 Hi,


 I have a problem restoring a image back to a new CF card.

 I am using the last Cygwin on Windows XP.

 I mounted the CF card :


 mount -s -b //./I: /dev/cflash



See if this helps: http://cygwin.com/cygwin-ug-net/using-specialnames.html

--
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: End of support for 9x

2008-08-27 Thread DePriest, Jason R.
On Mon, Aug 25, 2008 at 8:34 AM, Terry Dabbs  wrote:


 It is a pity; I have applications utilizing cygwin on Windows 93 and 95.
 This is not a situation where I 'insist on using unsupported software',
 but where a vendor has written applications I must interface with that
 were written for those platforms and they will not upgrade, for reasons
 of their own. I hope there will be some spot out there that will keep
 the last compatible versions available.

 Terry Dabbs

I am dumb.

What is Windows 93?

-Jason

PS - vendors who will not upgrade, for reasons of their own.  Yep.
Been there only with Java.  Have to keep three (going on four) version
installed and make sure the right apps know which version to use.
Yay!

--
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: Decompressing/Viewing zip files with Cygwin

2008-06-19 Thread DePriest, Jason R.
On Thu, Jun 19, 2008 at 10:21 PM, Thomas Wiedmann [EMAIL PROTECTED] wrote:
 how can (Win)zip files (or certain files only of the zip archive) be
 decompressed or at least be viewed with Cygwin?

 unzip

 Unfortunately the unzip command is not available in my Cygwin environment.
 If I try to call it, I get the following message:

 $ unzip Temp.zip
 bash: unzip: command not found


  How to get and integrate the unzip command for Cygwin?


 Thomas Wiedmann


run setup, select unzip, and install it

--
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: wget and HTTP_PROXY question

2008-05-20 Thread DePriest, Jason R.
On Tue, May 20, 2008 at 4:50 PM, Ronald Fischer  wrote:
 I can't fetch anything from the web using wget (Connection timed out).
 My guess is that it has to do with the proxy settings, but:

 - my environment variable HTTP_PROXY is set, and
 - from a Windows command line (i.e. outside of Cygwin), tools
 (such as the package manager of ActiveState Perl) *can* use
 the proxy specified here, without problems.

 What can I do to get wget working?

 Ronald



Try putting your preferences settings in a .wgetrc file.
[file]
http_proxy = proxy:port
https_proxy = proxy:port
proxy_user = user
proxy_password = password
[/file]

-Jason

--
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: Can't configure sshd

2008-04-03 Thread DePriest, Jason R.
On Wed, Apr 2, 2008 at 11:13 PM, JR  wrote:
 Thanks! I changed mirrors and setup downloaded a new version of openssh... The
  script ran fine after.

  Is there any known conflict between RealVNC server with encryption on and
  Cygwin/Openssh?
  After I got the sshd installed my RealVNC client stopped working.



No.  The ssh tunnel just sees the encrypted RealVNC traffic as data
and slaps it own encryption on top of it.

I am only assuming since I haven't done this with RealVNC, but I have
with UltraVNC and I had no problem at all.  I did have to configure
the remote system to allow local connections since, from its point of
view, it is local thanks to the ssh port forwarding.

-Jason

--
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: Cygwin is saving my ass

2008-03-29 Thread DePriest, Jason R.
On Fri, Mar 28, 2008 at 12:04 PM, Morgan gangwere  wrote:
 Without cygwin, i wouldnt have my directory sorting algorithm running on
  windows. DOS has no way of (easily) sorting files into
  c:\{YEAR}\{MONTH}\{MIMETYPE}\
  (where Year Month and Mimetype are the year month and mimetype of the
  file in a list of oh say 3 files.)

  i _could_ impliment this in vb, but bash is faster.
  --
  Morgan Gangwere

  Unknown Software


Any chance you could share your bash script?  I have some perl scripts
that are similar, but a pure bash script would be even better.

-Jason

-- 
NOTICE:  Reading this email message requires root privileges which you
do not appear to possess. Sorry, dude.

--
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: Changing middle mouse button for pasting to right mouse button in rxvt

2008-03-15 Thread DePriest, Jason R.
On Fri, Mar 14, 2008 at 10:29 PM, Suan  wrote:

 DePriest, Jason R. jrdepriest at gmail.com writes:

  
   On Fri, Mar 14, 2008 at 7:43 PM, Suan  wrote:
Jerry D. Hedden jdhedden at cpan.org writes:
   
 
   my laptop doesn't have a middle mouse button.
  Pressing the left and right mouse buttons at the same time has the 
 same
  effect.
 
 
 I read that somewhere earlier and tried itdoesn't work though
   
   
  
   Can you send your cygcheck -s -v -r information?
  
   Using both buttons to simulate middle-click works for me in rxvt.
  
   -Jason
  
  
  Ok, here it is:

From /usr/share/doc/Cygwin/rxvt-20050409.README

How to Insert/Paste:

Use the middle mouse button, Shift-Insert, or Shift-Left-Click.

If you have a two button mouse, check your control panel to see
if the mouse can be configured to emulate a middle button by
pressing both buttons simultaneously.


Also, how do you start rxvt?  What is your command-line?
The only difference I see in our cygcheck output is that your TERM is
'xterm' and mine is 'rxvt-cygwin-native' which I set in the
command-line to run rxvt in my batch file.
rxvt -geometry 120x50 -bg black -fg white -fn Lucida ConsoleP-12 -sr
-sl 5000 -tn rxvt-cygwin-native -e bash --login -i
That's what I use.

Also, other brighter minds probably have much better insight in to
your problem but have not yet responded.

-Jason

--
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: Changing middle mouse button for pasting to right mouse button in rxvt

2008-03-14 Thread DePriest, Jason R.
On Fri, Mar 14, 2008 at 7:43 PM, Suan  wrote:
 Jerry D. Hedden jdhedden at cpan.org writes:

  
my laptop doesn't have a middle mouse button.
   Pressing the left and right mouse buttons at the same time has the same 
 effect.
  
  
  I read that somewhere earlier and tried itdoesn't work though



Can you send your cygcheck -s -v -r information?

Using both buttons to simulate middle-click works for me in rxvt.

-Jason

--
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: Unable to get Setup to work...

2008-02-10 Thread DePriest, Jason R.
On Feb 8, 2008 11:29 PM, Mel Rosso-Llopart  wrote:
 Every attempt to get setup to work has failed.  Either I get an empty
 directory tree for cygwin on my C: drive or setup aborts with the tradition
 XP failure window to send a message to Microsoft.  Some interesting
 symptoms:
 1) Dr. Watson also aborts after trying to dump the setup dump
 2) When the screen comes up to show my locations from which to select my
 download, it is always blank

 I have downloaded and installed cygwin in the past, but his is a new
 computer, new configuration.

 Suggestions on what else to try would be appreciated.

 Mel

If it is a new computer, did it come preinstalled with some sort of
anti-virus, anti-spam, anti-malware, firewall suite (like from McAfee
or Symantec)?  If so, there could be a conflict there.
Search the cygwin mailing list archives for details and examples.

-Jason

--
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: setup.exe link down

2008-02-05 Thread DePriest, Jason R.
On Feb 5, 2008 1:20 PM, Christopher Stack  wrote:
 hi all,

 the setup.exe (install or update now!) link is currently not working
 and hasn't been since at least 10a yesterday (01/04/08).  i
 consistently get a peer reset page instead.  i've tried this from
 multiple locations, so i don't think it's my side.

 cheers
 christopher

 --

Connection reset by peer?

That implies that your systems are forcibly ending the connection.
Firewall, HIPS, AV, or proxy maybe?

-Jason

-Jason

--
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: Running Cygwin in background.

2008-01-30 Thread DePriest, Jason R.
On Jan 30, 2008 6:57 PM, jrtayloriv  wrote:



 paul.hermeneutic wrote:
 
  http://cygwin.com/ml/cygwin/2008-01/msg00527.html
 
  http://www.google.com/search?as_q=Cygwin+setup+sshd


 I appreciate the links, but I already know how to set up an SSH server. I
 was actually interested in finding out how to run Cygwin as a background
 process so a window won't show up in the task bar. (See my original post for
 a description of what I am trying to do).

 Thanks,
 jrtayloriv
 --

Have you read: /usr/share/doc/Cygwin/openssh.README

-- 
NOTICE:  Reading this email message requires root privileges which you
do not appear to possess. Sorry, dude.

--
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: Running Cygwin in background.

2008-01-30 Thread DePriest, Jason R.
On Jan 30, 2008 11:35 PM, jrtayloriv  wrote:

 Sorry, I am not used to Windows at all -- I've only been using Linux for the
 past several years and I've forgotten about a lot of things.

 Because of this, it seems that I am having trouble asking the right
 question...

 I am talking about how to get Cygwin itself to run in the background. Once I
 start up the Cygwin shell, I am able to run SSH as a background service
 within Cygwin. But when I close the Cygwin shell, I loose the SSH server
 running within it.

 What I need is information on how to run ***CYGWIN*** as a background
 service, so that there is no Cygwin window open, but the services that are
 running in Cygwin (in this case sshd) are still there. Do I even need to run
 Cygwin for this? Can I just run cygwin's sshd from windows?

CYGWIN is not a program to be run.  You can just run sshd as a service
and get what you want.

If you ssh to your Cygwin sshd system, you can run a bash shell or
whatever shell you want.

CYGWIN isn't something you run, it's just a dll that does fancy
translation of win32 calls to unixy calls and vice versa so recompiled
unixy programs can work properly on a Windows system.  That is
probably oversimplifying it and I'm sure fifteen other people could
point out how what I said is incorrect or misleading, but it should
explain it well enough.


 I do know what the 'Run' menu is in Windows. I also found information about
 Cygserver in the online documentation -- is this what I need? Are you trying
 to tell me to use the Run menu with 'cygrunsrv.exe' ? Or are you telling me
 to run sshd from 'Run' menu?


Cygserver and cygrunsrv.exe are two different things.  You do not need
Cygserver.

If you run ssh-host-config it will create an sshd service using
cygrunsrv.exe for you.  Then you can just start it just like any other
windows service.

 Once again, I'm really not at home in Windows, so let me know if I'm missing
 something. If I am not understanding something could you at least point me
 in the right direction for what I need to look up?

 Thanks,
 jrtayloriv
 --

--
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: ps executable does not appear to match source

2008-01-17 Thread DePriest, Jason R.
On Jan 17, 2008 9:38 PM,   wrote:
 The ps that comes with Cygwin is missing a number of features that
 appear to be in the procps-3.2.7/ps/ source code.  The source code
 does not look like it was used to build the executable.  Is this
 correct?

Cygwin has both ps and procps available.  The ps in Cygwin has the
advantage of showing Windows processes, too.  The procps is just what
you'd expect.

-Jason

-- 
NOTICE:  Reading this email message requires root privileges which you
do not appear to possess. Sorry, dude.

--
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: accessibility issues with setup.exe for cygwin

2007-12-16 Thread DePriest, Jason R.
On Dec 15, 2007 10:26 AM, Nick Gawronski  wrote:
 Hi, I am trying to install everything in the cygwin distrobution accept the
 X packages.  I however use a screen reader as I am totally blind.  The setup
 program is not the best accessible with any screen readers.  I have also
 heard reports from other blind people who have had problems installing
 cygwin using this program.  http://www.microsoft.com/enable has great
 information on how to make windows programs like setup.exe more accessible
 to everyone.  It would really be nice if the setup program for cygwin was
 made more user friendly as with the current setup all I get is a base system
 and with that I can't do much.  It would also be nice if an automatic
 updater was written for those of us who like to get the most updated
 packages and security updates.

Hello Nick,

I can't help you with making setup.exe more accessible, but I thought
you'd like to know that when you run setup.exe and step through the
defaults, it will automatically select the newest versions of any
cygwin apps you have installed.

So, if you ran setup.exe and installed a base system then ran
setup.exe a month later without making any changes to the selections,
it would update your applications for you.

-Jason


Re: configure command does not run.... d2u does not help either... appreciation from Dave

2007-12-03 Thread DePriest, Jason R.
On 11/30/07, MasterOfSw  wrote:
   I am trying to compile a package called meep by means of cygwin.
   While running the configure command I get an error as:
  
   ./configure: line 13: $'r': command not found
  
  Guess #1:  Don't use WinZIP (or any other windows GUI program)
  to
 
  unpack
  .tar.gz files for Cygwin, because they mangle the line ends from LF
  to
 
  CRLF.
  Use tar xvzf meep-0.10.1.tar.gz in a bash shell instead.
 


 I run into this exact thing all the time and still forget to NOT use the 
 Windows un-tar utility.

 I don't know why d2u doesn't work though, if it really is just a LF/CRLF 
 problem.
 I can use the Windows tar functions for non-cygwin related items. Just not 
 with cygwin.



I have not experienced this problem using WinRAR.

-Jason

--
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: su: user root does not exist

2007-12-03 Thread DePriest, Jason R.
On 12/3/07, asadollahbaik a. (aa306)  wrote:

 Hi all,

 I know that this problem has been repeated thousand times. But I couldnt 
 understand them : I am completely new to Cygwin.
 Would somebody explain in a simple language where is the problme coming from 
 and how can I solve it?!

 Regards,
 Asa,


Start here: http://www.cygwin.com/faq/faq.using.html#faq.using.su

--
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: end of file characters

2007-12-02 Thread DePriest, Jason R.
On Dec 1, 2007 3:07 PM, Erik Weibust  wrote:
 I went with the defaults when installing cygwin.  Which means I used
  the recommended unix/binary line feed setting.  It sounded like that
  means I get no line-ending translation done by cygwin, which is fine.

 So I open a .bat file and see a bunch of ^Ms at the end of each line.
   Then I open a xml file and don't see them.  I was expecting to see
 the
  ^Ms again as the xml file, just like the bat file, was created in a
  windows environment.  Is this normal?

deleted words

Vi also doesn't show the ^M if it recognizes the file as [dos] and
instead shows a little [dos] in the information line.

-Jason

--
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: [GTG] Re: [ITP] lzma 4.43 -- Compression program using high 7z compress algorithm

2007-11-08 Thread DePriest, Jason R.
On 11/8/07, Brian Dessent  wrote:
 Dr. Volker Zell wrote:
 
   Jari Aalto writes:
 
   Included in Debian stable
 
 http://packages.debian.org/lzma
 
  Builds fine and packaging looks good. GTG

 There is a problem with the man page of this package.  From the README,
 it is lifted from the debian package.  However, the debian package must
 be a totally different version of lzma, because it does not correspond
 at all to the one shipped here:

 LZMA(1)  LZMA(1)

 NAME
lzma, unlzma, lzcat - LZMA compression and decompression tool

 SYNOPSIS
lzma [-123456789cdefhkLqtvV] [-S suffix] [filenames ...]
unlzma [-cfhkLqtvV] [-S suffix] [filenames ...]
lzcat [-fhLqV] [filenames ...]

 $ lzma --help

 LZMA 4.43 Copyright (c) 1999-2006 Igor Pavlov  2006-06-04

 Error: Incorrect command


 Usage:  LZMA e|d inputFile outputFile [switches...]
   e: encode file
   d: decode file
   b: Benchmark
 Switches
   -a{N}:  set compression mode - [0, 1], default: 1 (max)
   -d{N}:  set dictionary - [0,30], default: 23 (8MB)
   -fb{N}: set number of fast bytes - [5, 273], default: 128
   -mc{N}: set number of cycles for match finder
   -lc{N}: set number of literal context bits - [0, 8], default: 3
   -lp{N}: set number of literal pos bits - [0, 4], default: 0
   -pb{N}: set number of pos bits - [0, 4], default: 2
   -mf{MF_ID}: set Match Finder: [bt2, bt3, bt4, hc4], default: bt4
   -eos:   write End Of Stream marker
   -si:read data from stdin
   -so:write data to stdout

 The man page talks about a version that has the same interface as gzip
 and bzip2, however the binary that is in the package has a totally
 different set of options -- it would actually be nice to have the debian
 version instead of this.

 Also, the manpage refers to unlzma and lzcat which are nonexistant.

 Brian


It looks like this lzma is what Debian calls p7zip.  p7zip gives you
the 7z command which has all these command-line options directly from
the 7-zip for Windows program.

The lzma package has the gzip-ish commands.

[EMAIL PROTECTED]:~$ apt-cache search lzma
lzma - Default and general compression method of 7z format in 7-Zip program
p7zip-full - 7z and 7za file archivers with high compression ratio

-Jason


Re: Wish Setup would accept my Perl

2007-11-07 Thread DePriest, Jason R.
On Nov 7, 2007 9:31 AM, Andrew DeFaria  wrote:
- - - - - - cut stuff - - - - - - -
 No the alternative is Cygwin's Perl on Windows, of course. Oh, and BTW,
 how much $$$ does ActiveState Perl cost? And how much was Cygwin's again?
- - - - - - cut stuff - - - - - - -

This is to avoid people assuming ActiveState Perl costs money and
wondering how they can charge money for a perl release.

ActiveState Perl costs no money to download and use.

Sorry to take this even more off-topic.

-Jason

--
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: Wish Setup would accept my Perl

2007-11-06 Thread DePriest, Jason R.
On 11/6/07, Dave Korn  wrote:
 On 06 November 2007 16:21, Brian Mathis wrote:

  I must say with respect that if there are problems porting from
  Activestate to linux/unix, that's a problem with the programmer who
  wrote the code, not Perl.  There's no reason that code that's general
  in nature would not be portable.

   Does Activestate perl parse unix/posix style paths with a single common '/'
 filesystem root?

   If not, case closed I'd say.

   Not to mention ...

 ---from the AS perl docs---
- - - - cut wordy badness - - - -
 --end snip-

   IOW, Perl is not a write-once-run-anywhere language, and AS perl cannot be
 assumed to satisfy the requirements that any random cygwin package that
 requires perl may impose.

 cheers,
   DaveK
 --
 Can't think of a witty .sigline today


So, to help the OP's: use your perl installation as it was intended.
I have ActiveState Perl installed and cygwin perl.

I also have ActiveState Python and cygwin python.

I have no problems when I use each version in the appropriate environment.

Simple scripts can be written that will run in both environments.
Heck, some of the Win32 stuff has even been ported to cygwin (see
setup.exe).

I once, like you, wondered why I couldn't just have one installation
of Perl or Python that works in either environment.  Since I write
scripts, not code, I assumed it was because it was just too hard to do
and began to use each program in its appropriate place.

Cygwin handles the pathing so I never have a problem with a cygwin
bash prompt trying to call C:\Perl\bin\perl when I just use 'perl'.
It checks /usr/bin/perl first.

Use as intended.

-Jason

PS - I use PPM to manage perl modules for ActiveState Perl and cpan to
manage modules for cygwin perl.  PPM is super-Windows-centric.

--
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: PStree on cygwin

2007-11-04 Thread DePriest, Jason R.
On Nov 4, 2007 9:00 PM, Muhammad Najmi Ahmad Zabidi  wrote:
 Hi all,

 I tried to find the pstree package in Cygwin setup list but it was not
 included. Does Cygwin community yet to deploy pstree / no plan to
 release it?

 I found it useful when I did demo of forked process for certain PID
 (pstree -p pid) to the students in my class.

 Regards,
 najmi


http://cygwin.com/cgi-bin2/package-grep.cgi?grep=pstree

--
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: Searching for apps in cygwin by keyword

2007-11-03 Thread DePriest, Jason R.
On Nov 3, 2007 2:06 AM, Thorsten Kampe  wrote:
 * Hussein Patwa (Fri, 02 Nov 2007 21:59:14 +)
  Of course there are lots of apps included in the cygwin distribution. My
  question is, how does one search to find what apps are installed that
  fulfill a certain purpose?

 apropos



If using that, don't forget to run /usr/sbin/makewhatis first

[EMAIL PROTECTED] ~
$ apropos editor
editor: nothing appropriate

[EMAIL PROTECTED] ~
$ /usr/sbin/makewhatis

[EMAIL PROTECTED] ~
$ apropos editor
ed   (1)  - text editor
psed (1)  - a stream editor
psed [s2p]   (1)  - a stream editor
red [ed] (1)  - text editor
sed  (1)  - stream editor for filtering and transforming text
vim  (1)  - Vi IMproved, a programmers text editor

-Jason

--
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: copying a million tiny files?

2007-11-01 Thread DePriest, Jason R.
On Nov 1, 2007 6:31 AM, Marco Atzeri  wrote:

 --- Erich Dollansky  ha scritto:

  if I remember right, XCOPY is older than any
  networking stuff on this
  plattform. It should be there since the first hard
  disks have been there.

 Not so old.
 I think only from MSDOS 5.0

 Regards
 Marco

Continuing to completely derail this topic:
http://blogs.msdn.com/oldnewthing/archive/2004/01/06/47937.aspx#48022

xcopy is older than that

--
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: Problem with Cygwin Include Files

2007-10-23 Thread DePriest, Jason R.
On 10/23/07, Corinna Vinschen  wrote:
 On Oct 22 17:59, Larry Adams wrote:
  Hello,
 
  The problem is that /usr/include/cygwin/icmp.h is blank and needs to be
  non-blank.
 

- - - - words . . . - - - -


 It doesn't contain anything for a couple of reasons.

 - For ICMP you need raw sockets, but raw sockets were never really
   supported in Cygwin.
 - Windows disallows non-admin users to use them which makes them
   somewhat less useful.
 - There are not a lot of complaints about this fact so I assume
   not many people really need it.

 And last but not least

 - Nobody contributed any code so far.

   http://cygwin.com/acronyms/#SHTDI
   http://cygwin.com/acronyms/#PTC
   http://cygwin.com/contrib.html


 Corinna

 --
 Corinna Vinschen  Please, send mails regarding Cygwin to
 Cygwin Project Co-Leader  cygwin AT cygwin DOT com
 Red Hat

The perl Net::Ping module had a similar problem (see
http://www.perlmonks.org/index.pl?node_id=42739 for details).

These suggestions were implemented by the creation of the
Win32::PingICMP module which taps icmp.dll to circumvent the you must
be admin limitation.

I have neither the ability nor the desire to look in to recreating in
cygwin what icmp.dll and Win32::PingICMP do for Windows and perl.

I'm just letting other folks know that it is probably possible and
perhaps not that painful.

-Jason

--
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: CYGWIN sshd staying in 'Starting' status

2007-10-19 Thread DePriest, Jason R.
On 10/19/07, Sam Snitman  wrote:
 Thanks for your reply Rene,

 In reading the
 $CYGWIN/usr/share/doc/Cygwin/openssh.README file, It
 mentions that the substitute account should have the
 following user rights:

 Create a token object
 Logon as a service
 Replace a process level token
 Increate Quota

 Where are these properties set?

 Thanks,

 Sam


Running ssh-host-config creates the account and sets the appropriate
rights and restrictions automatically.

-Jason

--
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 DePriest, Jason R.
On 10/17/07, Mike Marchywka  wrote:
 Hi,
 I found out that sometime during my reinstall process I lost something
 called
 urlencode Any idea where this is, or if it is even part of cygwin? I've
 been
 all through setup and google but no luck.

 This is supposed to read from stdin and output a urlencoded version
 but the only scripts I can find read from a file and don't take stdin
 by default.

 Thanks.


This is all I could find:
http://cygwin.com/cgi-bin2/package-grep.cgi?grep=urlencode

--
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 DePriest, Jason R.
On 10/18/07, Mike Marchywka  wrote:
 This is all I could find:

 Thanks - I'm pretty sure if didn't come from there but it may be part of
 postfix.
 I opened the google search to include linux and found the same script I had
 in a postfix zip file
 It turns out, however, that these scripts check for a command line
 parameter. When I removed the check, it ran just fine from stdiin.

 Obviously, things that just start working like this are a little
 disconcerting
 but I seem to be back up for now. I do have a lot of incomplete packages
 according to cygcheck but that probably reflects the problem with /usr being
 a link. I didn't want to do a complete reinstall and setup the links just
 for
 one script.

 Thanks.

 From: DePriest, Jason R. [EMAIL PROTECTED]
 To: cygwin@cygwin.com
 Subject: Re: is there a urlencode utility somewhere?
 Date: Thu, 18 Oct 2007 11:30:35 -0500
 
 On 10/17/07, Mike Marchywka  wrote:
   Hi,
   I found out that sometime during my reinstall process I lost something
   called
   urlencode Any idea where this is, or if it is even part of cygwin?
 I've
   been
   all through setup and google but no luck.
  
   This is supposed to read from stdin and output a urlencoded version
   but the only scripts I can find read from a file and don't take stdin
   by default.
  
   Thanks.
  
 
 This is all I could find:
 http://cygwin.com/cgi-bin2/package-grep.cgi?grep=urlencode
 
 

doing an apt-cache search urlencode on a Debian system throws these up:
$ apt-cache search urlencode
libapache-request-perl - Generic Apache Request Library
libapache2-mod-apreq2 - generic Apache request library - Apache module
libapache2-request-perl - generic Apache request library - Perl modules
libapreq2 - generic Apache request library
libapreq2-dev - generic Apache request library - development files
libapreq2-doc - generic Apache request library - documentation
so maybe you can get it from apache

-Jason

--
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: OpenSSH for windows issue

2007-10-18 Thread DePriest, Jason R.
On 10/17/07, Mick Ken  wrote:
 Friends,
 I am trying to install SSH on a Windows 2003 server since last 3 days
 and still no luck.

 I have tried literally everything and searched 100s of google  pages
 but I am getting this error.I would greatly appreciate if someone can
 help me resolve this.

 Here's the trace from the server end:

 E:\Program Files\OpenSSH\usr\sbinsshd -d
- - - - - cut lots of stuff - - - - -

Not the ssh server installed from http://cygwin.com/setup.exe is it?

Seriously, just run setup.exe and install the basics + the ssh server
(openssh in the Net category).

Run ssh-host-config, run ssh-user-config, it works.  Takes care of
creating a service account and giving the appropriate rights and
appropriate limitations.  Takes care of getting the permissions
correct.

Easy.

Leave OpenSSH for Windows out of this if you want to use cygwin
tools.  If all you want is an SSH server that runs on Windows and
gives you a cmd.exe prompt when you connect, then OpenSSH for
Windows is for you and, of course, this is not where you would get
support for it.

-Jason

--
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: cygrunsrv: Error stopping a service: OpenService: Win32 error 1060:

2007-10-18 Thread DePriest, Jason R.
On 10/18/07, Dao, Phuong  wrote:
 Hi,

 I get this error when trying to start the sshd service, does anyone has
 a clue of the problem?
 Thanks a lot

 C:\cygwin\bincygrunsrv -S sshd
 cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error
 1062:
 The service has not been started.

 Phuong


Two things stand out from your cygcheck output.

The first:
DLL version: 1.5.19
My version is 1.5.24

The second thing is more important in this case:
No Cygwin services found.

Have you run ssh-host-config on this system?

-Jason

--
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: cygwin makes shared folders on vista

2007-10-15 Thread DePriest, Jason R.
On 10/15/07, jxt  wrote:
- - - - - cut - - - - -
 Now, as to the original question about shared folders being created by
 cygwin on vista, it appears that a solution is in hand, though I have not
 yet tested it in my envrionment. Indeed I had tried some googling, and
 even searching the archives of this list (using Nabble) before the post,
 but I guess I wasn't using to right search strings. I've had so many fights
 with vista, absolutely nothing surprises me when it behaves strangely.
- - - - cut - - - - - -

What was the solution?  CYGWIN=nontsec?  That's an odd solution
because I thought that would mess up how cygwin manages permissions.

From the User's Guide
(no)ntsec - if set, use the NT security model to set UNIX-like
permissions on files and processes.

That implies that if this is NOT set that cygwin will NOT use the NT
security model to set UNIX-like peremissions.

So if you use CYGWIN=nontsec, you are losing some of the UNIX-ness of
your cygwin enviroment.

I still don't understand why Vista (which I do not have a copy of to
test with) would assume that a new folder being created needed to be
shared.

I haven't found a way to display the shared status of a folder from
a cygwin bash prompt.

ls and getfacl can give me permission and ownership information, but
not whether or not something is shared.

You can always use the Microsoft net command (see: net help share).

If I understand the problem, when you create a new directory inside a
cygwin shell, the directory is automatically shared (with the little
hand on the icon or whatever Vista uses to show that) and that this
happens whether or not the parent directory is shared.

Meaning, if you did
$ mkdir test1
$ mkdir test2
$ net share
You would see something like
Share name Resource   Remark
---
ADMIN$ C:\WINDOWS Remote Admin
IPC$  Remote IPC
test1  C:\cygwin\home\jrd\test1
test2  C:\cygwin\home\jrd\test2

Is this correct?

-Jason

--
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/



stupid question about user/groups shown with ls -l and ls -ln

2007-10-12 Thread DePriest, Jason R.
If I run ls -l from /cygdrive/c it shows pagefile.sys as
--1  1595523072 Oct 12 10:43 pagefile.sys

I hate seeing the little '?' in my ls output.  Normally, I just do ls
-ln and look up what user name and group the SSIDs match with.

However, with pagefile.sys you get this instead
--1 4294967295 4294967295 1595523072 Oct 12 10:43 pagefile.sys

WTF?  That makes no sense.

That big number corresponds with   in hex or the biggest
32-bit integer (around 4GB in the 2 to the X naming convention for GB
-- sorry I can't bring myself to gibibyte).  I learned something new
today looking that up.  Everybody knows 655535, but I'd never seen
this one before.

Is this ls's way of saying it has no idea?  Does Windows actually
provide a value that internally corresponds to this number?

Incidentally, getfacl comes up with the same value (not surprising).

Thank you!

-Jason

--
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: Links and O/S shell

2007-10-09 Thread DePriest, Jason R.
On 10/9/07, Joel Rubin  wrote:
 I ran links from cmd, started to download a file in the background and
 ran an O/S shell. Later, when I could see that the download was long
 finished, I exited the O/S shell and, instead of returning to links,
 the whole console box disappeared, leaving the ghost of links and the
 cmd session which had started it running without any visible console.


I cannot recreate this.  If, from within links, I request an 'OS
shell' and later exit that shell, links is still running and I can
just 'q' to exit it.

I tried this from a Windows cmd.exe prompt using \cygwin\bin\links.exe
and also from within an rxvt (no X) bash prompt.

Both times, links spawned a cmd.exe prompt that worked as expected
when I exited it.

You could provide the information requested by
 Problem reports:   http://cygwin.com/problems.html

-Jason

--
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: Users connected to my computer using Cygwin

2007-10-09 Thread DePriest, Jason R.
On 10/9/07, Daniel Noll [EMAIL PROTECTED] wrote:

 I guess that works, as long as you only care about the users logged on through
 the SSH server.  If I open a clean bash session and type who it doesn't
 even show myself.

 Daniel


I guess you don't have CYGWIN=TTY in your environment (I can't
remember what the default is, so you may explicitly have CYGWIN=NOTTY,
same result)?

Even if it is NOTTY, try 'who -a' and you will see some stuff.

-Jason

--
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/



Founstone Labs (now part of McAfee) violates GPL or not?

2007-10-08 Thread DePriest, Jason R.
Foundstone Labs has a few free tools they release that are compiled
against the cygwin1.dll.

The free tools are:
pasco (http://www.foundstone.com/us/resources/proddesc/pasco.htm)
galleta (http://www.foundstone.com/us/resources/proddesc/galleta.htm)
rifiuti (http://www.foundstone.com/us/resources/proddesc/rifiuti.htm)

Pasco includes its source code and is probably okay on that part, but
it doesn't include the text of the GPL and the cygwin1.dll file has a
BuildDate of '2003-03-18 09:20' and a File and Product Version number
of 1.3.22-dontuse-21
I can recompile it with the source and it works fine.

The other two products, galleta and rifiuti, ship with the same
version of cygwin1.dll but don't have the source code or the license
text.

I've tried asking the McAfee reps that deal with my employer to look
into it, but got nowhere.  I have also emailed the person listed on
the sites for these tools as the author and have not received a
response.

I'd really like to have these tools compiled under a modern version of
the cygwin1.dll.

Do they (Foundstone now McAfee) have one of those special license
agreements with RedHat to use cygwin1.dll without provided license
information or source code?

Thank you,

-Jason

--
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: Home directory

2007-10-04 Thread DePriest, Jason R.
On 10/3/07, Gmane User  wrote:
 Dave Korn wrote:
  On 02 October 2007 15:26, Gmain User wrote:
 
  Brian Dessent  writes:
  Gmane User wrote:
 
  it makes it hard to quickly scan for changes to mv.  Many software
  systems have cumulative release notes with each new release...would the
  release notes can be findable in such a form online?
  less /usr/share/doc/Cygwin/coreutils-*.README
  Thanks, Brian.  I was actually asking in the context of not updating cygwin
  right away.  Whether or not one could access up-to-date accumulation of
  release notes, possibly on the web.
 
Yes, absolutely.  See http://cygwin.com/ml/cygwin-announce/.


 I did indeed check that before posting to ask about where release notes can be
 found.  In fact, they can be found peicemeal at http://tinyurl.com/2dxno3, but
 it makes it hard to quickly scan for changes to mv.  Many software systems
 have cumulative release notes with each new release...would the release notes
 can be findable in such a form online?  I am referring to an accumulation of
 release notes for coreutils, all rolled up in one notice.


A Google search with
site:cygwin.com inurl:/ml/cygwin-announce mv

turns up useful stuff, too

--
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: OpenSSH and user environment: Maybe not initialized correctly

2007-09-25 Thread DePriest, Jason R.
On 9/25/07, Frank  wrote:
 Hi,

 I am experiencing some trouble with OpenSSH under Cygwin.
 Details on my Cygwin installation can be found in the attached
 outputs of cygcheck -s -v -r  cygcheck.out on the
 machines in the zipped attachment.
 [I tried to send with attachment, but obviously it did not get
  through your protection mechanisms... Now trying without attachment...]
- - - cut stuff - - -

Attach cygcheck.out as a plain-text, non-compressed file and it will work.

-Jason

--
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: What Environment Variables should i set up?

2007-09-23 Thread DePriest, Jason R.
On 9/23/07, yaojiaxing  wrote:
 i installed Cygwin,and wanted to compile programs in eclipse ,
 so what Environment Variables should i set up.Where to get
 information about Environment Variables  that i should
 set up.
 Thanks a lot!


For Cygwin programming questions, see if the FAQ is any help:
http://cygwin.com/faq/faq.programming.html

There isn't much need for particular environment variables in most
cases: http://cygwin.com/cygwin-ug-net/setup-env.html and
http://cygwin.com/cygwin-ug-net/using-cygwinenv.html
The defaults normally work unless you are using a Cygwin service that
needs the 'server' value.

If eclipse has its own requirements, they should be mentioned in its
documentation.

-Jason

--
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: dd Bug using \.\PhysicalDriveX ?

2007-09-20 Thread DePriest, Jason R.
On 9/20/07, Corinna Vinschen [EMAIL PROTECTED] wrote:

 ...which isn't that tricky.  In the Disk Management tool (for instance
 right click My Computer - Manage to get there via the Computer
 Management admin tool) disks are numbered Disk 0, Disk 1, etc.
 This order corresponds with /dev/sda, /dev/sdb, etc.  Partitions are
 numbered left to right.  /dev/sda1 corresponds to the first partition,
 etc.

 Similar for CD-ROM and DVD drives.  In the Disk Management tool they are
 numbered CD-ROM 0, CD-ROM 1, etc, which corresponds to /dev/sr0,
 /dev/sr1, etc..  Alternatively to /dev/scd0, /dev/scd1, etc.

 For tape drives, have a look into the Device Manager.  The properties
 dialog of each tape drive has a tab Tape Symbolic Name.  Tape0
 corresponds to /dev/st0, /dev/nst0, Tape1 to /dev/st1, /dev/nst1, etc.


 Corinna

 --
 Corinna Vinschen  Please, send mails regarding Cygwin to
 Cygwin Project Co-Leader  cygwin AT cygwin DOT com
 Red Hat

Corinna, thanks for the tip about the order in Disk Management
corresponding to the /dev/sdX order.

I never thought of that since I was always trying to find a tool to
give me the information from the command-line.

That will make things easier in the future.

-Jason

--
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: dd Bug using \.\PhysicalDriveX ?

2007-09-19 Thread DePriest, Jason R.
On 9/19/07, Eric Blake  wrote:
 Scalzott, Todd  writes:

 
  I believe that this is part of CORE, which I have at 6.9-5.  I did
  update to all of the latest just a short while ago and reverified the
  problem.

 There's no such thing as CORE in the cygwin distribution; you meant coreutils.

 
  I've discovered what I believe to be a problem with dd on several
  different XP SP2 systems with Cygwin installed involving the usage of
  Windows' \\.\PhysicalDrive nomenclature.

 That's your problem.  Cygwin is a Linux emulation, and use of Window's \\.\
 nomenclature is not guaranteed to work.  Using the corresponding posix-y name
 is more likely to succeed, in which case the bug is not in dd but in your 
 usage.

 
  That is, reading from \\.\PhysicalDrive1 with the below command works
  flawlessly:
  dd if=^\^\.^\PhysicalDrive1 of=tmp.img bs=16384

 That's an unusual quoting style; it certainly doesn't work under bash.  Are 
 you
 by chance trying this under cmd.com?  In which case, why are you bothering 
 with
 quoting? cmd.com passes \ through without the need for quoting.

 At any rate, what you probably wanted something more like this (less typing,
 and no need for quoting, whether in cmd.com or bash):

 dd if=tmp.img of=/dev/sda bs=16K

 See http://cygwin.com/cygwin-ug-net/using-specialnames.html for more details.

 --
 Eric Blake
 volunteer cygwin coreutils maintainer

I concur with Eric Blake.  I have used dd, dd_rescue, aimage, and the
sleuthkit under Cygwin using the /dev/sdX nomenclature.
It works once you can figure out which /dev/sdX corresponds to which
device+partition.

-Jason

--
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: bash: fork: Permission denied -- how can I fix this?

2007-09-19 Thread DePriest, Jason R.
On 9/19/07, James Adams  wrote:

- - - - cut lots of stuff - - - -
 bash-3.2$ cygcheck -s -v -r  cygcheck.out
 69675674 [main] bash 3156 fork: child -1 - CreateProcessA failed, errno 13
 bash: fork: Permission denied
- - - - cut lots of stuff - - - -

cygcheck is a Windows program so you can run it from a cmd.exe prompt.

You'll just have to make sure you use the full path or go to your
cygwin\bin directory first.

-Jason

--
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: [ITP] flip 1.19 -- Convert text file line endings between Unix and DOS formats

2007-09-18 Thread DePriest, Jason R.
On 9/18/07, Eric Blake  wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 According to Jari Aalto on 9/14/2007 5:57 AM:
  * Fri 2007-09-14 Carlo Florendo subscribermail-Re5JQEeQqe8AvxtiuMwx3w AT 
  public.gmane.org
  * Message-Id: 46EA5BF2.1020701 AT gmail.com
  Jari Aalto wrote:
 
  The legendary \n = \r\n end of line converter. Included in Debian
  stable
 
http://packages.debian.org/flip
  Wow! and I thought we had d2u and u2d :)

 Does debian provide d2u at all?  If all debian provides is flip, then that
 is a stronger argument for uploading flip.  I'm passing on uploading this
 until we get a little more consensus as to whether this is duplicate
 functionality, or whether it is providing more usability to users used to
 debian.

 - --
 Don't work too hard, make some time for fun as well!

 Eric Blake

My Debian Etch install provides a package called tofrodos which
includes the commands todos and fromdos which are symlinked to
unix2dos and dos2unix.  The abbreviated u2d and d2u are not present by
default.

It also provides the package flip that doesn't have any fancy
abbreviations or symlinks.

tofrodos
Description: Converts DOS - Unix text files, alias tofromdos
 DOS text files traditionally have CR/LF (carriage return/line feed) pairs
 as their new line delimiters while Unix text files traditionally have
 LFs (line feeds) to terminate each line.
 .
 Tofrodos comprises one program, fromdos alias todos, which converts
 text files to and from these formats. Use fromdos to convert DOS
 text files to the Unix format, and todos to convert Unix text files
 to the DOS format.
 .
 This functionality is also available via the dos2unix/unix2dos symlinks.
 .
  Homepage: http://www.thefreecountry.com/tofrodos/index.shtml

flip
Description: convert text file line endings between Unix and DOS formats
 This program converts line endings of text files between MS-DOS and
 **IX formats.  It detects binary files in a nearly foolproof way and
 leaves them alone unless you override this.  It will also leave files
 alone that are already in the right format and preserves file
 timestamps.  User interrupts are handled gracefully and no garbage or
 corrupted files left behind.  'flip' does not convert files to a
 different character set, and it can not handle Apple Macintosh
 line endings (CR only). For that (and more), you can use the 'recode'
 program (package 'recode').

Does d2u do anything special if a binary file is input or does it just
go through it and try to fix the line endings?

The do seem to duplicate functionality.  Both packages take up less than 100k.

-Jason


Re: 1.5.24-2 question about using echo on remote node.

2007-09-17 Thread DePriest, Jason R.
On 9/17/07, Prakash Babu  wrote:
 Hello all,

 I am trying to run the following command using cygwin
 on a remote node using ssh.

 /bin/sh -c 'echo Number=\1234567\   /tmp/file1'

 The command executes successfully but the  file has
 content Number=1234567(double quotes missing) instead
 of Number=1234567.

 The same command works as expected when i run it from
 red hat Linux.

 Any idea on why this is happening.

 thanks,
 Prakash



No idea.

If I cut and paste your command directly from your email and into my
rxvt bash window, it runs properly (double-quotes are in the resulting
file).

Following the
 Problem reports:   http://cygwin.com/problems.html
might help narrow it down.

-Jason

--
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: ssh ProxyCommand not finding anything to execute

2007-09-17 Thread DePriest, Jason R.
On 9/17/07, SQueeZe  wrote:

 Hi All
 I am trying to connect to my home computer from work and I have to use the
 work HTTP proxy on port 443 in order to do so.  I have done this using PuTTY
 just fine so I know there is nothing wrong with my setup.  I have downloaded
 the windows binary of Connect and placed it in the same folder as the ssh
 binary (c:\cwrsync\bin).  If I try to run the connect command by itself in
 debug mode I can connect to the proxy and thus my home PC just fine:

 bash-3.00$ connect -d -H proxy:8085 myhomepc 443

- - -  deleted DEBUG - - -
 SSH-2.0-OpenSSH_4.3p2 Debian-9

 DEBUG: sent 2 bytes
 DEBUG: recv 19 bytes
 Protocol mismatch.
 DEBUG: connection closed by peer
 DEBUG: relaying done.
 DEBUG: that's all, bye.

 I have installed cwRsync which has the OpenSSH client version 4.5.  I should
 be able to type in the following:

 ssh -v -o ProxyCommand=connect -H -d proxy:8085 %h 443 [EMAIL PROTECTED]

 However I get the following error:

 OpenSSH_4.5p1, OpenSSL 0.9.8d 28 Sep 2006
 debug1: Executing proxy command: exec connect.exe -H proxy:8085 myhomepc 443
 debug1: permanently_drop_suid: 400
 /bin/sh: No such file or directory
 debug1: identity file /cygdrive/c/Documents and
 Settings/myuser/.ssh/identity type -1
 debug1: identity file /cygdrive/c/Documents and Settings/myuser/.ssh/id_rsa
 type 1
 debug1: identity file /cygdrive/c/Documents and Settings/myuser/.ssh/id_dsa
 type -1
 ssh_exchange_identification: Connection closed by remote host

 The problem is that it doesn't seem to be finding the connect binary.  If I
 remove all the connect.exe stuff and just leave it as  or put random
 stuff in there, I get exactly the same error.  C:\cwRsync\bin is in my PATH
 variable so I can type it from anywhere.
 I have tried specifying the location with:
 C:\cwRsync\bin\connect
 /cygdrive/c/cwRsync/bin/connect
 and I have tried copying the binary to various places on my hard drive to no
 avail.

 My understanding is that I should get some output from Connect once it finds
 it as I have specified the -d flag.
 What am I doing wrong?
 Thanks
 SQueeZe
 --

Hello.

I have used the ProxyConnect option successfully.  However, I do not
use your method.
Instead, I modify my ~/.ssh/config file to contain ProxyCommand
sections for specific IP addresses or hosts.
It might make your command line a little bit easier to read and would
elimiate potential quoting errors.

I am also using corkscrew instead of connect.exe for ProxyCommand and
I compiled it myself inside of cygwin.

See man ssh_config

Also
 Problem reports:   http://cygwin.com/problems.html

-Jason

--
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: sftp removing writable bit

2007-09-14 Thread DePriest, Jason R.
On 9/14/07, Andrew DeFaria  wrote:
 Thorsten Kampe wrote:
  * Andrew DeFaria (Thu, 13 Sep 2007 08:53:25 -0700)
  Much less than the possibility of scp being present. And I'm not
  necessarily against the idea of well go out and get a working copy
  of these programs but often clients do not give consultants that
  privilege.
  If your tools are limited or you do transfer just one file then scp is
  fine.
 One file? scp can transfer whole trees...
  But if you want some comfort you should go for the other ones.
 My point is the chances are better that scp will just work while sftp
 probably won't be configured...
  By the way: this has nothing to do with scp versus sftp. And I'm not
  really sure what you mean by scp - do you mean the protocol or the
  command line tool?
 Command line tool. IOW why go through the bother to set up an sftp
 server (I assume that needs to be set up) and picking and getting an
 sftp client when in all likelihood scp is already there and ready to
 use. IOW what's the advantage of an sftp client over just plain scp?
  Anyway: if I haven't convinced you yet that sftp can have its uses and
  advantages then I probably never will.
 That's funny I was thinking the same thing!

 Doesn't mean we can't discuss it though...
 --
 Andrew DeFaria http://defaria.com
 Everybody repeat after me ...We are all individuals.


sftp provides you with an FTP command set where scp does not

that's about the only thing I can think of that makes a difference;
seems like a compelling reason if you are going to be doing complex
transfers, but if you are more familiar and comfortable with scp, then
use it

-Jason

--
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: sftp removing writable bit

2007-09-14 Thread DePriest, Jason R.
On 9/14/07, Andrew DeFaria  wrote:
 Thorsten Kampe wrote:
- - - - - cut - - - - -
 Command line tool. IOW why go through the bother to set up an sftp
 server (I assume that needs to be set up) and picking and getting an
- - - - - cut - - - - -

vi /etc/sshd_config
uncomment line: Subsystem sftp /usr/sbin/sftp-server
:wq

sftp is now set up

--
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: Whither /dev/null ?

2007-09-14 Thread DePriest, Jason R.
On 9/14/07, Jean-Claude Gervais  wrote:
 Hello,

 I am writing bash scripts that are required to run unchanged (as much as
 possible) on Cygwin and Linux.

 A (small) detail I am having problems with is the issue of redirecting
 output to the null device, or bit-bucket.

 If I write the following

 ls  nul

 It works as expected under Cygwin, however under Linux I must write

 ls  /dev/null

 I searched and found discussions on the Cygwin mailing list that seemed
 to say that Cygwin supported (supports?) the /dev/null device, but I
 checked my installation and this pseudo-device didn't seem to exist on
 my system. The '/dev' folder was missing.

 I discovered that if I created the folder '/dev', afterwards
 the /dev/null device existed, even if it does not appear as an actual
 file under /dev

 I installed cygwin only a few weeks ago using the
 http://www.cygwin.com/setup.exe method, and it was missing the /dev
 folder.

 I compared this to the other machines around me which are running a
 version of Cygwin which is about two years old, same results: /dev is
 missing, but creating it unleashes the /dev/null pseudo-device.

 I'm wondering what is the best way to deal with this? I'd like the
 scripts to work straight out of the box and not have to make the users
 create their own /dev and creating it for them would be tedious because
 every script would have to check for this...

 Any advice?
 Puzzled about nothing.
 J


Did you check the Cygwin User's Guide?
http://cygwin.com/cygwin-ug-net/using-specialnames.html

It sort of explains it.

-Jason

--
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: sftp removing writable bit

2007-09-14 Thread DePriest, Jason R.
On 9/14/07, Andrew DeFaria  wrote:
 DePriest, Jason R. wrote:
  sftp provides you with an FTP command set where scp does not
 
  that's about the only thing I can think of that makes a difference;
  seems like a compelling reason if you are going to be doing complex
  transfers, but if you are more familiar and comfortable with scp, then
  use it
 Hey I'm just trying to learn... What complex transfers are possible in
 the ftp command set that are not possible with scp/ssh?

 Hey, I agree, use whatever you are more comfortable with I guess. I just
 think it makes a lot more sense to just use the basic command set,
 perhaps extended with the s commands for remote files, rather than set
 up sftp and use a different command set. IOW I've never seen the need to
 set up sftp and use it over just using the s commands...
 --
 Andrew DeFaria http://defaria.com
 Did anyone see my lost carrier?


sftp gives you a familiar FTP shell; it is not just a command you run

you can list the files on the remote system and make decisions about
what files you want instead of requiring that knowledge beforehand

compare
sftp ?
Available commands:
cd path   Change remote directory to 'path'
lcd path  Change local directory to 'path'
chgrp grp pathChange group of file 'path' to 'grp'
chmod mode path   Change permissions of file 'path' to 'mode'
chown own pathChange owner of file 'path' to 'own'
help  Display this help text
get remote-path [local-path]  Download file
lls [ls-options [path]]   Display local directory listing
ln oldpath newpathSymlink remote file
lmkdir path   Create local directory
lpwd  Print local working directory
ls [path] Display remote directory listing
lumask umask  Set local umask to 'umask'
mkdir pathCreate remote directory
progress  Toggle display of progress meter
put local-path [remote-path]  Upload file
pwd   Display remote working directory
exit  Quit sftp
quit  Quit sftp
rename oldpath newpathRename remote file
rmdir pathRemove remote directory
rm path   Delete remote file
symlink oldpath newpath   Symlink remote file
version   Show SFTP version
!command  Execute 'command' in local shell
! Escape to local shell
? Synonym for help

with
$ scp
usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
   [-l limit] [-o ssh_option] [-P port] [-S program]
   [EMAIL PROTECTED]:]file1 [...] [EMAIL PROTECTED]:]file2

use what works; use what you know

i prefer sftp because I am more familiar with ftp than i am with rcp
(which scp is based on)

-Jason

-Jason

--
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: scp and sftp commands not working on cygwin installed server

2007-09-14 Thread DePriest, Jason R.
On 9/14/07, Sam Snitman  wrote:
 Brian,

 Thanks for your response.  Not sure what you mean by
 however all of your mounts point to d:\cygwin2.
  That's definitely not right

 Unfortunately I have limited Cygwin knowledge.  Can
 you please elaborate what mounts are and about how
 to/risks of changing them to point to d:\cygwin
 instead of d:\cygwin2.  We are currently using cygwin
 for our ITG application to connect with remote servers
 and I wouldn't want to negatively affect anything.  I
 will also start looking at the documentation on mounts
 on the cygwin site.

 Thanks,
 Sam

If you haven't read through the Cygwin User's Guide yet
(http://cygwin.com/cygwin-ug-net/cygwin-ug-net.html), it is incredibly
informative.

-Jason

--
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: setup.exe not available?

2007-09-06 Thread DePriest, Jason R.
On 9/6/07, Yu Namba  wrote:
 I need to install OpenSSL, but when I click on the link to download/run
 setup.exe, the file seems unavailable and I get the The page cannot be
 displayed page. Can you please look into this?

 --

When I click on the link, it works just fine for me. http://cygwin.com/setup.exe

-Jason

--
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: openssh not reporting the correct errorlevel

2007-08-28 Thread DePriest, Jason R.
On 8/28/07, Thorsten Kampe  wrote:
 *  (Mon, 27 Aug 2007 11:55:23 -0700 (PDT))
  Here are the command sequence I ran on Windows 2003 x86 SP2 servers (delhi 
  is the hostname)
  C:\ssh delhi net
  The syntax of this command is:
 
  NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |
HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION |
SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ]
 
 
  C:\echo %errorlevel%
  0
 
  ANALYSIS:
  The errorlevel returned from the second command should be 1
  instead of 0.

 Sorry, but that's ridiculous. You shouldn't use command line
 applications if you don't have a basic understanding of what you're
 doing.

 The output you gave is *not* from ssh delhi net but from net delhi
 ssh (or net ssh delhi). Net(.exe) is a Windows app. Do yourself a
 favour: use PuTTY.


 Thorsten


The command entered looks correct to me.

He is connecting to remote host 'delhi' using ssh and executing the
'net' command on 'delhi' which correctly outputs its usage
information.  Ssh then disconnects and returns him to the local
system.

-Jason

--
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: Using Cygwin in a Multi-User Environment without Administrative A ccess

2007-08-06 Thread DePriest, Jason R.
On 8/6/07, jason.stott wrote:

 Hello,

 We are hoping to make Cygwin available to standard users of our multi-user
 Citrix server environment.

 One thing that we've noticed is that non-administrative users are prompted
 each time with the following prompt after running bash (even after running
 the commands):

 Your group is currently mkpasswd.  This indicates that
 the /etc/passwd (and possibly /etc/group) files should be rebuilt.
 See the man pages for mkpasswd and mkgroup then, for example, run
 mkpasswd -l [-d]  /etc/passwd
 mkgroup  -l [-d]  /etc/group
 Note that the -d switch is necessary for domain users.

 We have also noticed that the profile function isn't saving files in the
 C:\cygwin\home\Jason.Stott_adm under a non-privileged user the same way that
 it is for a user with administrative access.

 Is anyone running Cygwin in a multi-user Citrix environment with user only
 privileges successfully and if so are there any clues that you could provide
 for the above issues?

 Thank you in advance.

 Jason Stott



First, dang your legal disclaimer is long.

Second, I haven't used Cygwin in a Citrix environment, but I do have a
suggestion.

Can you prepopulate the /etc/passwd and /etc/group files with all of
the Citrix users account information?

That would keep the users from needing to write to those files and
should also let you set their home directories.

-Jason

-- 
NOTICE:  This email is being sent in clear-text across the public
Internet.  Therefore, any attempts to include unenforceable legalese
restrictions are ridiculous and pointless.  If you can read this,
consider yourself authorized (whether I like it or not).

--
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: Copy text from secured PDF

2007-08-06 Thread DePriest, Jason R.
On 8/6/07, Joel Rubin  wrote:
 The PDF's in question are part of pump and dump spam via botnets so I
 see no legal or ethical reason to respect any expressed desire of the
 author as to how they may be used.

 I googled that XPDF didn't respect the no copy/no print flags in PDF's
 but the version that I got with Cygwin does and gives me an error
 message when I try to copy text that this file doesn't permit it.

 Of course, I suppose I could look for an old version or cut this
 feature out of the source and recompile (it's probably removable with
 only one or two edits)



My solution is totally not Cygwin-related, but why don't you just
screenshot it and run it through an OCR?

-Jason

-- 
NOTICE:  This email is being sent in clear-text across the public
Internet.  Therefore, any attempts to include unenforceable legalese
restrictions are ridiculous and pointless.  If you can read this,
consider yourself authorized (whether I like it or not).

--
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: Copy text from secured PDF

2007-08-06 Thread DePriest, Jason R.
On 8/6/07, Steve Holden  wrote:
 Joel Rubin wrote:
  pdftotext.exe, part of the XPDF package, can be recompiled with a /*
  comment */ cut around the permission-to-copy/print code.
 
 
  Probably the other programs will also work but since the PDF files
  being spammed just a few lines of text and all I want to do is forward
  the text to the Securities and Exchange Commission and maybe the
  Chinese Consulate (they seem to be spamming Chinese stocks) that's
  enough for me.
 
  So if you have a LEGITIMATE reason to prevent the reader of a PDF file
  from copying/printing don't use this method because it is very easy to
  break - it depends on the co-operation of the reading program. And
  open source reading programs can cease to co-operate.
 
  Bob, I'm sure I will be sued by the author of the PDF, especially if
  he can testify about the whole pump and dump conspiracy and not take
  the Fifth Amendment.
 
 
 
 
 I'm sorry to say this, but reporting each and every such spam to the SEC
 is merely going to compound the problem by spamming them. If you aren't
 part of the answer then you are part of the problem ...

 regards
   Steve
 --
 Steve Holden+1 571 484 6266   +1 800 494 3119
 Holden Web LLC/Ltd   http://www.holdenweb.com
 Skype: holdenweb  http://del.icio.us/steve.holden
 --- Asciimercial --
 Get on the web: Blog, lens and tag the Internet
 Many services currently offer free registration
 --- Thank You for Reading -


 --


The FTC wants it.

http://www.ftc.gov/bcp/conline/pubs/online/inbox.shtm

What Can I Do With the Spam in my In-Box?

Report it to the Federal Trade Commission. Send a copy of unwanted or
deceptive messages to [EMAIL PROTECTED] The FTC uses the unsolicited
emails stored in this database to pursue law enforcement actions
against people who send deceptive spam email.

-Jason

--
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: Request for running a test application

2007-08-02 Thread DePriest, Jason R.
On 8/1/07, Corinna Vinschen  wrote:
 Hi,

 I have a request for help.  I need as much different information I can
 get.  To get this information, I'm asking all of you to run the attached
 test application and return the printed output as reply to this mail.

 Just please don't send information which is already available.

 The test application is a rewritten version of the GetVolInfo source
 code which I have already send once or twice.  A bit of information has
 been added and that's what I'm especially interested in.

 To build the application call:

   gcc -o getvolinfo getvolinfo.c -lntdll

 To run the application, simply call it with a POSIX or DOS path to any
 existing file on a filesystem, which you have permissions to access.
 The simplest method is to access the drives directly.  For instance, if
 you have a drive c and a drive d, just call

   ./getvolinfo C:
   ./getvolinfo D:

 Please run it on all file system combinations you can lay your hands on.
 So far, I have information about:

   - Local FAT, FAT32, NTFS
   - Local CD, DVD
   - Remote NTFS
   - Remote Samba 3.x
   - USB Stick with FAT, NTFS

 I'm looking for

   - Harddisk, CD, DVD over USB
   - Remote FAT, FAT32
   - Remote CD, DVD
   - Remote NFS over SFU NFS
   - Local(?) and remote HPFS
   - Disk changer systems
   - Any other file system not mentioned above.


 Thanks in advance,
 Corinna

 --

This is from a TrueCrypt 4.3 16GB AES encrypted, NTFS formatted volume
on a Western Digital 120GB Passport USB external hard disk drive.

Device Type: 7
Characteristics: 20
Volume Name: 
Serial Number  : 1422353431
Max Filenamelength : 255
Filesystemname : NTFS
Flags  : 700ff
  FILE_CASE_SENSITIVE_SEARCH  : TRUE
  FILE_CASE_PRESERVED_NAMES   : TRUE
  FILE_UNICODE_ON_DISK: TRUE
  FILE_PERSISTENT_ACLS: TRUE
  FILE_FILE_COMPRESSION   : TRUE
  FILE_VOLUME_QUOTAS  : TRUE
  FILE_SUPPORTS_SPARSE_FILES  : TRUE
  FILE_SUPPORTS_REPARSE_POINTS: TRUE
  FILE_SUPPORTS_REMOTE_STORAGE: FALSE
  FILE_VOLUME_IS_COMPRESSED   : FALSE
  FILE_SUPPORTS_OBJECT_IDS: TRUE
  FILE_SUPPORTS_ENCRYPTION: TRUE
  FILE_NAMED_STREAMS  : TRUE
  FILE_READ_ONLY_VOLUME   : FALSE
  FILE_SEQUENTIAL_WRITE_ONCE  : FALSE
  FILE_SUPPORTS_TRANSACTIONS  : FALSE

What do you know, it looks just like a regular NTFS file system.

-Jason

-- 
NOTICE:  This email is being sent in clear-text across the public
Internet.  Therefore, any attempts to include unenforceable legalese
restrictions are ridiculous and pointless.  If you can read this,
consider yourself authorized (whether I like it or not).

--
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: Request for running a test application

2007-08-02 Thread DePriest, Jason R.
On 8/1/07, Corinna Vinschen  wrote:
 Hi,

 I have a request for help.  I need as much different information I can
 get.  To get this information, I'm asking all of you to run the attached
 test application and return the printed output as reply to this mail.

 Just please don't send information which is already available.

 The test application is a rewritten version of the GetVolInfo source
 code which I have already send once or twice.  A bit of information has
 been added and that's what I'm especially interested in.

 To build the application call:

   gcc -o getvolinfo getvolinfo.c -lntdll

 To run the application, simply call it with a POSIX or DOS path to any
 existing file on a filesystem, which you have permissions to access.
 The simplest method is to access the drives directly.  For instance, if
 you have a drive c and a drive d, just call

   ./getvolinfo C:
   ./getvolinfo D:

 Please run it on all file system combinations you can lay your hands on.
 So far, I have information about:

   - Local FAT, FAT32, NTFS
   - Local CD, DVD
   - Remote NTFS
   - Remote Samba 3.x
   - USB Stick with FAT, NTFS

 I'm looking for

   - Harddisk, CD, DVD over USB
   - Remote FAT, FAT32
   - Remote CD, DVD
   - Remote NFS over SFU NFS
   - Local(?) and remote HPFS
   - Disk changer systems
   - Any other file system not mentioned above.


 Thanks in advance,
 Corinna

 --

drive letter mapped to EMC-SNAS share

Device Type: 7
Characteristics: 10
Volume Name: 225
Serial Number  : 57
Max Filenamelength : 255
Filesystemname : NTFS
Flags  : 4006e
  FILE_CASE_SENSITIVE_SEARCH  : FALSE
  FILE_CASE_PRESERVED_NAMES   : TRUE
  FILE_UNICODE_ON_DISK: TRUE
  FILE_PERSISTENT_ACLS: TRUE
  FILE_FILE_COMPRESSION   : FALSE
  FILE_VOLUME_QUOTAS  : TRUE
  FILE_SUPPORTS_SPARSE_FILES  : TRUE
  FILE_SUPPORTS_REPARSE_POINTS: FALSE
  FILE_SUPPORTS_REMOTE_STORAGE: FALSE
  FILE_VOLUME_IS_COMPRESSED   : FALSE
  FILE_SUPPORTS_OBJECT_IDS: FALSE
  FILE_SUPPORTS_ENCRYPTION: FALSE
  FILE_NAMED_STREAMS  : TRUE
  FILE_READ_ONLY_VOLUME   : FALSE
  FILE_SEQUENTIAL_WRITE_ONCE  : FALSE
  FILE_SUPPORTS_TRANSACTIONS  : FALSE

UNC path to share on Windows XP-E appliance

Device Type: 7
Characteristics: 10
Volume Name: 
Serial Number  : 2082771569
Max Filenamelength : 255
Filesystemname : NTFS
Flags  : 700ff
  FILE_CASE_SENSITIVE_SEARCH  : TRUE
  FILE_CASE_PRESERVED_NAMES   : TRUE
  FILE_UNICODE_ON_DISK: TRUE
  FILE_PERSISTENT_ACLS: TRUE
  FILE_FILE_COMPRESSION   : TRUE
  FILE_VOLUME_QUOTAS  : TRUE
  FILE_SUPPORTS_SPARSE_FILES  : TRUE
  FILE_SUPPORTS_REPARSE_POINTS: TRUE
  FILE_SUPPORTS_REMOTE_STORAGE: FALSE
  FILE_VOLUME_IS_COMPRESSED   : FALSE
  FILE_SUPPORTS_OBJECT_IDS: TRUE
  FILE_SUPPORTS_ENCRYPTION: TRUE
  FILE_NAMED_STREAMS  : TRUE
  FILE_READ_ONLY_VOLUME   : FALSE
  FILE_SEQUENTIAL_WRITE_ONCE  : FALSE
  FILE_SUPPORTS_TRANSACTIONS  : FALSE

-- 
NOTICE:  This email is being sent in clear-text across the public
Internet.  Therefore, any attempts to include unenforceable legalese
restrictions are ridiculous and pointless.  If you can read this,
consider yourself authorized (whether I like it or not).

--
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/



  1   2   3   >