How to configuring a cross compiler for ARM Cortex M4F from GCC using Cygwin

2021-02-28 Thread Welwin Joseph via Cygwin
Hi,
I am new to the concept of configuring crosscompiler from GCC , can anyone 
guide me on how to create/ Configure a cross compiler from GCC compiler for ARM 
cortex M4F using Cygwin. I am using a windows 10 PC, my target is arm cortexM4F 
  TM4C129ENCPDT and I am using it as bareboard (no OS).


With regards,
Welwin
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


John The Ripper Errors

2019-03-02 Thread Joseph Alves
I'm getting the following error when trying to run John The Ripper from Win10

[18:25:13] 
C:\Users\joe.alves.adm\Desktop\JohnTR\john180j1w\john180j1w\run\john.exe 
--session=C:/Users/joe.alves.adm/.john/sessions/03-02-19-18-25-13 
C:/Users/joe.alves.adm/Desktop/ADDatabase/hash2.txt

1 [main] john 13260 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. 
Please report this problem to

the public mailing list cygwin@cygwin.com

cygwin warning:

MS-DOS style path detected: C:/Users/joe.alves.adm/Desktop/ADDatabase/hash2.txt

Preferred POSIX equivalent is: 
/cygdrive/c/Users/joe.alves.adm/Desktop/ADDatabase/hash2.txt

CYGWIN environment variable option "nodosfilewarning" turns off this warning.

Consult the user's guide for more details about POSIX paths:

http://cygwin.com/cygwin-ug-net/using.html#using-pathnames

Warning: detected hash type "LM", but the string is also recognized as 
"HAVAL-128-4"

Use the "--format=HAVAL-128-4" option to force loading these as that type 
instead

Warning: detected hash type "LM", but the string is also recognized as "lotus5"

Use the "--format=lotus5" option to force loading these as that type instead

Warning: detected hash type "LM", but the string is also recognized as "MD2"

Use the "--format=MD2" option to force loading these as that type instead

Warning: detected hash type "LM", but the string is also recognized as "mdc2"

Use the "--format=mdc2" option to force loading these as that type instead

Warning: detected hash type "LM", but the string is also recognized as "mscash"

Use the "--format=mscash" option to force loading these as that type instead

Warning: detected hash type "LM", but the string is also recognized as "mscash2"

Use the "--format=mscash2" option to force loading these as that type instead

Warning: detected hash type "LM", but the string is also recognized as "NT"

Use the "--format=NT" option to force loading these as that type instead

Warning: detected hash type "LM", but the string is also recognized as "nt2"

Use the "--format=nt2" option to force loading these as that type instead

Warning: detected hash type "LM", but the string is also recognized as "Raw-MD4"

Use the "--format=Raw-MD4" option to force loading these as that type instead

Warning: detected hash type "LM", but the string is also recognized as "Raw-MD5"

Use the "--format=Raw-MD5" option to force loading these as that type instead

Warning: detected hash type "LM", but the string is also recognized as 
"Raw-MD5u"

Use the "--format=Raw-MD5u" option to force loading these as that type instead

Warning: detected hash type "LM", but the string is also recognized as 
"ripemd-128"

Use the "--format=ripemd-128" option to force loading these as that type instead

Warning: detected hash type "LM", but the string is also recognized as 
"Snefru-128"

Use the "--format=Snefru-128" option to force loading these as that type instead

Warning: poor OpenMP scalability for this hash type

Will run 4 OpenMP threads

Press 'q' or Ctrl-C to abort, almost any other key for status



Joseph Alves


--
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: strtod ("nan") returns negative NaN

2018-08-14 Thread Joseph Myers
On Wed, 15 Aug 2018, Masamichi Hosoda wrote:

> On Linux with glibc, both strtod ("nan")
> and strtod ("-nan") return positive NaN.
> 
> So I've created the patch that behaves like glibc.
> Both strtod ("nan") and strtod ("-nan") return positive NaN.

I would suggest that you should not consider fixed bugs in glibc (bug 
23007 in this case) to be appropriate to emulate in other libraries.

-- 
Joseph S. Myers
jos...@codesourcery.com

--
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 not showing afp files since update

2018-05-03 Thread Franz Joseph Bowman
More information.  It looks like Temporary files are created when
using Print To File from Adobe.
I went back and looked at old Postscript and AFP files created that
way and Cygwin cannot see them when listing the directory or perl
globbing.  When specifying the whole filename, ls does see the file.


Please email me if you have any help at franz D-O-T j D-O-T bowman A-T
rrd D-O-T com

__
Joe Bowman | Lead Programmer, BCS App Dev | RR Donnelley
1550 Lakeway Drive Ste 600 | Lewisville, TX 75057


On Thu, May 3, 2018 at 11:27 AM, Joe Bowman wrote:
> It looks like the program that created them is putting the T attribute
> which means Temporary.
> I don't think this used to hide them in cygwin but now it does.
> Is this by design?  My coworker is using 32 bit Cygwin and is having
> the same issue.
>
> On Wed, May 2, 2018 at 4:57 PM, Joe Bowman wrote:
>>
>> # Since we updated to 2-10-0.1, something in cygwin makes some files
>> hidden in some cases.
>>
>> # Just listing with the name works
>> $ ls -n RSC0388_618C5.afp
>> -rw-rw-rw-+ 1 1558598 1049089 198483 May  2 14:15 RSC0388_618C5.afp
>> $ ls RSC0388_618C5.afp
>> RSC0388_618C5.afp
>>
>> The filesystem globbing when using ls does not see the same file
>> $ ls *.afp
>> ls: cannot access '*.afp': No such file or directory
>>
>> # if I copy the file in cygwin the user name and domain are different
>> and now I am allowed to see them
>> $ cp RSC0388_618C5.afp my_RSC0388_618C5.afp
>> $ ls -n *.afp
>> -rw-rw-r--+ 1 544 1049089 198483 May  2 15:50 my_RSC0388_618C5.afp
>>
>> This was in 64 bit cygwin.  I installed an old 32 bit cygwin alongside
>> and it sees the files.
>>
>> Please help.
>>
>>
>> Regards,
>>
>> Joe Bowman | Lead Programmer, BCS App Dev | RR Donnelley
>> franz _DOT_ j _DOT_ bowman _AT_ rrd _DOT_ com

--
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 not showing afp files since update

2018-05-03 Thread Franz Joseph Bowman
It looks like the program that created them is putting the T attribute
which means Temporary.
I don't think this used to hide them in cygwin but now it does.
Is this by design?  My coworker is using 32 bit Cygwin and is having
the same issue.

On Wed, May 2, 2018 at 4:57 PM, Joe Bowman wrote:
>
> # Since we updated to 2-10-0.1, something in cygwin makes some files
> hidden in some cases.
>
> # Just listing with the name works
> $ ls -n RSC0388_618C5.afp
> -rw-rw-rw-+ 1 1558598 1049089 198483 May  2 14:15 RSC0388_618C5.afp
> $ ls RSC0388_618C5.afp
> RSC0388_618C5.afp
>
> The filesystem globbing when using ls does not see the same file
> $ ls *.afp
> ls: cannot access '*.afp': No such file or directory
>
> # if I copy the file in cygwin the user name and domain are different
> and now I am allowed to see them
> $ cp RSC0388_618C5.afp my_RSC0388_618C5.afp
> $ ls -n *.afp
> -rw-rw-r--+ 1 544 1049089 198483 May  2 15:50 my_RSC0388_618C5.afp
>
> This was in 64 bit cygwin.  I installed an old 32 bit cygwin alongside
> and it sees the files.
>
> Please help.
>
>
> Regards,
>
> Joe Bowman | Lead Programmer, BCS App Dev | RR Donnelley
> franz _DOT_ j _DOT_ bowman _AT_ rrd _DOT_ com

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



cygwin not showing afp files since update

2018-05-02 Thread Franz Joseph Bowman
# Since we updated to 2-10-0.1, something in cygwin makes some files
hidden in some cases.

# Just listing with the name works
$ ls -n RSC0388_618C5.afp
-rw-rw-rw-+ 1 1558598 1049089 198483 May  2 14:15 RSC0388_618C5.afp
$ ls RSC0388_618C5.afp
RSC0388_618C5.afp

The filesystem globbing when using ls does not see the same file
$ ls *.afp
ls: cannot access '*.afp': No such file or directory

# if I copy the file in cygwin the user name and domain are different
and now I am allowed to see them
$ cp RSC0388_618C5.afp my_RSC0388_618C5.afp
$ ls -n *.afp
-rw-rw-r--+ 1 544 1049089 198483 May  2 15:50 my_RSC0388_618C5.afp

This was in 64 bit cygwin.  I installed an old 32 bit cygwin alongside
and it sees the files.

Please help.


Regards,

Joe Bowman | Lead Programmer, BCS App Dev | RR Donnelley
franz _DOT_ j _DOT_ bowman _AT_ rrd _DOT_ com

--
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: Unexpected behavior of HOME value

2018-03-12 Thread Joseph L. Casale
> Does anybody have an idea what could be different on this one system that
> I could check?

The system in question is a laptop and the behavior works as expected when
the laptop is connected to the domain, however it breaks when not. Starting
a vpn session when remote brings the behavior back to what is expected.

What does cygwin do that requires an active connection to the domain in
addition to the logic outlined in /etc/profile?

Thanks,
jlc
--
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



Unexpected behavior of HOME value

2018-03-12 Thread Joseph L. Casale
Looking at /etc/profile, I see the following:

  # Here is how HOME is set, in order of priority, when starting from Windows
  #  1) From existing HOME in the Windows environment, translated to a Posix 
path
  #  2) from /etc/passwd, if there is an entry with a non empty directory field
  #  3) from HOMEDRIVE/HOMEPATH
  #  4) / (root)
  # If the home directory doesn't exist, create it.

From a command shell:

C:\Users\jcasale>set h
HOMEDRIVE=C:
HOMEPATH=\Users\jcasale

C:\Users\jcasale>type \cygwin64\etc\nsswitch.conf
...
db_home: windows

Yet my home is generated as /home/jcasale and the directory is created
when launching a terminal. I have countless installs of Cygwin where this works
as expected and the HOME variable is constructed as expected using the
HOMEDRIVE/HOMEPATH convention.

Does anybody have an idea what could be different on this one system that
I could check?

Thanks,
jlc

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



Notice

2016-01-02 Thread Neal Joseph Drake
Dear Corinna Vinschen,

It is my pleasure communicating with you as I have a good proposal
which I want to introduce to you. Kindly get back to me for more
details.

Best regard.

Yours faithfully,
Neal J. Drake

--
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: Telnet / SSH connection timeout on LAN

2015-07-06 Thread Joseph B
Hi Andrew,

Desktop

LAN Adapter
IP: 192.168.0.2 (static)
Subnet Mask: 255.255.255.0
no DNS server

Wifi Adapter
192.168.254.18 (dynamic)
255.255.255.0
gateway: 192.168.254.254

Laptop

LAN
192.168.0.1 (static)
255.255.255.0
no DNS

Wifi
192.168.254.19 (dynamic)
255.255.255.0
192.168.254.254

I don't think these namespaces overlap?

Note that my ethernet cable is standard 5e, not crossover. I am
directly wiring the computers without a switch or hub. This is not
supposed to work, and indeed it doesn't work very well. I am content
at this point to use wifi's slower transfer speed, since the big 250
GB transfer is done. So I would rather stop using the ethernet cable,
as it is a likely failure point.

Testing with ethernet cable only, wifi disabled on both:

I re-attached the ethernet cable. After manually changing the network
type from public to private (work) on both computers, I was able
to access Windows shared folders, as before. Network is still labeled
unidentified on both machines, as before.

Synctoy runs about the same. It finishes the 250 GB sync with about
1000 errors. Not sure whether it's faster; maybe.

Cygwin ping works from laptop to desktop. It sends 4 packets, time 0 ms.
  However, from desktop to laptop, it sends 13 successful pings
averaging .5 ms and then freezes. It never presents the statistical
summary. Ctrl-c does not break the loop. Had to restart the Cygwin
window.
I did not observe this behavior before. Ping from desktop windows CLI
succeeds normally.

Cygwin telnet fails to cross the cable both ways, with error unable
to connect to remote host: Connection timed out. Telnetting localhost
gives connection refused. I don't know how to set up a telnet
server.

Cygwin ssh to localhost / ip address succeeds. E.g. ssh localhost
 Connection to other machine fails with error connect to host
192.168.0.x port 22: Connection timed out. Command was e.g. ssh
192.168.0.1

Thanks for the advice. Please let me know what to do next. Adieu.

On Mon, Jul 6, 2015 at 10:26 AM, Andrey Repin anrdae...@yandex.ru wrote:
 Greetings, Spinfusion!

 My goal:
 To set up rsync over SSH, to sync my org-mode GTD files, activated every
 time my laptop or pc goes idle, as described by Gina Trapani.

 Network hardware architecture:
 Windows 7 laptop and desktop, connected directly by cat 5e ethernet cable.
 Also both connected via wifi to the same router.

 What are assigned IP addresses on both links?
 Your further hints indicate that you have name resolution conflict due to
 overlapping network address space.
 Disconnect from WiFi on both hosts and try only cable.

 Network functionality:
 Windows firewalls currently disabled
 Windows shared folders works for directory browsing and editing
 Synctoy worked to sync drives, although it spewed a lot of errors and took a
 long time and many retries to sync ~250 gb. Did it over the ethernet cable
 because wifi was too slow.

 Cygwin functionality:
 ping works.
 telnet error: connection timed out
 ssh error: connection timed out
 ssh connection to localhost - works

 Background and guesses:

 I've read and tried many fixes with no luck, to the best of my limited
 understanding.

 I doubt network names are configured correctly; I'm out of my depth there.
 Pinging works with fixed IP addresses assigned for the ethernet connection.

 I don't know what I'm doing and would appreciate some guidance. Cheers.


 --
 With best regards,
 Andrey Repin
 Monday, July 6, 2015 18:24:38

 Sorry for my terrible english...


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



Re: Newlib/Cygwin now under GIT

2015-03-10 Thread Joseph Myers
On Tue, 10 Mar 2015, Corinna Vinschen wrote:

 Hi fellow developers,
 
 
 I'm happy to inform you that the move of Newlib/Cygwin from the src CVS
 repository to the new, combined GIT repository is now final.

I note that this repository includes the include/ directory, in its larger 
binutils-gdb form rather than the smaller GCC form.

How much of this is actually relevant for newlib?  Mostly it relates to 
libiberty and object file formats, for use of code that's not included in 
this repository (which does not include libiberty).  If little or none of 
this code is actually used in newlib, it might make sense to remove the 
unused files so it's clear they do not need merging from the other 
repositories.

(Apart from include/, various shared toplevel files and directories are 
out of sync between the three repositories - GCC, binutils-gdb, 
newlib-cygwin - and could do with someone identifying unmerged changes and 
applying them to the repositories missing them.)

-- 
Joseph S. Myers
jos...@codesourcery.com

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



Linking to cygwin1.dll

2015-01-21 Thread Manoj Joseph

Hi,

As I understand, Windows looks for DLLs in $PATH. Is there any way to 
specify, perhaps at compile time, that cygwin1.DLL is to be located in 
the same directory as the binary?


Doing this would mean I don't have to modify environment variables or 
copy cygwin1.DLL to one of the system directories.


Regards,
Manoj

--
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: Linking to cygwin1.dll

2015-01-21 Thread Manoj Joseph
Never mind. My bad. Looks like the directory from which the application
loaded is indeed a location where Windows looks.

https://msdn.microsoft.com/en-us/library/windows/desktop/ms682586(v=vs.85).aspx#standard_search_order_for_desktop_applications

Apologies for the noise!

Regards,
Manoj

On 1/21/15 11:46 AM, Manoj Joseph wrote:
 Hi,

 As I understand, Windows looks for DLLs in $PATH. Is there any way to
 specify, perhaps at compile time, that cygwin1.DLL is to be located in
 the same directory as the binary?

 Doing this would mean I don't have to modify environment variables or
 copy cygwin1.DLL to one of the system directories.

 Regards,
 Manoj

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



long_int vs int byte sizes

2014-04-06 Thread Joseph Maxwell
Not sure if this is hardware, software or compiler dependent


$ uname -a
CYGWIN_NT-5.1 machinename 1.7.28(0.271/5/3) 2014-02-09 21:06 i686 Cygwin

On a 32 bit XP SP 3 platform

wrote a small profram to check some parameters;
Received the following Re: Signed abd unsigned iintegers

[quote]
int x = 0xAB78 in decimal format is : 43896
and
unsigned int y = 0xAB78 in decimal format is : 43896
The  size of int is 4 bytes
[/quote]


Not quite what I expected, sine the leftmost bit in 'int' is 1 and
would be the negative flag.

So wrote another for byte sizes and got the following -

[quote]
The  size of short int is 2 bytes
The  size of int is 4 bytes
The  size of long int is 4 bytes
The  size of double is 8 bytes
The  size of long double is 12 bytes
[/quote]

Note size of int and long int are the same both are 4 bytes long

Is this to be expected?

Thanks!

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



Stack trace dumpfile

2014-03-20 Thread Joseph Maxwell
I have compiled a C program that seemed to be successful, using -

$ gcc -O2 /cygdrive/j/Comp_programs/C/24_Hrs/8/OCR_DOC-8.3.c -o
/cygdrive/j/Comp_programs/C/24_Hrs/8/08L03.exe

however on executing it I receive the following message -

 $ /cygdrive/j/Comp_programs/C/24_Hrs/8/08L03.exe
  9 [main] 08L03 16888 J:\Comp_programs\C\24_Hrs\8\08L03.exe: ***
fatal error - MapViewOfFileEx 'shared.5'(0x794), Win32 error 6.
Terminating.
   8066 [main] 08L03 16888 cygwin_exception::open_stackdumpfile:
Dumping stack trace to 08L03.exe.stackdump

I recompiled using the gcc -O2 -g option with the intent of using
'addr2line -e' .
The problem is that I cannot find a 08L03.exe.stackdump anywhere on
My Computer after an exhaustive search on all disks.

Could someone suggest were to locate this file or how to proceed with the debug.

Thanks!

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



cygwin usage on Windows

2014-03-16 Thread Joseph E. Maxwell
I have a question that I am sure must have been addressed before, but I 
cannot find it after days of searching. Of course I am a Newbie with cygwin.


I have completed an installation, successfully, I think on an x386 
platform w/ Win XP SP3 OS.


I can compile a C program from within the cywgin shell (terminal) but 
cannot do so from a windows page.
Attempting to run the executable from the latter,  generate a terse 
error response, This application has failed to start because 
cygwin1.dll was not found. Re-installing the application may fix this 
problem.


Is this the actual mode of performance (executable to be run only from 
the cygwin shell and not from Windos page) or have I lost functionality 
along the way?


Thanks!


--
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: [psmisc] Display bug

2011-07-01 Thread Joseph Krahn
The %6d format was obviously defined when PIDs were 16 bits. It may be
useful to used a fixed-width format to keep things tidy when PIDs are
not so big, but include a leading space so that large PIDs don't run
together.

Joe Krahn

On Thu, Jun 30, 2011 at 8:43 AM, AZ 9901 az9...@gmail.com wrote:
 Hello,

 Replacing line 719 by the following in fuser.c works fine :
 printf ( %d, item-u.proc.pid);

 Could you please notify us when the package on the repository will be updated 
 ?

 Thank you very much !

 Best regards,

 Benjamin



 2011/6/29 AZ 9901 az9...@gmail.com

 Hello,

 I think there is a little display bug in last psmisc package (21.5-3), 
 especially in fuser tool.

 For example :

 # fuser /tmp/test
 /tmp/test:  13487213604414537

 Process numbers are not separated.

 I think that this is due to line 719 in fuser.c :
 printf (%6d, item-u.proc.pid);

 Perhaps the following could be better ?
 printf (%d , item-u.proc.pid);

 Could it be possible to update this package ?

 Thank you very much !

 Best regards,

 Benjamin




RE: Runtime SEGV from gcc -O3 -march=native

2010-07-26 Thread Joseph Quinsey
Again, just FYI, with a simpler example, and with -march=native replaced by
k8 or athlon64.

Source code:

int main(void) {
static int foo[4];
int i;
for (i = 0; i  4; i++)
foo[i] = 0;
return 0;
}

Compile and run, using Cygwin's current gcc version 4.3.4: 

gcc -O3 -march=athlon64 foobar.c
./a.exe
Segmentation fault (core dumped)


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



Runtime SEGV from gcc -O3 -march=native

2010-07-22 Thread Joseph Quinsey
FYI. Source code:

int main(void) {
static int foo[4];
int bar[4];
int i;
for (i = 0; i  4; i++)
foo[i] = bar[i];
return 0;
}

Compile and run, using Cygwin's current gcc version 4.3.4: 

gcc -O3 -march=native foobar.c
a.exe
Segmentation fault (core dumped)

I've submitted a bug report to gcc, and it has been flagged as a duplicate
of the 2008 report: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37216



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



xterm faceSize and -fs in version 260

2010-06-27 Thread Joseph Quinsey
The xterm faceSize resource and the -fs command line option do not seem to
work with xterm version 260.  Installing the previous Cygwin version, 255,
fixes this.
---
Joseph Quinsey


--
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: xterm faceSize and -fs in version 260

2010-06-27 Thread Joseph Quinsey
Attached are the results of appres XTerm and xterm.


appres_XTerm2
Description: Binary data


appres_xterm
Description: Binary data
--
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: Slow response to keypresses in xorg-server-1.8.0-1

2010-06-10 Thread Joseph Ess
On Sat, 01 May 2010 09:49:21,  Ken Brown wrote:
 I'm often seeing a very slow response to keypresses under 
 xorg-server-1.8.0-1.  The problem is intermittent, but it always happens
 within a few minutes after starting the server (via the start menu 
 shortcut or a slight variant).  Here are some examples:

I did an upgrade a few days ago and noticed the same thing.  If I use another 
program 
for a few minutes then try to alt-tab or use the taskbar to go back to the 
xterm, the 
xterm will be unresponsive.  
The time the xterm is unresponsive appears to be related to the amount of time 
the 
xterm has not had focus.  The longer the xterm is not used, the longer it takes 
to 
wake up.
Right-clicking on the X icon in the system tray usually wakes the xterm back up.


  

--
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 do I start WM?

2010-02-25 Thread Joseph Ess
From: Holger Krull holger dot krull at gmx dot de
I know that. Sorry for being to short with the description.
The X-Server dies when openbox starts, and it shouldn't do that, even 
without a window manager. But i see this only every tenth attempt to 
start openbox, while the original poster seems to have this every time.

And I changed /etc/X11/xinit/xinitrc, no ~/.xinitrc

Interestingly, putting openbox at the end of the start script and doing

exec openbox-session /tmp/openbox.log 21

seems to stop that, but i haven't tried enough to be sure.

Ugh.  I keep setting off filters of one sort or another.  
I can reproduce your finding.  Putting just openbox  in my ~/xinitrc does 
not work.  
Putting the exec openbox-session /tmp/openbox.log 21 line in works fine 
for the few minutes I tested.
twm and WindowMaker work fine from a Windows shortcut.
Thanks,
Joe



  

--
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 do I start WM?

2010-02-25 Thread Joseph Ess
From: Mike Ayers mike_ayers at tvworks dot com
 Notice the first line.  This is a script.  When it ends, startx ends, as does 
 your X 
 session.  Notice the last line.  The X session now lasts as long as the 
 window manager.  
 Note the lack of redirects on the window manager, and the use of a console 
 window.  I 
 haven't tested this extensively with 1.7, but it's worked like a rock in the 
 past.

I got it.  Thank you. I can start up Xwindows with OpenBox from a Windows 
shortcut now.  
I still don't have a workspace pager.  Is the problem me or is it OpenBox? 
Joe



  

--
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 do I start WM?

2010-02-25 Thread Joseph Ess
From: Yaakov (Cygwin/X) yselkowitz at users dot sourceforge dot net

 Note that the last line does NOT have a ''.  Quoting from xinit(1):

_Now_ it's clear.
Thanks. 
Joe



  

--
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 do I start WM?

2010-02-25 Thread Joseph Ess
From: Yaakov (Cygwin/X) yselkowitz at users dot sourceforge dot net
On 2010-02-25 10:16, Joseph Ess wrote:
 I can reproduce your finding.  Putting just openbox in my ~/xinitrc does 
 not work. 
 Of course not; the xinit(1) man page explains that clearly.

Really? I looked. Your definition of clear and mine must be different.  
The xinit(1) man page suggests an ~/xinitrc like so:

xrdb -load $HOME/.Xresources
xsetroot -solid gray 
xclock -g 50x50-0+0 -bw 0 
xload -g 50x50-50+0 -bw 0 
xterm -g 80x24+0+0 
xterm -g 80x24+0-0 
twm
I would assume (yea, I'm sticking my neck out) I could comment out twm and 
substitute another WM. Doing so works with WindowMaker.  It doesn't with 
OpenBox.
Reid Thompson suggested doing something similar here: 
http://cygwin.com/ml/cygwin-xfree/2010-02/msg00149.html 
What am I doing wrong and how can i fix it?
Thanks,
Joe



  

--
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 do I start WM?

2010-02-25 Thread Joseph Ess
From: Yaakov (Cygwin/X) yselkowitz at users dot sourceforge dot net
 Openbox is just a WM.  It does not provide a panel, pager, or other 
desktop components.

Maybe I'm thinking of BlackBox, since it has a toolbar.
Thanks,
Joe



  

--
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 do I start WM?

2010-02-24 Thread Joseph Ess
- Original Message 

 From: Jon TURNEY jon.tur...@dronecode.org.uk
 To: cygwin-xfree@cygwin.com
 Cc: joseph_...@yahoo.com
 Sent: Tue, February 23, 2010 2:42:47 PM
 Subject: Re: How do I start WM?
 
 Your question was How do I start XWindows in full screen mode with OpenBox 
 window manager?, not How do I start XWindows in full screen mode with 
 OpenBox window manager by double-clicking on something?

That's some serious grasping at straws.
 
 Copy the XWin Server link on the start menu, and change the target of the 
 copy from:
 
 C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe
 
 to:
 
 C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startx
 
 You probably want to change the name of the shortcut to something like XWin 
 server (windowed) or whatever...
 
 Customize ~/.xinitrc to launch openbox by having it end 'exec openbox' and 
 remove the line which starts twm.
 
 Double-click away!

When I do, the Xwindows desktop appears for a split second and disappears.  The 
XWin Server icon works as expected, bringing up a single xterm in a Windows 
window.



  

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



How do I start WM?

2010-02-23 Thread Joseph Ess
How do I start XWindows in full screen mode with OpenBox window manager?
It used to be that I'd just put the command for the window manager at the end 
of startxwin.bat.  Now that file's gone away.  
I can't use startxwin.exe as it is multi-window only.  I can run XWin.exe, but 
the only command line or .XWinrc options I can find for that program are for 
Windows-specific functions(i.e. system tray icon).  
TIA, 
Joe



  

--
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 do I start WM?

2010-02-23 Thread Joseph Ess
 To: cygwin-xfree@cygwin.com
 Cc: joseph_...@yahoo.com
 Sent: Tue, February 23, 2010 9:36:55 AM
 Subject: Re: How do I start WM?
 
 On 23/02/2010 14:11, Joseph Ess wrote:
  How do I start XWindows in full screen mode with OpenBox window manager? It
  used to be that I'd just put the command for the window manager at the end
  of startxwin.bat.  Now that file's gone away. I can't use startxwin.exe as
  it is multi-window only.  I can run XWin.exe, but the only command line or
  .XWinrc options I can find for that program are for Windows-specific
  functions(i.e. system tray icon).
 
 Read the documentation.
 
 http://x.cygwin.com/docs/ug/using.html#using-starting-startx
 
 
 -- Jon TURNEY
 Volunteer Cygwin/X X Server maintainer
 From: Jon TURNEY jon.tur...@dronecode.org.uk

I've read the documentation.  The page you refer to mentions startxwin and 
startx.
As I mentioned before, startxwin is for multi-window only. 
startx apparently requires a Cygwin shell. I'm trying to start Cygwin/XWindows 
in full screen mode.
Is there something I missed?



  

--
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 do I start WM?

2010-02-23 Thread Joseph Ess




- Original Message 
 From: Jon TURNEY jon.tur...@dronecode.org.uk
 To: cygwin-xfree@cygwin.com
 Cc: joseph_...@yahoo.com
 Sent: Tue, February 23, 2010 11:19:40 AM
 Subject: Re: How do I start WM?
 
 On 23/02/2010 15:11, Joseph Ess wrote:
  Sent: Tue, February 23, 2010 9:36:55 AM
  Subject: Re: How do I start WM?
 
  On 23/02/2010 14:11, Joseph Ess wrote:
  How do I start XWindows in full screen mode with OpenBox window manager? 
  It
  used to be that I'd just put the command for the window manager at the end
  of startxwin.bat.  Now that file's gone away. I can't use startxwin.exe as
  it is multi-window only.  I can run XWin.exe, but the only command line or
  .XWinrc options I can find for that program are for Windows-specific
  functions(i.e. system tray icon).
 
  Read the documentation.
 
  http://x.cygwin.com/docs/ug/using.html#using-starting-startx
 
  I've read the documentation.  The page you refer to mentions startxwin and 
 startx.
  As I mentioned before, startxwin is for multi-window only.
  startx apparently requires a Cygwin shell. I'm trying to start 
  Cygwin/XWindows 
 in full screen mode.
  Is there something I missed?
 
 From your response, it sounds like you haven't actually tried using startx.

And you'd be wrong.

 Perhaps you should follow my suggestion and try it.

I double-clicked on c:\cygwin\bin\startx.  It opens a
dialog titled Open With that instructs one to Choose the program you
want to use to open this file. 

 Then please explain how it differs from what you want to achieve.

It doesn't start XWindows like startxwin.bat used to.  



  

--
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 do I start WM?

2010-02-23 Thread Joseph Ess




- Original Message 
 From: Jon TURNEY jon.tur...@dronecode.org.uk
 To: cygwin-xfree@cygwin.com
 Cc: joseph_...@yahoo.com
 Sent: Tue, February 23, 2010 1:49:56 PM
 Subject: Re: How do I start WM?
 
 On 23/02/2010 18:29, Joseph Ess wrote:
  Perhaps you should follow my suggestion and try it.
  
  I double-clicked on c:\cygwin\bin\startx.  It opens a
  dialog titled Open With that instructs one to Choose the program you
  want to use to open this file.
 
 Does http://x.cygwin.com/docs/ug/using.html#using-starting-startx say to run 
 startx by double clicking on it? Not it does not.
 
 Hint: that will not work as startx is bash script, which Windows explorer has 
 no 
 idea how to run.
 

I say that I'm trying to replace a .bat file, which one could presumable run by 
double-clicking on it, and you propose using a bash script, which one cannot 
double-click on and then berate me for trying it?  



  

--
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: Cygwin 1.7.1 sprintf() with format string having 8th bit set

2010-01-04 Thread Joseph Quinsey
Hello,

Thank you Andy for your help. As per your suggestion, the problem was
resolved by adding the line:

setlocale (LC_CTYPE, C.ASCII);

My actual code was something like:

#define CSI_ \233
...
sprintf (..., CSI_%d;%dH, row, col);

So my problem is fixed. 

But as a matter of general interest, there are still some oddities:

1) In my bad test, I already had my LOCALE set to C.ASCII:

   env | grep LC
   LC_ALL=C.ASCII

I'm using tcsh(1), if this matters. And this setting generates a nuisance
message locale not supported by Xlib, locale set to C whenever I start
nedit. And $LANG is ASCII, if this matters.
   
2) The call setlocale (LC_CTYPE, C) did not work, although it returns its
second argument.

3) The call setlocale (LC_CTYPE, POSIX) also did not work. It happens to
return C.

The above behaviour seems to disagree with the man page.

Thank you again for your very prompt help.

Regards, Joe Quinsey


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



Cygwin 1.7.1 sprintf() with format string having 8th bit set

2010-01-03 Thread Joseph Quinsey
Hello,

In Cygwin 1,7.1, sprintf() with the format string having an 8th bit set
appears to be broken. Sample code (where I've indicated the backslashes in
the comments, in case they are stripped out by the mailer):

#include stdio.h

int main (void)
{
unsigned char foo[30] = ;
unsigned char bar[30] = ;
unsigned char xxx[30] = ;
sprintf (foo, \100%s, ABCD); /* this is backslash one zero zero   */
sprintf (bar, \300%s, ABCD); /* this is backslash three zero zero */
sprintf (xxx, \300ABCD);   /* this is backslash three zero zero */
printf (%d %d %d %d %d\n, foo[0],foo[1],foo[2],foo[3],foo[4]);
printf (%d %d %d %d %d\n, bar[0],bar[1],bar[2],bar[3],bar[4]);
printf (%d %d %d %d %d\n, xxx[0],xxx[1],xxx[2],xxx[3],xxx[4]);
return 0;
}

gives:

64 65 66 67 68
0 0 0 0 0
192 65 66 67 68

The second line of the output should be the same as the third.

This problem is likely to affect programs using xterm as a pseudo-terminal.
The number octal 300 (decimal 192) isn't significant here.

Regards, Joe Quinsey



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



[ITP] efax 0.9a

2009-04-26 Thread Joseph Krahn
Efax compiles with just a few changes, and seems to work well. VISTA
has dropped support for Window's built-in FAX printer, except for the
business version, so more people may find efax useful. However, it is
marked as unstable in Debian, but I don't know of any alternatives.

Also, it is in the Comm category, but this category seems to be
absent from Cygwin. Is that just because no Comm packages have been
included, or just efax use a different category?

Joe Krahn


Re: Upgrade broke Openbox

2008-11-14 Thread Joseph Ess
Yaakov wrote:
 The openbox package is extremely overdue for an update (distro: 0.99.1,
 upstream: 3.4.7.2).  There is a current version in Ports, but it has
 dependencies on glib2 and pango that will need to be updated in the
 distro first.  All I can say is to hang on for a little while until we
 can get all these other packages sorted out.

I tried to update Openbox myself. It compiles fine but Pango core-dumps, 
and upgrading it brings in more dependencies I wanted to deal with.
Wmaker is good enough for now.  
Thanks to you and the rest of the team for all your hard work.
Joe



  

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



Upgrade broke Openbox

2008-11-13 Thread Joseph Ess
The upgrade yesterday did bad things to Openbox.  See this screenshot for 
reference:
http://w3.gwis.com/~slomojoe/images/openboxscreenshot.jpg
The pager (the black rectangle at the bottom of the image) and the window 
decorations are black though the theme is configured to display light blue (see 
the lower corners of the xterm).  The widgets (maximize/minimize buttons on the 
window, the pager switch window and switch workspace buttons) are garbled 
beyond recognition.  The menu is displayed as a solid black rectangle.  
Submenus are broken as well.  The menu still works.  If I click in the right 
spot, it spawns a new xterm.  
I tried deleting my Cygwin directory and installing from scratch, but the 
problem persists.  
WindowMaker appears to work fine, so that's what I'm using for now.  Any advice 
for getting openbox back?
TIA,
Joe



  

--
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: Please upload: joe-3.7-1

2008-11-03 Thread Joseph H Allen

On Sun, Nov 02, 2008 at 05:52:53PM -0500, Joseph H Allen wrote:
I think I'm not the maintainer of this package anymore, so [ITP]
joe-3.7-1 also.  (I was having mailing list trouble- my ISP changed my
email address).

From the maintainer list, Jari Aalto is the maintainer of joe.

If you are not the maintainer of the package then you really can't
request an upload.

OK, I've sent mail to Jari Aalto informing him that a new version is
available.


Joe


Please upload: joe-3.7-1

2008-11-02 Thread Joseph H Allen

I think I'm not the maintainer of this package anymore, so [ITP] joe-3.7-1
also.  (I was having mailing list trouble- my ISP changed my email address).

http://world.std.com/~jhallen/setup.hint

http://world.std.com/~jhallen/joe-3.7-1-src.tar.bz2
http://world.std.com/~jhallen/joe-3.7-1.tar.bz2


Joe


RE: FW: How to get scroll bars on initial xterm instance?

2008-04-07 Thread Crider, Joseph A
Or create a .Xresources file in your home directory that includes
Xterm.*.saveLines: 3000
Xterm.*.scrollbar: true


J. Allen Crider

-Original Message-
From: Reid Thompson [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 07, 2008 2:27 PM
To: cygwin-xfree@cygwin.com
Subject: Re: FW: How to get scroll bars on initial xterm instance?

On Mon, 2008-04-07 at 12:23 -0700, Siegfried Heintze (Aditi) wrote:
 When I run startx it creates an xterm for me. But this xterm does not have a 
 scroll bar. I like to create xterms with -sl 3000 -sb so I get lots of 
 history. How can I make startx create an xterm with these options?
 Thanks,
 siegfried
 
 --
 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/
 

edit startxwin.sh/startxwin.bat




--
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: directory listing differences

2007-10-23 Thread Joseph Michaud

On 07 June 2007 17:03, Dave Korn wrote:


On 07 June 2007 16:46, Joseph Michaud wrote:


One interesting tidbit is that if, from the bash shell, I invoke
a Windows CMD shell, then that CMD shell similarly doesn't see the
file.

I conclude from this that somehow the bash shell doesn't have
some appropriate privilege and that bash's children similarly
lack this privilege, but I can't figure out why two files with
seemingly similar permissions are different.


  To processes with different access tokens, seemingly similar permissions
aren't.  As a simple example, consider a file with rwxr-x--- perms.  Your
access perms will be very different if you are logged in as the user who owns
the file compared with if you log in as a different user in the file's group
as compared to if you log in as another user who isn't in that group at
all
 

I note that I see this problem on a Windows 2003 Compute Cluster Server
domain controller head node (and its compute nodes) but not
not on a Windows XP 64 laptop.  (Perhaps something with domain
controller security policy is affecting this...)


  Almost certainly so.
 

Any tips on what other info I can look for would help.


  Use Process Explorer to look at the tokens of the two different processes
(cmd launched by itself, cmd launched from bash) and see what's different.



Just to follow-up on this...

I recently came back to this problem.  Dave's suggestion to use Process
Explorer was useful in that it showed that bash was using some SysWOW64
DLLS.  This reminded me that 64-bit Windows transparently redirects
32-bit apps from \Windows\system32 to \Windows\SysWOW64.

The issue has nothing to do with permissions.  Because bash is a 32-bit
app, when it tries to look in \Windows\system32, the OS redirects that
request to show instead \Windows\SysWOW64.  There is a (64-bit)
telnet.exe in system32 but no (32-bit) telnet.exe in SysWOW64.

I introduced a red herring when I noted that a cmd.exe invoked from
bash also exhibited the inability to list system32\telnet.exe.
This is because a 32-bit bash will (by default) launch a 32-bit
cmd.exe and, similarly, the attempt to view system32 from a 32-bit
cmd.exe is transparently redirected to SysWOW64.

You would think that to work around this you could use the
64-bit cmd.exe from bash by invoking via the absolute path
C:\Windows\system32\cmd.exe but the OS catches this too and
you still end up with the 32-bit cmd.exe.


You *can* fake out the OS by creating a substitute drive
and access system32 that way

  subst x: c:\
  dir x:\windows\system32\telnet.exe


Or, from bash, you could use the UNC paths for the C drive like so

  ls //machine_name/c$/WINDOWS/system32/telnet.exe


Reference the following threads:

   9-Jan-06  Cygwin cannot find certain files under Windows 2003
   7-Jun-07  Certain files in the system32 directory are not listed

Joe


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



cygwin/xemacs marking a buffer as read-only

2007-09-07 Thread Joseph Koenig

I am changing the subject here because this problem is cygwin/xemacs-specific 
only, so it has nothing to do with smb permissions because I can touch and edit 
the same file with nano and save properly. Same with vi. It's entirely xemacs. 

I've attached my config, per request.
 
-Original Message-
From: Igor Peshansky [ mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 05, 2007 7:20 PM
To: Joseph Koenig
Cc: cygwin@cygwin.com
Subject: Re: Passing domain credentials for a non-domain machine (similar to 
mapping drives through the Windows shell)

On Wed, 5 Sep 2007, Joseph Koenig wrote:

 I have a desktop that I use to access a share with domain credentials
 despite not being on domain. So when I map a drive, I map it under
 domain\user and give it the password. This drive is mapped as Z.

 When I use cygwin to work on those files, it does not inherit the
 permissions that I mapped the network drive under and instead insists on
 using my local windows user and password (generated with mkpasswd)
 rather than what I mapped Z as.

You want to add smbntsec to your CYGWIN environment variable.  See
 http://cygwin.com/cygwin-ug-net/using-cygwinenv.html for details.

 Is there an easy way to manually edit the /etc/passwd file or change how
 cygwin reads the mapped volume to get it to use the same permissions
 that the windows shell is using?

You'll also want to use mkpasswd -d  /etc/passwd to get domain user
information into it, and possibly mkgroup -d  /etc/group (notice the
double  to append).

 (I searched the archives for thisI'm sure it's been answered but I
 couldn't find anything - I apologize)

It also helps to read and follow

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

in particular the bit about attaching the output of cygcheck -svr.
HTH,
    Igor
--
                http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_        [EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'    -.  ;-;;,_        Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'       old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert
--
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/

xemacs marking a buffer as read-only

2007-09-06 Thread Joseph Koenig

I am changing the subject here because this problem is cygwin/xemacs-specific 
only, so it has nothing to do with smb permissions because I can touch and edit 
the same file with nano and save properly. Same with vi. It's entirely xemacs. 

I've attached my config, per request.
 
-Original Message-
From: Igor Peshansky [ mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 05, 2007 7:20 PM
To: Joseph Koenig
Cc: cygwin@cygwin.com
Subject: Re: Passing domain credentials for a non-domain machine (similar to 
mapping drives through the Windows shell)

On Wed, 5 Sep 2007, Joseph Koenig wrote:

 I have a desktop that I use to access a share with domain credentials
 despite not being on domain. So when I map a drive, I map it under
 domain\user and give it the password. This drive is mapped as Z.

 When I use cygwin to work on those files, it does not inherit the
 permissions that I mapped the network drive under and instead insists on
 using my local windows user and password (generated with mkpasswd)
 rather than what I mapped Z as.

You want to add smbntsec to your CYGWIN environment variable.  See
 http://cygwin.com/cygwin-ug-net/using-cygwinenv.html for details.

 Is there an easy way to manually edit the /etc/passwd file or change how
 cygwin reads the mapped volume to get it to use the same permissions
 that the windows shell is using?

You'll also want to use mkpasswd -d  /etc/passwd to get domain user
information into it, and possibly mkgroup -d  /etc/group (notice the
double  to append).

 (I searched the archives for thisI'm sure it's been answered but I
 couldn't find anything - I apologize)

It also helps to read and follow

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

in particular the bit about attaching the output of cygcheck -svr.
HTH,
    Igor
--
                http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_        [EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'    -.  ;-;;,_        Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'       old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert
--
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/

Passing domain credentials for a non-domain machine (similar to mapping drives through the Windows shell)

2007-09-05 Thread Joseph Koenig
I have a desktop that I use to access a share with domain credentials
despite not being on domain. So when I map a drive, I map it under
domain\user and give it the password. This drive is mapped as Z.

When I use cygwin to work on those files, it does not inherit the
permissions that I mapped the network drive under and instead insists on
using my local windows user and password (generated with mkpasswd)
rather than what I mapped Z as.  

Is there an easy way to manually edit the /etc/passwd file or change how
cygwin reads the mapped volume to get it to use the same permissions
that the windows shell is using? 

(I searched the archives for thisI'm sure it's been answered but I
couldn't find anything - I apologize)

-j


--
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: directory listing differences

2007-06-07 Thread Joseph Michaud

Shankar Unni wrote:

Joseph Michaud wrote:

[EMAIL PROTECTED] /cygdrive/c/windows/system32
$ ls -al tsdiscon.exe tsecimp.exe
ls: cannot access tsdiscon.exe: No such file or directory


That's probably because the file is exclusively locked, and the stat performed by 
ls fails.

See if you see the file if you pass in the -f option to ls:

$ ls -f tsdiscon.exe tsecimp.exe

If you can, then this is the issue. Looks like CMD.EXE is able to examine 
whatever it needs from such files, but stat() in the cygwin library cannot 
(uses different APIs).

I see similar behavior in a file that PointSec drops in my C:\\ (PROT_INS.SYS). In fact, 
even ls -f is not able to get any info on that file!

% cmd /c dir /AH c:\\prot_ins.sys
 Volume in drive C has no label.
 Volume Serial Number is A8B1-8402


Directory of c:\

03/22/2007  11:03 AM 2,097,152 PROT_INS.SYS
   1 File(s)  2,097,152 bytes
   0 Dir(s)   4,296,351,744 bytes free


% ls -ln c:\\prot_ins.sys
ls: cannot access c:\prot_ins.sys: Input/Output error
% ls -f c:\\prot_ins.sys
ls: cannot access c:\prot_ins.sys: Input/Output error


Nope, that's not quite it for me.  I try ls -f but still don't see
the file.

One interesting tidbit is that if, from the bash shell, I invoke
a Windows CMD shell, then that CMD shell similarly doesn't see the
file.

I conclude from this that somehow the bash shell doesn't have
some appropriate privilege and that bash's children similarly
lack this privilege, but I can't figure out why two files with
seemingly similar permissions are different.

I note that I see this problem on a Windows 2003 Compute Cluster Server
domain controller head node (and its compute nodes) but not
not on a Windows XP 64 laptop.  (Perhaps something with domain
controller security policy is affecting this...)

Any tips on what other info I can look for would help.

Thanks.

Joe

--

Joseph Michaud - SGI Apps Eng  978-562-8808  x483-8808  [EMAIL PROTECTED]

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



directory listing differences

2007-06-05 Thread Joseph Michaud

I noticed the following problem because c:\windows\system32\telnet.exe
was one of the files affected...

A directory listing shows different files if I compare the windows
DIR command to the cygwin ls.  For example, I look in
c:\windows\system32 for two files (tsdiscon.exe and tsecimp.exe)
using both the windows DIR command in a CMD shell and ls in
a bash shell.  tsdiscon.exe is missing under cygwin.


C:\WINDOWS\system32
C:\WINDOWS\system32dir /q tsdiscon.exe tsecimp.exe
 Volume in drive C has no label.   
 Volume Serial Number is 2857-9183


 Directory of C:\WINDOWS\system32

02/18/2007  05:00 AM24,064 BUILTIN\Administrators tsdiscon.exe

 Directory of C:\WINDOWS\system32

02/18/2007  05:00 AM38,400 BUILTIN\Administrators tsecimp.exe
   2 File(s) 62,464 bytes
   0 Dir(s)  132,988,616,704 bytes free


C:\WINDOWS\system32
C:\WINDOWS\system32





[EMAIL PROTECTED] /cygdrive/c/windows/system32
$ ls -al tsdiscon.exe tsecimp.exe
ls: cannot access tsdiscon.exe: No such file or directory
-rwxrwx--- 1 Administrators SYSTEM 26624 Feb 18 04:00 tsecimp.exe*
$



The ACLs for the two files seem to be the same:


C:\WINDOWS\system32cacls tsdiscon.exe
C:\WINDOWS\system32\tsdiscon.exe NT AUTHORITY\INTERACTIVE:R
 NT AUTHORITY\SERVICE:R
 NT AUTHORITY\BATCH:R
 BUILTIN\Administrators:F
 NT AUTHORITY\SYSTEM:F
 BUILTIN\Administrators:F


C:\WINDOWS\system32cacls tsecimp.exe
C:\WINDOWS\system32\tsecimp.exe NT AUTHORITY\INTERACTIVE:R
NT AUTHORITY\SERVICE:R
NT AUTHORITY\BATCH:R
BUILTIN\Administrators:F
NT AUTHORITY\SYSTEM:F
BUILTIN\Administrators:F


C:\WINDOWS\system32



And here is the id for administrator under cygwin:

[EMAIL PROTECTED] /cygdrive/c/windows/system32 
$ id
uid=500(Administrator) gid=513(Domain Users) groups=0(root),513(Domain Users),544(Administrators),554(Pre-Windows 2000 Compatible Ac
cess),545(Users),1002(TelnetClients),10545(mkgroup_l_d) 




Any ideas?

Joe


--
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: registry's role, or must I install on client madhines

2007-05-24 Thread Joseph Michaud

Christopher Faylor wrote:

On Wed, May 23, 2007 at 10:00:49AM -0400, Joseph Michaud wrote:

I have cygwin installed on a Windows share.  I'm trying to use it
from another Windows client machine (on which it was never installed)
by simply running the bash executable using the UNC path
(//share/cygwin/bin/bash.exe -l -i).  This isn't working.
...
The only other thing I can think of is that the registry is
being set up when you do an install and that these registry entries
are required when bash is invoked.

Are registry entries referenced when running bash?


Cygwin, (somewhat) like linux, sets up a mount table which creates a
root directory, bin directory and other directories.  You can see what's
created by typing mount.

The fact that this information is stored in the registry is irrelevant
(and WILL change eventually).  You should use the mount command to
see how things are set up.


Is it possible to setup cygwin so that it may be used from a share
without having been installed on the client machine?


Possibly.  You don't absolutely need the mount table (with the possible
exception of /tmp) but, if you want to have bash set things up
automatically, you will need to investigate how bash works, set the
appropriate environment variables, and use the appropriate command line
switches.

info bash

may help.  Also check out man mount paying particular attention to
mount -m.



Bingo!  That's the trick.  As soon as I ran the appropriate mount
commands on my client machines (specifying //share/cygwin...)
everything worked.

Thanks.

Joe

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



registry's role, or must I install on client madhines

2007-05-23 Thread Joseph Michaud

I have cygwin installed on a Windows share.  I'm trying to use it
from another Windows client machine (on which it was never installed)
by simply running the bash executable using the UNC path
(//share/cygwin/bin/bash.exe -l -i).  This isn't working.

I've tried a number of variations like: where my current working
directory is (local or remote); starting bash in a local directory
and then starting in the remote directory; trying various CYGWIN
variables.  In all cases the resulting environment for bash has
a variety of problems, likely stemming from the fact that HOME
and PATH do not get set up.  No /etc/profile or .bashrc are processed.
'cd' works but only by using relative paths (../foo) but not
absolute paths (/foo).  I *can* see the filesystem (with echo * or
something like ../bin/ls).

I've also tried setting up the Windows client machine to map a
network drive so that the client machine has the same drive letter
and directory structure as the master machine (ie, G:/cygwin).  No joy.

I had wanted to avoid installing cygwin on all the client machines
but this is beginning to seem less possible.

The only other thing I can think of is that the registry is
being set up when you do an install and that these registry entries
are required when bash is invoked.

Are registry entries referenced when running bash?

Is it possible to setup cygwin so that it may be used from a share
without having been installed on the client machine?

Joe


--
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: DualCores and Current Cygwin problems

2007-05-18 Thread Joseph Kowalski

Linda Walsh cygwin at tlinx dot org wrote:


I'm 2500 miles from this machine at the moment, so I'm not exactly
sure what you would see in add/remove programs.  I suspect your list
is correct, but you'ld also see Virtual Studio (which you probably missed
due to the missing CR above).
   



At the moment?   How are you logging into the machine if you
are 2500 miles away?  Is it on the net?  Yet you have no firewall other
than XP's builtin, and no other security software?  Could it be possible
the machine has been hacked?


I started this tread from my home/office in Hawaii.  I'm in the
SF Bay Area this week on business.  I'm not logging in to the
machine this week - I said I'd run the suggested experments
when I got back to being in proximity to the machine.  This
week I'm just responding to questions on the thread.

Its *very* unlikely the machine has been compromised.  It's
not discoverable from outside my firewall (on a router), I
don't read/download mail on it and no other software has
been install on it.  Its a specific use machine - building Sun
Java using the Cygwin tools.

It also only had a couple of days to be compromised from
a full, clean, install to the problem report.



No, I haven't tried this, and I'm not sure exactly how I would do
this. 


---
When I do it interactively at console, I run process explorer (a GUI).
Hey, just noticed, it's in the task manager too, on the processes page, 
rightclick
and make sure only 1 cpu is checked on your parent process -- i.e. if you run 
from
'bash', setting the affinity on bash will also propagate it to the children.



I missed the propagation aspect.

Yes, the entire build is started from the bash command line.  This may
not be the most interesting experiment because this means that everything
under the make will have affinity to a single processor, including the
Visual Studio tools.  All that will be running on the other processor will
be background system processes (of which Windows has more than a
few).

This does make the experiment quite easy.  I'll report back results when
I can.

- Joseph Kowalski

--
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: DualCores and Current Cygwin problems

2007-05-15 Thread Joseph Kowalski

Linda Walsh cygwin at tlinx dot org wrote:


Hi, I don't claim to know what is going on, but I'm
using a dual-core system and haven't noticed the problems you are having,
but my processors are Intel Dual Core.  That shouldn't make a difference
I wouldn't think.


Joseph Kowalski wrote:

1) Windows XP, fully updated;   2) Visual Studio .NET Professional (2003)
3) Microsoft Platform SDK (2004 - *not* R2)
4) Microsoft DirectX SDK (Summer 2004);   5) Sun Java 6 SDK (1.6.0_01)
6) Cygwin (current).  That's it.  No additional software components.  None.
   



What do you mean by components?  Do you mean if you go into
the Add/Remove Programs, the only items I would see would be the MS SDK,
XP Patches, DirectX SDK, and Sun Java?  If you tell it to hide updates,
I'd guess you only have 3 items on your Software list?  the MS-Platform SDK,
the DirectX SDK and the Sun Java SDK?  (Cygwin wouldn't be listed).


That's a pretty short list, but I assume it is a test machine
that's off the main net and is only for testing?


Well, it depends upon how you look at it.  Its probably best viewed
as a build machine for building the Sun Java SDK, with emphasis
on OpenJDK.  Its a test machine in the sense that I'm starting with
a bare machine to test the instructions for setting up a build
environment for the JavaSDK.

That's why its a short list.  The goal is for it to be the minimal list to
build with.

I'm 2500 miles from this machine at the moment, so I'm not exactly
sure what you would see in add/remove programs.  I suspect your list
is correct, but you'ld also see Virtual Studio (which you probably missed
due to the missing CR above).



With this configuration, I get random can not fork: Resource
temporarily unavailable errors ... [and] dup_proc_pipe
failures, which
are fairly random, but tend to be understandably associated with
long pipes in the build process.

If I add /ONECPU to boot.ini, neatly turning my DualCore system
into a single core system, the failures all magically disappear. 


-
Using Process Explorer from sysinternals.com (now owned by MS), one 
can
set affinities for processes that should limit your processes to 1 cpu.  
Children
from a processor-limited process inherit the affinities.


I'm wondering -- just as a data point, if you tried building on a
dual-core, but setting all of your cygwin processes to run on one core?


No, I haven't tried this, and I'm not sure exactly how I would do this.

I start with make (from cmake, for cygwin, because the cygwim make currently
has some nasty bugs related to the ol' spaces in file names situation).  
Make mostly
calls either cygwin programs *or* the Virtual Studio compilation 
system.  I'm not

sure how I'd set one group with a processor affinity and not the other.

If this experment is worth doing, give me a bit more info on what you 
expect and

I can do it when I get back to where the machine is (next week).



This would tend to indicate that there is a multi-threading issue
either in cygwin or in the underlying Windows XP operating
environment. 


---
Sounds plausible -- all of your drivers are one's included in XP?
 


Yes.


Maybe, perversely, you could try drivers from your hardware manufacturers and
see if they work better?  On a previous machine, I installed drivers for my
motherboard from Intel site.


The drivers are basically the same.  Its a most nVidia board and the
drivers on the Microsoft site are just certified versions of the nVidia
drivers.  (Exception - the Intel network adaptor as mentioned on the
exchange with Rene - this is the Intel driver, certified by Microsoft).


Another difference (that shouldn't make a difference)
is the BIOS code -- I have run into BIOS code, *many* years ago, that wasn't
reentrant --- made it a pain to work with.   But with multiple cpu's, that's a
more challenging layer of re-entrancy than single-cpu multi-tasking/threading.


That would be scary.  Very, very scary...

I am down rev. (one rev.) from the current BIOS provided by ASUS,
but the newer rev only claims to expand CPU support.


But maybe making sure you have latest drivers from manufacturers
even though they may not be coming with your standard WinXP install would
help?


I can check the rev. on the nVidia site, and if newer, will update and
report back.


Linda


That all said, there are a lot of threads here recently reporting this
failure symptom.  Some of the reports tend to indicate that the problem
only appeared when Cygwin was updated (then again, how many of us
visit Windows Update and forget to mention that). I tend not to think
its a chip driver revision problem.

Thanks for your help, attention and suggestions,

- Joseph Kowalski



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

Re: DualCores and Current Cygwin problems

2007-05-10 Thread Joseph Kowalski


I think the following sad story should shed a little light on this issue.

I'm attempting to use cygwin to provide the UNIX-like build environment 
to build Java SE on a DualCore system.


Relevant configuration details:
   AMD X2 5200+
   Asus M2NPV-VM
   2 Gb ECC memory (std. clocks)

I'm working to improve the documentation for the Java SE build, so I 
know *exactly* what's on the system.  The

installations are:

   1) Windows XP, fully updated
   2) Visual Studio .NET Professional (2003)
   3) Microsoft Platform SDK (2004 - *not* R2)
   4) Microsoft DirectX SDK (Summer 2004)
   5) Sun Java 6 SDK (1.6.0_01)
   6) Cygwin (current)

That's it.  No additional software components.  None.

With this configuration, I get random can not fork: Resource 
temporarily unavailable errors when trying to perform the fairly large 
and complex product build.  I also get dup_proc_pipe failures, which 
are fairly random, but tend to be understandably associated with long 
pipes in the build process.


If I add /ONECPU to boot.ini, neatly turning my DualCore system into a 
single core system, the failures all magically disappear.


This would tend to indicate that there is a multi-threading issue either 
in cygwin or in the underlying Windows XP operating environment.


It hopefully also provides a work-around (abet a somewhat painful one).  
It's probably worth trying by all who have been reporting this failure.  
If it doesn't eliminate the failure for you, its an indication that 
there may be multiple failures involved.


- cheers and good luck (these are hard problems to track down),

- Joseph Kowalski


--
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: DualCores and Current Cygwin problems

2007-05-10 Thread Joseph Kowalski


Rene Berber wrote:

 My problem, I think, is a bad network driver... or at least it takes 
too long for it to start up. The network card is surely completely 
different from what you use (an Intel PRO/1000 MT with driver from Intel.


Don't be too sure.  The configuration I described also has an Intel 
PRO/1000 MT with driver from Intel (via Microsoft).


Another experiment I didn't mention is I loaded the same software stack 
on to another machine with a single core processor (Shuttle FX41).  It 
also has an Intel PRO/1000 MT.  It showed no problems.


However, I suspect this is just coincidence.  My build is network 
silent.  The network adapter shouldn't be involved.


- Joseph Kowalski

--
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: Updated: readline-5.0-4, libreadline6-5.0-4

2007-05-04 Thread Atzinger, Joseph
First message board posting.  Thanks for  


Joseph Atzinger
Sr. Software Engineer
Medrad, Inc

-Original Message-
From: Eric Blake [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 04, 2007 4:43 PM
To: Atzinger, Joseph; cygwin@cygwin.com
Subject: Re: Updated: readline-5.0-4, libreadline6-5.0-4

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

What part of http://cygwin.com/acronyms/#PPIOSPE did you not understand?
Re-redirecting to the list.

According to Atzinger, Joseph on 5/4/2007 2:28 PM:
 Thanks for the response.
 
 I definitely didn't have any cygwin shells open the first time I did 
 the upgrade (up to 4, at this point).  The log I sent you was from one

 where I happened to.  I did not reboot, however.

Not rebooting when asked to is asking for problems.  Just because it
seems to work sometimes does not mean you will have success every time.
On the other hand, if you already have all cygwin processes stopped
before running setup.exe, you will not need to reboot.

 
 I'll try to upgrade back to the current version and ensure a reboot 
 occurs.  I'll let you know what happens.

One other thing to do would be to attach the output of 'cygcheck -svr'
as a text attachment, as directed here:
http://cygwin.com/problems.html

 
 I feel your pain with slow release times.

Huh?  The problem here isn't slow release times (I posted readline 5.2.4
within 3 days of when it was released upstream).  Rather, it is the
length of time you let elapse before upgrading, and how many versions
you missed in between.

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

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGO5rS84KuGfSFAYARAszaAKDGrJX05z1b0tlAJw22apVX6/SBGQCgz0DW
raa1B+MZ9aVEIqBowl8uLhg=
=BazM
-END PGP SIGNATURE-

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



RE: Updated: readline-5.0-4, libreadline6-5.0-4

2007-05-04 Thread Atzinger, Joseph
:::sigh:::

Sorry for the spam, folks.  Last you'll hear from me.

Joseph Atzinger
Sr. Software Engineer
Medrad, Inc

-Original Message-
From: Eric Blake [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 04, 2007 4:43 PM
To: Atzinger, Joseph; cygwin@cygwin.com
Subject: Re: Updated: readline-5.0-4, libreadline6-5.0-4

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

What part of http://cygwin.com/acronyms/#PPIOSPE did you not understand?
Re-redirecting to the list.

According to Atzinger, Joseph on 5/4/2007 2:28 PM:
 Thanks for the response.
 
 I definitely didn't have any cygwin shells open the first time I did 
 the upgrade (up to 4, at this point).  The log I sent you was from one

 where I happened to.  I did not reboot, however.

Not rebooting when asked to is asking for problems.  Just because it
seems to work sometimes does not mean you will have success every time.
On the other hand, if you already have all cygwin processes stopped
before running setup.exe, you will not need to reboot.

 
 I'll try to upgrade back to the current version and ensure a reboot 
 occurs.  I'll let you know what happens.

One other thing to do would be to attach the output of 'cygcheck -svr'
as a text attachment, as directed here:
http://cygwin.com/problems.html

 
 I feel your pain with slow release times.

Huh?  The problem here isn't slow release times (I posted readline 5.2.4
within 3 days of when it was released upstream).  Rather, it is the
length of time you let elapse before upgrading, and how many versions
you missed in between.

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

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGO5rS84KuGfSFAYARAszaAKDGrJX05z1b0tlAJw22apVX6/SBGQCgz0DW
raa1B+MZ9aVEIqBowl8uLhg=
=BazM
-END PGP SIGNATURE-

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



Problems Installing Programs

2007-03-25 Thread Philip Joseph
I am trying to install some programs in cygwin, and I am coming upon the  
same error.  The two programs that I have tried so far are SID and  
Insight.  The error I get is at the end of this post.  I don't really know  
why the build is not working.  I have tried using the -k option when  
calling make install.  But, I am still unable to get all the way through  
the installs.


Is there a component of Cygwin that I might need to include to get past  
this?


Thanks in advance for any help.

Phil


/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I.  
-I. -I.././bfd -I.././bfd/../include -W -Wall -Wstrict-prototypes  
-Wmissing-prototyp

es -Werror -g -O2 -c -o elflink.lo elflink.c
gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd  
-I.././bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes  
-Werror -g -O2 -c elflink.c -o elf

link.o
elflink.c: In function `compute_bucket_count':
elflink.c:5088: warning: unused variable `dynsymcount'
elflink.c:5091: warning: unused variable `amt'
elflink.c: At top level:
elflink.c:5085: warning: unused parameter 'hashcodes'
make[4]: *** [elflink.lo] Error 1
make[4]: Leaving directory `/home/Phil/src/bfd'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/Phil/src/bfd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/Phil/src/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/home/Phil/src'
make: *** [all] Error 2

--
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: cygheap base mismatch detected - only on Vista x64, not seen on Vista x86

2006-11-22 Thread Joseph Koenig
Congrats on figuring the problem out so quickly. Forgive my lack of
familiarity with the cygwin development process (and cygwin in general),
but as you've seemingly isolated root cause, do you feel that a point
fix should be forthcoming shortly or do you feel as though this problem
might persist for some time? Also, do you believe that fixing this
problem in the cygwin dll will solve the extent of vista
incompatibilities or do you think that Vista64 functionality is going to
require additional fixes? 

Yes, it's sort of a request to speculate a bit, but I'm trying to
ascertain whether I should continue my little project on Vista32 for a
short while until a Vista64 fix or if I should abandon my project that
triggered this bug in the first place.

Regards,
Joe


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] dot com] On
Behalf Of Corinna Vinschen
Sent: Wednesday, November 22, 2006 5:04 AM
To: cygwin@cygwin.com
Subject: Re: cygheap base mismatch detected - only on Vista x64, not
seen on Vista x86

On Nov 17 18:29, Joseph Koenig wrote:
 DISCLAIMER: Yes, I realize Vista is not officially supported. If
anything I hope this e-mail will end up in the archives to prevent other
uses who see this same problem from wasting time if there is no war
available. 
 
 I have successfully used cygwin on Vista32 with no problems. 
 On Vista64 I can complete the install but I have errors when I try to
execute basic commands, such as ls.
 This is with Vista RTM.
 
 Some useful info:
 The error message:: I actually receive this several times at various
entry points to main, but I'll just paste it once:
 
 bash-3.2$ ls
   5 [main] ? (1376) D:\cygwin\bin\bash.exe: *** fatal error -
cygheap base m
 ismatch detected - 0x0/0x611828F0.
 This problem is probably due to using incompatible versions of the
cygwin DLL.
 Search for cygwin1.dll using the Windows Start-Find/Search facility
 and delete all but the most recent version.  The most recent version
*should*
 reside in x:\cygwin\bin, where 'x' is the drive on which you have
 installed the cygwin distribution.  Rebooting is also suggested if you
 are unable to find another cygwin DLL.
   3 [main] bash 2032 fork: child -1 - died waiting for longjmp
before initia
 lization, retry 0, exit code 0x100, errno 11
 bash: fork: Resource temporarily unavailable

I have mixed news on this issue.  The good news is, it's quite easy to
reproduce since it occurs all the time, so I started to debug this.  The
bad news is that I have no idea why happens what happens.

What happens is this:

Basically, when forking a process Cygwin calls CreateProcess, starting
the current application another time and then parent and child fiddle
with the shared handles and memory to give the child an up-to-date,
forked-like outfit.

This however requires a way to propagate information to the child
process
which allows the child to do certain actions at a very early stage of
initialization.  The way to do this is to utilize the STARTUPINFO given
to the CreateProcess call.  One parameter in there is called
lpReserved2,
which is, for instance, also used by the MSVCRT C runtime library to
propagte information to child processes.

Well, we are our own C runtime.  Cygwin processes are not linked against
MSVCRT for that reason, so it's safe to use lpReserved2 for our own,
dubious purposes.  The child calls the GetStartupInfo function and gets
all information needed.

Not so under Vista x64.  The child calls GetStartupInfo and gets a valid
result, with an apparently also valid lpReserved2 pointer.  At least the
pointer points to something valid within the child's address space.
Unfortunately, what it points to is only filled with zeros.  The
information
expected at this point is just not there anymore.  This in turn leads
to the above result.

So far I know that it has nothing to do with being started by a 64 bit
process and I also know that this is not a generic problem with the
lpReserved2 member in Vista WOW64 processes. as a simple testcase(tm)
showed.

So, as for the why... I'm quite puzzeled.


Corinna

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

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




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



cygheap base mismatch detected - only on Vista x64, not seen on Vista x86

2006-11-17 Thread Joseph Koenig
DISCLAIMER: Yes, I realize Vista is not officially supported. If anything I 
hope this e-mail will end up in the archives to prevent other uses who see this 
same problem from wasting time if there is no war available. 

I have successfully used cygwin on Vista32 with no problems. 
On Vista64 I can complete the install but I have errors when I try to execute 
basic commands, such as ls.
This is with Vista RTM.

Some useful info:
The error message:: I actually receive this several times at various entry 
points to main, but I'll just paste it once:

bash-3.2$ ls
  5 [main] ? (1376) D:\cygwin\bin\bash.exe: *** fatal error - cygheap base m
ismatch detected - 0x0/0x611828F0.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start-Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
  3 [main] bash 2032 fork: child -1 - died waiting for longjmp before initia
lization, retry 0, exit code 0x100, errno 11
bash: fork: Resource temporarily unavailable

Some cygcheck:
D:\cygwin\bincygcheck -s -v

Cygwin Configuration Diagnostics
Current System Time: Fri Nov 17 18:21:49 2006

Windows Longhorn/Vista (not yet supported!) Ver 6.0 Build 6000

Running under WOW64 on AMD64

Path:   C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
'id' program not found
'id' program not found

SysDir: C:\Windows\system32
WinDir: C:\Windows

Path = 'C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem'

ALLUSERSPROFILE = 'C:\ProgramData'
APPDATA = 'C:\Users\SVT\AppData\Roaming'
CommonProgramFiles = 'C:\Program Files (x86)\Common Files'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
CommonProgramW6432 = 'C:\Program Files\Common Files'
COMPUTERNAME = 'SVT-101'
ComSpec = 'C:\Windows\system32\cmd.exe'
FP_NO_HOST_CHECK = 'NO'
HOMEDRIVE = 'C:'
HOMEPATH = '\Users\SVT'
LOCALAPPDATA = 'C:\Users\SVT\AppData\Local'
LOGONSERVER = '\\SVT-101'
NUMBER_OF_PROCESSORS = '2'
OS = 'Windows_NT'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PROCESSOR_ARCHITECTURE = 'x86'
PROCESSOR_ARCHITEW6432 = 'AMD64'
PROCESSOR_IDENTIFIER = 'EM64T Family 6 Model 15 Stepping 6, GenuineIntel'
PROCESSOR_LEVEL = '6'
PROCESSOR_REVISION = '0f06'
ProgramData = 'C:\ProgramData'
ProgramFiles = 'C:\Program Files (x86)'
ProgramFiles(x86) = 'C:\Program Files (x86)'
ProgramW6432 = 'C:\Program Files'
PROMPT = '$P$G'
PUBLIC = 'C:\Users\Public'
SESSIONNAME = 'Console'
SystemDrive = 'C:'
SystemRoot = 'C:\Windows'
TEMP = 'C:\Users\SVT\AppData\Local\Temp'
TMP = 'C:\Users\SVT\AppData\Local\Temp'
USERDOMAIN = 'SVT-101'
USERNAME = 'SVT'
USERPROFILE = 'C:\Users\SVT'
windir = 'C:\Windows'
POSIXLY_CORRECT = '1'

Use '-r' to scan registry

c:  hd  NTFS 1Mb  71% CP CS UN PA FC
d:  hd  NTFS 37174Mb   1% CP CS UN PA FC
e:  cd N/AN/A

D:\cygwin  /  system  binmode
D:\cygwin/bin  /usr/bin   system  binmode
D:\cygwin/lib  /usr/lib   system  binmode
.  /cygdrive  system  binmode,cygdrive

Not Found: awk
Not Found: bash
Not Found: cat
Not Found: cp
Not Found: cpp (good!)
Not Found: crontab
Not Found: find
Not Found: gcc
Not Found: gdb
Not Found: grep
Not Found: kill
Not Found: ld
Not Found: ls
Not Found: make
Not Found: mv
Not Found: patch
Not Found: perl
Not Found: rm
Not Found: sed
Not Found: ssh
Not Found: sh
Not Found: tar
Not Found: test
Not Found: vi
Not Found: vim

   61k 2006/11/10 D:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
  cygbz2-1.dll v0.0 ts=2006/11/10 15:42
7k 2006/10/22 D:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0
  cygcharset-1.dll v0.0 ts=2006/10/22 16:43
7k 2003/10/19 D:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
  cygcrypt-0.dll v0.0 ts=2003/10/19 0:57
 1125k 2006/10/04 D:\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0
  cygcrypto-0.9.7.dll v0.0 ts=2006/10/4 5:12
 1053k 2006/10/04 D:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0
  cygcrypto-0.9.8.dll v0.0 ts=2006/10/4 5:45
   40k 2006/11/15 D:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
  cygform-8.dll v0.0 ts=2006/11/14 23:06
   45k 2001/04/25 D:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
  cygform5.dll v0.0 ts=2001/4/24 22:28
   35k 2002/01/09 D:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
  cygform6.dll v0.0 ts=2002/1/8 22:03
   48k 2003/08/09 D:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0
  cygform7.dll v0.0 ts=2003/8/9 2:25
   28k 2003/07/20 D:\cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0
  cyggdbm-3.dll v0.0 ts=2003/7/20 0:58
   30k 2003/08/11 D:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 

RE: huge font as default?

2006-10-30 Thread Crider, Joseph A
You can change the starting font by adding it to the file ~/.Xresources.
I use the line
XTerm.*.font: 9x15
to get the appearance I want (I think this is the same as the Large
font).  Use the command xlsfonts to get a complete list of available
fonts.

Allen Crider

-Original Message-
From: Gustavo Seabra [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 30, 2006 9:27 AM
To: cygwin-xfree@cygwin.com
Subject: huge font as default?

Hi,

I work with Cygwin/X in a laptop using 1600x1200 pixels. As a result,
the Xtern fonts appear really small, and I always change to the huge
setting (CTRL+right-click, HUGE). I tried changing the default font,
but whenever I change font size, for example, the default font comes
back. (I imagine not all fonts have all sizes...)

So, my question is just: Is there any way to open the Xterm already with
the 'huge font, by default?

Thanks,

Gustavo Seabra.

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


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



Looking For Clipboard Solution

2006-10-20 Thread Koziatek, Joseph
Hi All,

I'm running Cygwin X on a Dell/Windows XP to get a full Xsession on a
Solaris box and occasionally my X clipboard fails to work between X and
MS Windows. It takes quite some time (weeks) for it to happen. The MS
Windows clipboard continues to work withen itself and the X clipboard
continues to work withen itself (other X Windows) but they don't work
with each other. Once it fails I need to restart the X Server in it's
entirety to get X clipboard and MS Windows clipboard to talk to each
other.

I installed this Cygwin about 8 months ago from one of the Cygwin setup
mirror sites.

I am using the -clipboard option to XWin:

XWin -nodecoration  -emulate3buttons -clipboard -silent-dup-error
-query my_solaris_box

Is there a way that I can recover clipboad functionality between X and
MS Windows WITHOUT RESTART of entire X Server?

Also, I really don't want to take the time to do an entire Cygwin
re-installation now, but would like to know if there is a quick simple
fix..

I appreciate your advice.

Joe

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



File permissions and VSS failure

2006-10-17 Thread Joseph C. Nemeth

Summary:

I dropped a long way down the rabbit-hole on this one. I finally found the 
problem, and what initially seemed like a boneheaded Cygwin bug turns out 
to be an annoying fact of life. It has to do with file permissions and 
broken Windows software, specifically Visual Source Safe (VSS). But it also 
applies to most Windows software that attempts to modify file permissions.


I found the FAQs suggestive but not helpful enough, since they didn't lead 
me to understanding the problem well enough to work around it with 
confidence. I probably did not go far enough back in the archives, so if 
I'm ignoring a brilliant treatise on this subject, I apologize in advance.


Background:

I use tar to package a set of files on Unix boxes (multiple flavors), and 
'download' them to my NTFS WinXP Pro box under Cygwin, where I maintain 
them using Windows-style tools, including Microsoft Visual Source Safe. 
Then, I 'upload' them back to the Linux box, where they get compiled and 
executed.


When I 'download' files from Unix, the permissions somehow get messed up, 
and VSS balks with an error 'Access to file 'whatever' denied. The MS Help 
claims this is permissions or a file-locking problem. It turns out, it's a 
permissions problem, but it's deep in the bowels of the software.


Solution:

When Cygwin is done touching the files (e.g. tar), you MUST override the 
original Unix permissions and make the files writeable under Cygwin. This 
will cause VSS to complain mightily about writeable files in some 
instances, but you can either override the complaint manually in VSS, or 
write a simple Windows program to make all the affected files Read-Only, 
which you can use AFTER you've used Cygwin chmod to make the file writeable.


This solution also applies to any older Windows software that attempts to 
make a Read-Only file writeable.


Details:

I eventually reverse-engineered the mechanism that Cygwin uses to store 
its permissions on Windows NTFS. Given the number of queries on the FAQ 
about file permissions, I was surprised to find few authoritative or 
detailed responses.


Cygwin creates and uses three NTFS security ACLs on each file it handles, 
for three different MS security SID values: one is the well-known group SID 
'Everyone' (used for the Unix 'all' permissions), one is a group named 
'None' (used for the Unix group permissions), and one is a user equal to 
the current user (used for the Unix user permissions). Each ACL sets 
separate NTFS permissions on the file analogous to the Unix permissions 
bits, which not only store the permissions for display, but actually 
enforce them under NTFS.


The NTFS ACLs provide a lot of permissions for controlling access. For 
files and directories, the relevant ones are:


0001 Read Data
0002 Write Data
0004 Append Data
0008 Read Extended Attributes
0010 Write Extended Attributes
0020 Execute
0040 Delete Subdirectory
0080 Read Attributes
0010 Write Attributes
0001 Delete
0002 Read DAC
0004 Write DAC
0008 Write Owner
0010 Synchronize

00020088 is the minimal pattern for files, present when there are no Unix 
permissions. Without these (Read EA, Read Attr, Read DAC) you would not be 
able to determine whether you had permission to discover your permissions. 
The owner always has a slightly higher minimal set of  001F0110, which 
allows the owner to change ownership, delete the file, and change all 
permissions.


The Unix execute bit maps to 0020 (Execute), read to 0001 (Read 
Data), and write to 0006 (Write and Append Data). So far, so good. 
Because of the way ACLs interact with each other, there can be a rather 
complex mess of 'grant' and 'deny' ACLs, but the use of the bits is pretty 
straightforward.


Now, here's the rub. There is also the normal attributes mask, which is 
what almost all of the generic Windows software, such as VSS, uses 
exclusively to determine whether the file is writeable. There is a single 
bit in the normal attributes called Read-Only. This is the bit reflected in 
the Properties dialog box for the file, as well as the file attributes 
acquired through Windows calls to GetFileAttributes() and 
GetFileAttributesEx(), and also the Windows POSIX library _stat() and 
_chmod() calls. None of these calls will tell you anything at all about the 
ACLs on the file, and therefore they will tell you nothing about the Cygwin 
file permissions. Getting into the NTFS ACL calls is the usual slog through 
the Microsoft maze of horrors, and is not for the faint of heart: see 
closing notes.


In particular, software like VSS will attempt to modify the file 
permissions so that it can manage the file. When a file is checked out 
under VSS, it is made writeable, meaning the Read-Only bit is cleared. When 
it is checked in, the Read-Only bit is set. However, VSS does not make 
changes to the NTFS ACL permissions. I doubt that it even knows about them 
- it's very old, pre-NT software. 

Please upload: joe-3.5-1

2006-07-20 Thread Joseph H Allen

http://world.std.com/~jhallen/setup.hint

http://world.std.com/~jhallen/joe-3.5-1-src.tar.bz2
http://world.std.com/~jhallen/joe-3.5-1.tar.bz2

Joe


Please upload: joe-3.4-1

2006-05-30 Thread Joseph H Allen

http://world.std.com/~jhallen/setup.hint

http://world.std.com/~jhallen/joe-3.4-1-src.tar.bz2
http://world.std.com/~jhallen/joe-3.4-1.tar.bz2


Joe


sshd and network share permissions

2006-04-06 Thread Joseph Hetrick

Hello,
	I've been through the list archives and have googled fairly heavily and 
am up against a wall.


	I've set cygwin sshd up according to the following (which seems to be 
what is posted to the list at various intervals).


http://pigtail.net/LRP/printsrv/cygwin-sshd.html


I'm having a problem gaining access to remote shares.  Attached is my 
cygcheck out and I'll add the following:


1) Logged in as a normal user, I find that attempts to net use resources 
 on samba shares and I see:


Username MY.AD.DOMAIN\WIN007$ is invalid on this system

Windows shares generate similar errors in the eventlog as the 
machinename WIN007 is carried over instead of a proper username.


I've looked through the archives and the general discussion indicates 
that this breakage happens when folks are using RSAAuth...I am not. 
I've forced passwd auth, and I've restarted sshd without success.


Is this a symptom of sshd running as SYSTEM?

There is a single public share I do have access too, and mounting that 
shows that on the unix side my permissions are mapped and look like I 
should have r/w access.  In practice, however, I do not.  Similar errors 
as the above samba error show up in the event log for the 2k3 host doing 
the file serving.


Additionally:

If I do navigate to a public mountpoint and find a spot I have write 
access to, what I see happen is that when I create a file, from the 
ssh'd shell, things look as I would expect as far as ownership goes:


ex:
-rw-r--r-- 1 user_wa Domain Users 0 Apr  6 09:53 test

If I go there and look from a local shell:

-rwx--+ 1 ??? Domain Computers 0 Apr  6 09:53 test

(user_wa is an Admin)

Clearly the perms I think are applied are not, and I must have something 
misconfigured of I'm misunderstanding something.


Am I miss understanding something about ntsec or smbntsec in this instance?

As a little background, I'm a Unix Admin trying to create a unixified 
win host to do some management design, so, the nuances of win security 
are a bit new to me.


Thanks,

Joe

Cygwin Configuration Diagnostics
Current System Time: Wed Apr 05 14:28:56 2006

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Running in Terminal Service session

Path:   ~\bin
C:\cygwin\bin
C:\cygwin\sbin
C:\cygwin\usr\sbin
C:\cygwin\bin
c:\perl
c:\usr\sbin
c:\sbin
c:\bin
c:\usr\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
c:\Perl\bin\
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\TEXMF\miktex\bin
c:\WINDOWS\system32\
c:\WINDOWS\system32\Wbem
c:\Program Files\InstallShield\AdminStudio\6.0\ConflictSolver
c:\Program Files\QuickTime\QTSystem
C:\cygwin\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 26769(testuser)   GID: 10513(Domain Users)
0(root)   544(Administrators)
545(Users)1004(Debugger Users)
1003(Offer Remote Assistance Helpers) 10545(mkgroup-l-d)
22608(user_wa) 10512(Domain Admins)
10513(Domain Users)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 26769(testuser)   GID: 10513(Domain Users)
0(root)   544(Administrators)
545(Users)1004(Debugger Users)
1003(Offer Remote Assistance Helpers) 10545(mkgroup-l-d)
22608(user_wa) 10512(Domain Admins)
10513(Domain Users)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

CYGWIN = 'ntsec smbntsec'
HOME = '/cygdrive/c/Documents and Settings/testuser'
PWD = '/cygdrive/c/Documents and Settings/testuser'
USER = 'testuser'
MAKE_MODE = 'unix'

!:: = '::\'
!C: = 'C:\cygwin\bin'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
APPDATA = 'C:\Documents and Settings\testuser\Application Data'
CLASSPATH = 'C:\Program Files\QuickTime\QTSystem\QTJava.zip'
CLIENTNAME = 'Console'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
COMPUTERNAME = 'A-WIN007'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
DIRCMD = '/ogne'
FP_NO_HOST_CHECK = 'NO'
HOMEDRIVE = 'C:'
HOMEPATH = '\Documents and Settings\testuser'
LOGONSERVER = '\\SERV00'
NUMBER_OF_PROCESSORS = '1'
OS = 'Windows_NT'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = 'x86'
PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 2 Stepping 8, GenuineIntel'
PROCESSOR_LEVEL = '15'
PROCESSOR_REVISION = '0208'
PROGRAMFILES = 'C:\Program Files'
PROMPT = '$P$G'
QTJAVA = 'C:\Program Files\QuickTime\QTSystem\QTJava.zip'
SESSIONNAME = 'RDP-Tcp#1'
SYSTEMDRIVE = 'C:'
SYSTEMROOT = 'C:\WINDOWS'
USERDNSDOMAIN = 'MY.AD.DOMAIN'
USERDOMAIN = 'MY'
USERNAME = 'testuser'
USERPROFILE = 'C:\Documents and Settings\testuser'
WINDIR = 'C:\WINDOWS'
TERM = 'cygwin'
HOSTTYPE = 'i386'
VENDOR = 'intel'
OSTYPE = 'posix'
MACHTYPE = 'i386'
SHLVL = '1'
LOGNAME = 'testuser'
GROUP = 'Domain Users'
HOST = 'win007'
MANPATH = 

Plotting from Python on Cygwin/X

2006-01-13 Thread Crider, Joseph A
My team has begun development of a new project to be written in Python.
One of our requirements is that we be able to generate some relatively
simple plots and save them in PNG or JPEG format.  I've looked at three
possibilities so far and encountered problems with all of them.

I started by looking at gplt from SciPy (version 0.3.2), but as far as
we've been able to determine, it is lacking some of the features we
need, especially the ability to do multiplot.

I next took a look at Gnuplot-py.  It installed easily, but the provided
demo failed to run.  I may try to resolve the problem if I find time,
but for now, I hesitate to spend much more time on it if the demos won't
run.

The third package I've looked at so far is matplotlib.  We might be able
to get by for awhile without a GUI agg backend, but I don't want to put
myself in that corner.  But GTKAgg depends on pygtk, which I've been
unable to compile (I tried version 2.6.3 since Cygwin appears to use
glib v.2.6.6), and using TkAgg fails to build when it tries to load
Tk84.dll.

Has anyone gotten one of these to work or found another package that
works?  Thanks.

J. Allen Crider


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



Errors when starting Cygwin/X on Windows XP SP2

2006-01-12 Thread Joseph Myers

Hello,

I am getting the following errors when I attempt to start the Cygwin/X 
system on my Windows XP SP2 machine:


xinit:  Connection refused (errno 111):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.

Have any other users reported this error?

Regards,

Joe Myers



--
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: It this the disappearing cursor bug?

2005-11-17 Thread Joseph Miller
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Colin,
I have seen some code in MPlayer that uses a while loop to continue to call 
ShowCursor() until the cursor is either shown or hidden as needed.  It is 
possible to call ShowCursor(FALSE) twice so that a single ShowCursor(TRUE) 
will not work.  I haven't looked at the source code of your file, only your 
patch, so maybe this does not apply or has already been used.  If so, I 
apologize.

- -Joseph

On Monday 14 November 2005 8:53 pm, Colin Harrison wrote:
 Hi,

 Looking less likely, failed eventually with the patch.
 Ah well...

 Colin Harrison


 --
 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/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFDfOlwmXZROF+EADURAt9/AJ4hf8ptiMwFiZw/GepEQii2VbUkBACfdT1z
vd3HNi6rRglq1ZR1w56IdEI=
=clSi
-END PGP SIGNATURE-

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



Fwd: calcmaster.NET Contact Us

2005-04-19 Thread Joseph Miller
Could someone help me out with this?  I'm not really sure what his problem is.  
For anyone who is not familiar XWinLogon 
(http://www.calcmaster.net/visual-c++/xwinlogon/) is just a frontend to 
launch the X server.  The launcher sets up the environment variables, 
launches XWin.exe, then launches either ssh.exe or rsh.exe inside of an 
xterm.  I have never had problems with it except that sometimes xterm.exe 
launches before XWin.exe opens a listening socket and then xterm.exe promptly 
closes.  Reattempting to launch everything usually fixes this.

-Joseph Miller

--  Forwarded Message  --

Subject: calcmaster.NET Contact Us
Date: Friday 15 April 2005 6:21 pm

Stan Perkins
XWinLogon

Hi,
I was hoping you could help me with a problem I am having with XWinLogon.
When I try to run XWinLogon (connecting to our IBM AIX server), I get the
 following errors. I know that the server supports running the Gnome and KDE
 desktops because I can connect to it and run them via Hummingbird (which I
 would really like to get rid of). Thanks!
Stan Perkins
Fresno County ITSD


== DOS Window Msgs =

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.7.0.0-12

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

/usr/X11R6/bin/XWin :0 -query psoftdevhr -clipboard -trayicon -bs

Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per
 pixel winFinishScreenInitFB - Masks: 00ff ff00 00ff
MIT-SHM extension disabled due to lack of kernel support
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
XFree86-Bigfont extension local-client optimization disabled due to lack of
 shar ed memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0409 (0409)
(--) Using preset keyboard for English (USA) (409), type 81
Rules = xorg Model = pc105 Layout = us Variant = (null) Options =
 (null )
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing
 from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from
 li st!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing
 from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing
 from list!
winPointerWarpCursor - Discarding first warp: 397 273

---


Re: Try to make minimal XServer

2005-04-04 Thread Joseph Miller
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 30 March 2005 11:43 am, Leo wrote:
 Hello.

 I'd like to run X-apps on the remote Unix and see them on my notebook with
 CygWin XServer.
 The simpliest installation gives workable X, but suffer almost 100M
 I've got the xwin.exe itsef and added its libs (cygfreetype-6.dll
 cygwin1.dll cygX11-6.dll cygz.dll). Now it tries to start but cannot found
 fonts ***
 Fatal server error:
 could not open default font 'fixed'
 ***
 What exactly it need? FAQ says reinstall X-fonts pakage, but it isn't a
 way in my case :)
 Thanx!

Check out XWinLogon at http://www.calcmaster.net/visual-c++/xwinlogon/ .  I 
packaged the X server and provided a frontend for launching.  It of course is 
not fully featured, but it is enough to start and run a session.

- -Joseph
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCUTtXmXZROF+EADURAuPUAJ4juERqX2TY4hGB629L1nl2g0dvJQCeLbjt
OQ09Cy08jBf79KY1JPEHCro=
=5wR3
-END PGP SIGNATURE-


Re: 30+ reasons why X-Win32 is Better than Cygwin/X

2005-03-10 Thread Joseph Miller
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 09 March 2005 6:30 pm, Christopher Faylor wrote:
 On Wed, Mar 09, 2005 at 04:19:18PM -0500, Joseph Miller wrote:
 I recently received a list entitled 30+ Reasons Why X-Win32 is Better
  than Cygwin/X.  I don't know enough at the moment (though I am learning)
  about the Cygwin/X server to be able to understand some of the reasons. 
  I have already created XWinLogon
  (http://www.calcmaster.net/visual-c++/xwinlogon/) and I am working to
  work on the Cygwin/X server so that all 30+ reasons will go away.  Can
  someone please explain the following:

 Out of curiousity, where did you get this list?  Was it something that
 you asked for or something that was sent to you without asking?

 For those who don't know, Harold Hunt (the former main developer for
 Cygwin/X) now works for the company who provides X-Win32.

 cgf

I received the list from Paul Swart, VP of Sales and Marketing for StarNet 
Communications.  We both mentioned Harold in our emails and the contributions 
that he has made to the community.

- -Joseph
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCME5LmXZROF+EADURApgMAJ4jDjD3aqkGZrcf3FEEyCcpgfdIrgCghCJf
lLsYBwlMSYbQ2r6shhrR6VY=
=iuj9
-END PGP SIGNATURE-


Re: 30+ reasons why X-Win32 is Better than Cygwin/X

2005-03-10 Thread Joseph Miller
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In case anyone is interested, I will be looking into solutions for remote 
sound support.  I realize that this is not directly an Cygwin/X issue, but it 
would be something that I have not seen with any other packaged X server.  If 
anyone has some suggestions or comments about this, please email me.  I have 
already seen projects in place that appear to work towards remote sound 
support but have not been integrated into anything else.  Now where was that 
project page.

- -Joseph

On Wednesday 09 March 2005 4:19 pm, Joseph Miller wrote:
 I recently received a list entitled 30+ Reasons Why X-Win32 is Better than
 Cygwin/X.  I don't know enough at the moment (though I am learning) about
 the Cygwin/X server to be able to understand some of the reasons.  I have
 already created XWinLogon (http://www.calcmaster.net/visual-c++/xwinlogon/)
 and I am working to work on the Cygwin/X server so that all 30+ reasons
 will go away.  Can someone please explain the following:

 3-D Hardware Acceleration for OpenGL - I am told that Cygwin/X supports
 this, but I use XWin_GL.exe.  What do they mean by this?

 GDI Acceleration of X Graphics Primitives - I'm assuming this is a direct
 translation of X drawing routines to Windows drawing routines?  Like
 writing directly to the hDC?

 Compensation for Cable Modem NATs (IPsmar) - I will probably look this one
 up myself.

 Last Session Terminate Support - how might this be implemented?  Perhaps I
 could check all top-level window titles for Cygwin?  Any recommendations?

 Anyone know how support for multiple users (Terminal Services) might be
 implemented?

 I am just sending these questions out there so that everyone can see what I
 will be working on that I don't already know.  I understand that some of
 these are pretty easy to find out about, but if I could be pointed in the
 right direction, that would be great.

 I expect that all of the GUI/multiuser stuff can be added within a couple
 months or so.  I will also be working on remote sound support and
 enterprise level scalability.

 For anyone who wants to see the full list of reasons, I have attached it in
 this email.  I converted it from an XLS to text, so it looks kinda funny.
 The first column is a number, the second column is the name of the feature,
 the third column is what support Cygwin/X has for it and the fourth column
 is what support X-Win32 has for it.

 -Joseph Miller
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCMFC6mXZROF+EADURAkZgAJ9mJGkhd/0VPd9b3L87AXHD9RUZHQCaA4bg
5pksiMvdN21jHALuOEuF5cI=
=wtxn
-END PGP SIGNATURE-


30+ reasons why X-Win32 is Better than Cygwin/X

2005-03-09 Thread Joseph Miller
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I recently received a list entitled 30+ Reasons Why X-Win32 is Better than 
Cygwin/X.  I don't know enough at the moment (though I am learning) about 
the Cygwin/X server to be able to understand some of the reasons.  I have 
already created XWinLogon (http://www.calcmaster.net/visual-c++/xwinlogon/) 
and I am working to work on the Cygwin/X server so that all 30+ reasons will 
go away.  Can someone please explain the following:

3-D Hardware Acceleration for OpenGL - I am told that Cygwin/X supports this, 
but I use XWin_GL.exe.  What do they mean by this?

GDI Acceleration of X Graphics Primitives - I'm assuming this is a direct 
translation of X drawing routines to Windows drawing routines?  Like writing 
directly to the hDC?

Compensation for Cable Modem NATs (IPsmar) - I will probably look this one up 
myself.

Last Session Terminate Support - how might this be implemented?  Perhaps I 
could check all top-level window titles for Cygwin?  Any recommendations?

Anyone know how support for multiple users (Terminal Services) might be 
implemented?

I am just sending these questions out there so that everyone can see what I 
will be working on that I don't already know.  I understand that some of 
these are pretty easy to find out about, but if I could be pointed in the 
right direction, that would be great.

I expect that all of the GUI/multiuser stuff can be added within a couple 
months or so.  I will also be working on remote sound support and enterprise 
level scalability.

For anyone who wants to see the full list of reasons, I have attached it in 
this email.  I converted it from an XLS to text, so it looks kinda funny.  
The first column is a number, the second column is the name of the feature, 
the third column is what support Cygwin/X has for it and the fourth column is 
what support X-Win32 has for it.

- -Joseph Miller
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCL2hZmXZROF+EADURAuH7AJ4sMWNkewmQnemWmFqT2AeKT7XMDwCfR5o+
8V4iPv23+sO5iInWxC++BWM=
=Pmtt
-END PGP SIGNATURE-

30+ Reasons Why X-Win32 is Better than Cygwin/X 

#   FeaturesCygwin/XX-Win32
1   3-D Hardware Acceleration for OpenGLNo  Yes
2   Graphical Configuration ToolNo  Yes
3   Professional Install Engine No  InstallShield
4   Download  Installation Time1-3 Hours   5-10 minutes
5   Stability   Medium  High
6   Display Number Setting  Manual  Automatic
7   Copy  PasteTextText  Bitmaps
8   Per User Preference Savings No  Yes
9   Multiple XDMCP Sessions Manual  Automatic
10  Corporate Tech Support  No  Yes
11  Corporate Bug Fix Support   No  Yes
12  Passing of Display Number to SSH Client Manual  Automatic
13  Integrated SSH Client with GUI  No  Yes
14  Multiple Window Mode PerformanceSlowFast/Very Stable
15  GDI Acceleration of X Graphics Primitives   No  Yes
16  Graphical Keymap Editing Tool   No  Yes
17  Desktop Shortcut FeatureNo  Yes
18  Session Organizing (by Folder)  No  Yes
19  RGB Editing Tools   No  Yes
20  Session Wizard  No  Yes
21  Selection of Which Errors to LogCommand-LineGUI
22  Error Log Presentation  Text File Only  GUI and Text File
23  Compensation for Cable Modem NATs   No  Yes -- IPsmart
24  User Interface Language Support English Only6 Languages
25  Size45MB19MB
26  Session Specific Window Modes   No  Yes
27  Last Session Terminate Support  No  Yes
28  Pre-Configured xterms for Linux, UNIX   No  Yes
29  Session Auto Start  No  Yes
30  Panning Support No  Yes
31  Suport for Multiple Users (e.g. Terminal Services)  No  Yes

  At under $200, and with so many Productivity-Enhancing Features,  


  X-Win32 is a Bargain !!!  


Re: Make Xwin.exe run something on start-up

2005-02-14 Thread Joseph Miller
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

You may also want to take a look at XWinLogon which is basically the Cygwin X 
server packaged with a Windows frontend.  You can see a screenshot and 
download it at http://www.calcmaster.net/visual-c++/xwinlogon/

- -Joseph

On Saturday 12 February 2005 7:29 am, Alex Dubov wrote:
 Hello everybody.
 Currently, I'm using Xwin.exe+Openssh+winssh_askpass
 to allow users access to Linux servers. It works ok in
 a more or less graphical way expected by the silly
 user (he clicks icon, password dialog appears and then
 session is started through ssh). The problem is window
 timing. When X is in windowed mode, it starts in
 background, but window is opened slightly later.
 Password dialog, on the other hand, already appears
 and gets obscured by the opened Xwin rootwindow,
 baffling the user and causing inconvenience.
 I believe that to solve this problem correctly, an
 option can be added to Xwin, making it run some
 program after all window initialization is completed.
 This program can then be implemented to provide nice
 authentication dialogs in whatever environment user
 wants - thus resembling commercial X server products
 such as starnet or wrq, but with improved flexibility.
 I think it is not difficult to do for somebody already
 working on Xwin configuration options, so I'm humbly
 asking to implement this feature.



 __
 Do you Yahoo!?
 Yahoo! Mail - now with 250MB free storage. Learn more.
 http://info.mail.yahoo.com/mail_250
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCEKnfmXZROF+EADURAuIEAJ9ENOFM7uk/aFWoK/XhbXm0z78YpACfcYgE
LMlAaPAZUX9H4Agc489cZQI=
=TcDH
-END PGP SIGNATURE-


SecureCRT to Xwindows

2005-01-29 Thread Joseph Abrahams
Hi.  I am new to cygwin and xwindows.  I installed cygwin including all
of the x11 packages and all of the net packages.  I configured SecureCRT
to allow X11 forwarding, but when I try to run a remote program, it says
it can't open the display.

When I log onto my remote server, I am instructed to set the DISPLAY
variable to ettin:15.0 or something similar.  What is this?  I'm not
exactly how to set the DISPLAY variables.

A complete listing from loging on till the error follows:

Thanks for the help,
Joseph


To use the secure DISPLAY feature of ssh set your DISPLAY environment
variable to ettin:15.0 after you get your shell prompt.

Please enter the name of an Engineering host anywhere: 
Last login: Fri Jan 28 19:27:13 from ettin.eng.aubur
Sun Microsystems Inc.   SunOS 5.8   Generic February 2000
Cannot find termcap
wainwright{abrahjm}1: netscape
xstdcmap: cannot open display .
xdpyinfo:  unable to open display .
Error: Can't open display: 
wainwright{abrahjm}2: 




python mysql

2005-01-18 Thread * Joseph Desire Stefan
hi,
i'm trying to get a python program running under cygwin, that reads from a mysql
db.
problem is, it won't compile, gcc stops with something like 'undefined reference
to _mysql_errno
has anybody had success in doing this? according to google, this seems to be a
*very* rare problem (only one poster, no response)

cheers

stefan

ps: can anybody hint me to a site for using windows through the command line
(starting settings dialogs, etc)?

-- 
My friend asked me if I wanted a frozen banana, I said No, but I want a regular
banana later, so, Yeah.
  -- Mitch Hedberg

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



Packaged X Server for easy use

2004-12-07 Thread Joseph Miller
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello X Cygwin project.  I got tired of the only option to use an X Server on
Windows to be either use the X-Win32 trial (like i would pay $200+ for that!)
or install the full cygwin environment.  So what I did was take out the
binaries required to run the X Server (along with ssh and rsh) and put a
Windows GUI interface to it, then packaged it with an installer so that the
average user could download and use it.  Please check it out at
http://www.calcmaster.net/visual-c++/xwinlogon/ and let me know what you guys
think.  My next step is to rebuild the binaries from the sources, allow for
installation along side of Cygwin without interference, and add -mwindows to
remove the cmd.exe box that comes up with each window.

- - -Joseph
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBtd23mXZROF+EADURAuumAJ92T4zcsWw1y/3p+Anz/tvLPn/+hwCeOCc6
ZZbrDlQxv9AI287FUI72u+g=
=1J0+
-END PGP SIGNATURE-


Re: Packaged X Server for easy use

2004-12-07 Thread Joseph Miller
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 07 December 2004 12:15 pm, Christopher Faylor wrote:
 On Tue, Dec 07, 2004 at 11:43:33AM -0500, Joseph Miller wrote:
 Hello X Cygwin project.  I got tired of the only option to use an X
 Server on Windows to be either use the X-Win32 trial (like i would pay
 $200+ for that!) or install the full cygwin environment.

 You don't have to install the full cygwin environment.  The setup.exe
 installer allows you to install or not install whatever you please.

 So what I did was take out the binaries required to run the X Server
 (along with ssh and rsh) and put a Windows GUI interface to it, then
 packaged it with an installer so that the average user could download
 and use it.  Please check it out at
 http://www.calcmaster.net/visual-c++/xwinlogon/ and let me know what
 you guys think.  My next step is to rebuild the binaries from the
 sources, allow for installation along side of Cygwin without
 interference, and add -mwindows to remove the cmd.exe box that comes up
 with each window.

 Actually you may want to consider that your next step should be setting
 up a mailing list to discuss your package.  We don't want to clutter
 this mailing list with discussion of random other packages that don't
 have anything to do with the intended purpose of this mailing list.

 And, for all of the people with fingers poised to fire off a I want
 hear about this interesting package response to this message -- please
 don't bother.  You'll have to live with the fact that I am meanly not
 allowing this off-topic discussion.

 cgf

I am starting a mailing list at Sourceforge.net for this project.  It should 
be active by tomorrow as there is a delay when you add a mailing list to a 
project.  Sorry for sending to the wrong list, but I did think it would be 
good to at least announce it here in case others were looking for the same 
thing.

I do realize that you do not have to install the entire cygwin installation 
but can use setup.exe and customize it, but I just don't think that even that 
would suffice for what I was looking for.  What many users who were only 
looking for an X Server would not like about that is the whole situation with 
launching a bash session from batch file and having to work with mounts, etc.  
That was really what I meant by the Cygwin environment.  With my project, 
those things still exist but are never seen by the user.

- -Joseph
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBtgoymXZROF+EADURAnTKAJ4uLsvSzpDjQ8or8VcxdCMaKJxErgCfXtP9
KS7FTQhA0ij6Ey9ID1IJZm0=
=HEri
-END PGP SIGNATURE-


Re: Packaged X Server for easy use

2004-12-07 Thread Joseph Miller
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 07 December 2004 3:09 pm, Christopher Faylor wrote:
 On Tue, Dec 07, 2004 at 02:53:19PM -0500, Joseph Miller wrote:
 I do realize that you do not have to install the entire cygwin
 installation but can use setup.exe and customize it, but I just don't
 think that even that would suffice for what I was looking for.  What
 many users who were only looking for an X Server would not like about
 that is the whole situation with launching a bash session from batch
 file and having to work with mounts, etc.  That was really what I meant
 by the Cygwin environment.  With my project, those things still exist
 but are never seen by the user.

 You don't have to launch a bash session from a batch file.  You don't
 have to work with mounts.

 If you were so inclined, you could work within the cygwin release to try
 to accommodate the needs of the many users.  But, I understand the
 allure of just doing things your own way rather than trying to gather
 consensus and working with others.

 All the more reason for a completely different mailing list...

 cgf

I would be more than happy to work within the cygwin release for this project.  
I do not pretend that I would want to maintain this project for an eternity 
myself and I would prefer a larger community to work within.  How do you 
forsee that this should integrate with the Cygwin project?  I have thought 
about an alternate version that would call XWin from inside the Cygwin 
installation for those who already have it installed, but I just haven't done 
it yet.

As to the mounts, I had some problems with getting XWin to run without them 
because of /tmp requirements and font paths.  How would I call XWin without 
the mounts and get those to work?  Please advise.

- -Joseph
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBtiMomXZROF+EADURAsdbAJ9mWrUry9GI8g6V/2y0qEdwFdsQ0gCeNdwx
ehjJ69flREuGlN0nloYFFnk=
=MnqP
-END PGP SIGNATURE-


follow-up re textmode problem for relative paths, nobinmode env variable

2004-07-27 Thread Joseph
a few weeks ago I asked about what
mount commands to use in order to
simulate the set-up I had on an
older version of Cygwin which had
textmode as the default for opening
files
I did not explicitly change
the default mount settings from
that version, which it reports
as
c: on /cygdrive/c type user (textmode, noumount)
with the latest version that I have
upgraded to however, there is no
combination of mount commands that
I can find that allows me to open
all files in textmode by default
in particular, if I mount / to be
textmode, I can get this behavior
only if I use the full absolute
path of the file I am opening,
but if I use a relative path
specification, file is opened
as binary data
it would be great if I could set
the CYGWIN environment variable to
nobinmode in order to avoid this
problem (and also to avoid having
to set up mounts for every other
drive besides C: that I might use),
but doing so seems to have no effect
I am not sure if this is a problem
with how I am doing it, or if that
setting for the environment variable
is no longer honored
someone who replied to my earlier
post on this topic said that I
should not expect the Cygwin
module to support nobinmode
in the environment variable
anymore
yet the lastest documentation I
can find in the download package
seems to indicate that this is
supposed to still be a viable option
any clarification on either of
these 2 related points would be
appreciated
--
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: higher-level IO very slow with cygwin1.dll 5.10 (due to set_flags?)

2004-06-26 Thread Joseph
Thanks to those who responded to my post.
I am not sure though if all of you read the
entire sequence of the thread.
In my first post, I did attach an excerpt
from an strace dump of a sample program that
seemed to show where the time is going.
Here is the relevant information again in case
it was missed the first time (showing longest
operations in the strace dump):
171674 127276583 [main] test1 613445 fhandler_base::set_flags: flags 
0x11, supplied_bin 0x0
158323 5071628 [main] test1 613445 fhandler_base::set_flags: flags 
0x11, supplied_bin 0x0
144645 74466322 [main] test1 613445 fhandler_base::set_flags: flags 
0x11, supplied_bin 0x0
133088 48059 [main] test1 613445 fhandler_base::set_flags: flags 
0x11, supplied_bin 0x0
118305 4774629 [main] test1 613445 fhandler_base::set_flags: flags 
0x11, supplied_bin 0x0
115336 6690357 [main] test1 613445 fhandler_base::set_flags: flags 
0x11, supplied_bin 0x0
114418 79036229 [main] test1 613445 fhandler_base::set_flags: flags 
0x11, supplied_bin 0x0
113172 69211692 [main] test1 613445 fhandler_base::set_flags: flags 
0x11, supplied_bin 0x0
112608 6888268 [main] test1 613445 fhandler_base::set_flags: flags 
0x11, supplied_bin 0x0
108520 47854275 [main] test1 613445 fhandler_base::set_flags: flags 
0x11, supplied_bin 0x0
107589 6137061 [main] test1 613445 fhandler_base::set_flags: flags 
0x11, supplied_bin 0x0
106538 69397028 [main] test1 613445 fhandler_base::set_flags: flags 
0x11, supplied_bin 0x0
106369 1959755 [main] test1 613445 fhandler_base::set_flags: flags 
0x11, supplied_bin 0x0
12 67943460 [main] test1 613445 fhandler_base::set_flags: flags 
0x11, supplied_bin 0x0
99220 64838744 [main] test1 613445 setmode_helper: improbable, but 2 != 3
96976 110763753 [main] test1 613445 setmode_helper: improbable, but 0 != 3

The program I am tracing simply opens a large file
(about 7 MB) with fopen and then reads characters
from it with getc, and does nothing else.
It takes about 10-20 times longer than a
program which opens the same file with open
and reads it with read. In the strace of this
faster program, the time is dominated by calls
to readv.
In my original post I also included the
output of cygcheck on my system. Please
advise if I should post this again.
Also if it would help to see the lines in the
strace dump in context, as opposed to sorted
by duration of each operation, I could post
that.
Based on the instructions listed at the
problems.html webpage on the Cygwin site,
I thought this was sufficient information
to begin a request for assistance. I do
not really understand what you are advising
me to do beyond this when you say I
should debug cygwin. I sure would
appreciate some guidance in how to do this.
Possibly I should add that I am comparing
the behavior of version 1.5.10 to a much
older version that I was using before. So
whatever is causing this odd behavior on
my system may not be a feature that was new
to version 1.5.10. I am thinking somehow
that it might in fact have something to do
with how mounts are handled differently
in more recent versions. Previously I did
not have to mount any directories, now
though I am having trouble finding any
set of mount commands that will allow me
to open files in text mode by default,
which was how the earlier version of cygwin
I had worked. Nor does setting the CYGWIN
environment variable to nobinmode seem to
have any effect.
Thanks again for any help
--
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/


higher-level IO very slow with cygwin1.dll 5.10 (due to set_flags?)

2004-06-20 Thread Joseph
Please help with a problem I have had since
upgrading to latest Cygwin DLL. When I do
IO using fopen it is many times slower now
than IO using simple open. Also programs
like sort and cut have very slow IO access
times. This behavior is not seen when I
compile my own programs with the -mno-cygwin
option in GCC. A trace of the program execution
shows that large delays seem to occur with
system calls labeled set_flags. I attach
an example program with comments showing the
relevant timings and trace excerpts. Also
I attach output of cygcheck for my system,
in compliance with request on website. Thanks
for any help. -- Joseph Rosenzweig
 

iotest.c
Description: Binary data


cygcheckout
Description: Binary data
--
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/

Qw Re: Your V~i_c_o`din refill is ready

2004-04-16 Thread joseph shindle
e-ehh  directivos  corduba  


The b`est meds available

Stop the pain, here's how: vico*din

This site will save you alot of money on meds... 

G N http://iamp.xmbp.newestideasall.info/pgpho/index.htm


Drop me: http://uy.oij.newestideasall.info/pgpho/rm.html
Sir William Thompson was very deaf but he did not like people to know this.
One evening he had invited several friends to dinner, and while they were
sitting at the table, one of the friends told a funny story. Everyone
laughed, and Sir William, who had laughed as loud as anyone, said, That was
a very funny joke, but I know a funnier one. Would you like to hear it?
They all said they would, so Sir William began his story. When it ended,
everyone laughed louder than ever and Sir William smiled happily. But he
didn't know the reason for their laughter. He had told the very same story
that his friend had just told.
A local bar was so sure that its bartender was the strongest man around
that they offered a standing $1,000 bet. The bartender would squeeze a lemon
until all the juice ran into a glass, and hand the lemon to a patron. Anyone
who could squeeze one more drop of juice out would win the money. Many
people had tried over time (weightlifters, longshoremen, etc.) but nobody
could do it. One day a scrawny little man wearing thick glasses and a
polyester suit came in and said in a tiny, squeaky voice, I'd like to try
the bet. After the laughter had died down, the bartender said okay, grabbed
a lemon, and squeezed away. Then he handed the wrinkled remains of the rind
to the little man. But the crowd's laughter turned to total silence as the
man clenched his fist around the lemon and six drops fell into the glass. As
the crowd cheered, the bartender paid the $1,000, and asked the little man,
What do you do for a living? Are you a lumberjack, a weightlifter, or
what? The man replied, I work for the IRS.
on7moritut05chinitu,nintibun chiekku. 



timezone irregularity when Windows TZ is set to Indiana

2004-03-29 Thread Joseph Tate
If I have a Windows PC with the timezone set to 
(GMT-05:00)Indiana(East), date +%Z returns the timezone as USEST. 
Is this designed or broken behavior?

If I set TZ to USEST date returns a GMT time.  I've noticed that there 
is no zoneinfo package, but if I copy /usr/share/zoneinfo from a RHL 
system, and set the TZ env variable to 'America/Indianapolis' I get back 
EST as the timezone.

Where does the USEST come from?  Is that a Windows-ism or something in 
Cygwin?

I'm using cygwin 1.5.7-1 on Windows XP SP 1 with all updates supplied.

Joseph

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


Fix for sshd service start failure problem

2004-01-23 Thread Joseph E. Vornehm, Jr.
For what it's worth, I think I've found a fix to a problem posted in October 
of 2002 in this thread:

http://www.cygwin.com/ml/cygwin/2002-10/msg00443.html

Here's my version of the problem: After running ssh-host-config (and 
noticing two errors from chown about the system account), the sshd Windows 
service won't start, even though manually executing /usr/sbin/sshd works 
fine.  I'm running the current openssh package, 3.7.1p2-2, on WinXP.  All my 
other Cygwin packages are current (as of today).  Here is the error message 
from sshd in the Windows application log (Event Viewer):

sshd : PID 4320 : starting service `sshd' failed: execv: 1, Operation not 
permitted.

The problem is that I didn't have the SYSTEM user listed in my /etc/passwd. 
 I noticed that ssh-host-config had some issues with some chown calls at 
the end of its run.  The application log message seems to come from the fact 
that the ownership is incorrect for the /var/empty directory (where sshd 
chroots to on startup, I gather).

Here was the easiest fix for me:

mypc$ mkpasswd -l | grep '^SYSTEM:'  /etc/passwd
mypc$ cygrunsrv -R sshd
mypc$ rm /etc/ssh_host* /etc/ssh_config /etc/sshd_config
mypc$ ssh-host-config
By the way, don't forget to delete /var/run/sshd.pid, if it's still around. 
 (It shouldn't exist if sshd exits cleanly.)

I have some fuzzy memory that putting the SYSTEM user in /etc/passwd used to 
be a security issue in Cygwin.  Just for safety, I removed the SYSTEM entry 
from /etc/passwd again after I had run ssh-host-config.  Would anyone else 
care to comment one way or the other?

Please copy any replies to me directly, as I'm not subscribed to the list.

Joe V.

--
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: Effective Perl Programming: Writing Better Programs With Perl

2003-09-24 Thread Joseph N . Hall
That is pretty funny.  You might be surprised how often
I have heard this question.  But asking someone else
entirely is a twist I haven't encountered.

  -joseph

p.s. FWIW I am in the process of releasing my Perl slides
online, and the book will be released as PS/PDF in its 
entirety online in the not unimaginably distant future.

Re: Effective Perl Programming: Writing Better Programs With Perl
From: Christopher Faylor cgf-rcm at cygwin dot com
To: cygwin at cygwin dot com
Date: Tue, 9 Sep 2003 01:33:33 -0400
Subject: Re: Effective Perl Programming: Writing Better Programs With Perl
References: [EMAIL PROTECTED] [EMAIL PROTECTED]
Reply-to: cygwin at cygwin dot com

On Tue, Sep 09, 2003 at 11:09:10AM +0800, ?? wrote:
Dear All,

Would you like to give me the PDF files for the book: Effective Perl
Programming: Writing Better Programs With Perl by by Joseph N. Hall? You
would be most appreciated.

Wrong mailing list.  Sorry.


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



VSFtpD on Cygwin

2003-09-12 Thread Joseph Ishak
Where can I get Jason Tishler's VSFtpD port for cygwin as mentioned here

http://www.cygwin.com/ml/cygwin/2003-04/msg01844.html

I am attempting to use ProFtpD to do some stuff with 2000/xp and I am
having what appears to be the same problem that precipitated the post
above.

I tried searching through the cygwin installer but came up blank.  I
didn't see an experimental or test release listed on the servers.  I
tried connecting to the mirrors directly but came up blank as well.  Any
suggestions would be helpful.

Thanks,

Joe


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



Re: [ANNOUNCEMENT] Server Test 92

2003-07-29 Thread Joseph Barillari
 HLH == Harold L Hunt [EMAIL PROTECTED] writes:

HLH 3) winmultiwindowclass.c - Add checks for NULL pointers.
HLH Should help fix some crashes in MultiWindow mode.  (Ralf
HLH Habacker)


Several minutes into an X session with Test 92, while I was using a
remote emacs session, the server bombed with the following message:

--8---cut here---start-8---
$ xinit -- -multiwindow -clipboard


winMutliWindowWMIOErrorHandler!

xinit:  connection to X server lost.
xterm:  fatal IO error 104 (Connection reset by peer) or KillClient on X server :0.0
--8---cut here---end---8---

Is the winMutliWindowWMIOErrorHandler error handler triggered when
one of those null-pointer checks you mentioned finds a null pointer?

Thanks for releasing this build!

Regards, --Joe

-- 
Joseph Barillari -- http://barillari.org


Re: [ANNOUNCEMENT] Server Test 92

2003-07-29 Thread Joseph Barillari
 HLH == Harold L Hunt [EMAIL PROTECTED] writes:

HLH Joe, Don't know for sure what happened in your case.  It
HLH appears that all X Clients (including the inernal window
HLH manager) lost communication with the X Server at about the
HLH same time.  The *IOErrorHandler's are called when
HLH communication with the X Server is lost.  Sounds like you had
HLH a hiccup in your TCP/IP network stack on your Windows
HLH machine.

HLH Lets just forget this unless it happens to you on a regular
HLH basis.

Hm. It just happened again in emacs:

$ xinit -- -multiwindow -clipboard


hours pass

winMutliWindowWMIOErrorHandler!

xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server :0.0
xinit:  connection to X server lost.



I was running emacs on a machine whose network connection blocks for
several seconds every few hours. Usually, the X server (either exceed
or XFree86) just tolerates this, but sometimes it blocks for too long
and the SSH session times out, killing the X processes tunneled over
it.  I doubt that this is related, since you said that
winMutliWindowWMIOErrorHandler is a consequence of /all/ clients
losing their connections, but I thought it might be of some
significance.

Best,

--Joe

-- 
Joseph Barillari -- http://barillari.org


newlib math bug (fpclassify)

2003-07-10 Thread Joseph E. Vornehm, Jr.
I've already posted this info to the newlib list along with a patch. 
Someone suggested I re-posting it here, since it affects development of 
scientific/mathematical software using Cygwin.  Apologies if this is 
repeat information for anyone; this seemed to be a more appropriate 
forum than, say, cygwin-patches.

newlib contains a bug in its math libraries that causes fmax() and 
fmin() not to handle negative numbers properly.  I presume several other 
math functions are affected, as well.  Specifically, the __fpclassifyf 
and __fpclassifyd functions incorrectly report negative numbers as NaNs.

newlib 1.11.0 is affected; I presume prior versions are affected, as 
well.  Version 1.3.22 of the Cygwin DLL is affected.  The newlib cvsweb 
interface shows that the patch has been applied to the CVS tree.

Joe Vornehm



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


-multiwindow + XP = nonstop Xwin.exe crashes

2003-07-07 Thread Joseph Barillari
Hi.

When I run Xwin in the experimental -multiwindow mode 
(xinit -- -multiwindow -clipboard),
on Windows XP, Windows regularly throws up a dialog indicating that
Xwin has encountered a problem and needs to close, inviting me to
send an error report to Microsoft.

Strangely enough, Xwin continues to work despite the error message (if
I drag the dialog box offscreen so it doesn't get in the way.), with
one exception: I can't change the window manager focus. Any keystrokes
I type go into the window that was focused at the time of the error
message, regardless of where I click.

Even more strangely, the error message sometimes appears even when
Xwin isn't presently active. The last crash message occured while I
was browsing the web using a Windows-native build of Mozilla. (Most of
my X programs are running on remote machines over SSH tunnels, if that
might have anything to do with it.)

Is this a known bug in Xwin? If it is not, any suggestions on how to
diagnose it would be much appreciated.

Thanks in advance,

--Joe

-- 
Joseph Barillari -- http://barillari.org


Installing cygwin NOT from web

2003-03-13 Thread Simon Patrick Joseph Ingram
Hi,

I am trying to install cygwin on my computer at home, but I currently
don't have an internet connection. I have been trying to work out what
files I need to download for a full installation, but the website is not
clear.
Could you possibly confirm for me whether or not I need any files other
than setup.exe to install cygwin?
Cheers,

Simon Ingram


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: setup.exe - 2.249.2.5 - Cannot get other packages not included in base install

2003-03-08 Thread Joseph Colton

--- Max Bowsher [EMAIL PROTECTED] wrote:
 Please keep replies on the list.
 
 Joseph Colton wrote:
  --- Max Bowsher [EMAIL PROTECTED] wrote:
  
  Are your Windows DPI/font size settings
 non-default?
  (In the Display control
  panel)
  
  My font sizes are all default.  I tried changing
 the
  font sizes, but was not able to affect the inside
 of
  the setup box much.  I reduced fonts to 6, that
 did
  not get anything new to show up.  I know that my
  default fonts are not the same as English users. 
 I am
  using MS UI Gothic (nihongo) which is the Japanese
  version.  This might not be a Windows default, but
  might be the OEM default.  Gothic does not sound
 like
  a Windows default, but I have never changed the
 font
  before.
 
 What about DPI? 
 Display Properties  Settings Tab  Advanced Button
  General Tab
 

Thanks, it worked after about quite a few reboots.  I
am glad Windows does not require as many reboots now. 
Even though I got it to work, I never did get all of
the window.  I wonder if the Japanese version of
Windows 98 just cannot get the whole thing.  Well, it
works now.  Thank you.


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



setup.exe - 2.249.2.5 - Cannot get other packages not included in base install

2003-03-07 Thread Joseph Colton
I downloaded the setup.exe program from cygwin.com and
tried to run setup.  Setup worked great for the base
packages, but I never saw an option for the other
packages.  I believe that the button is there, but is
not in the window.  I am running a Japanese version of
Windows 98 and believe that this might have something
to do with it.  I can see that some of the text is cut
off on the title screen right through the upper middle
of the line that is a URL.  I believe the URL is
probably for redhat.com since the line above it is for
the Red Hat copyright, but I cannot tell.  I also
noticed where I select the mirror I would like to
download from that the text field to put a URL into is
cut in half.  I am not sure if this is a font issue or
if it is a window size issue.  Any suggestions as to
how I can download the packages I want?

[EMAIL PROTECTED]

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



postgresql feature request

2003-01-28 Thread Joseph Tate
I would like the contrib code built into the postgresql binary package, or
perhaps into a separate postgresql-contrib package.  It's as simple as
adding a make -C contrib and a DESTDIR=$TmpDir make -C contrib install
to the build process.

Thanks,
Joseph


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: sshd: setgid() fails on second login

2003-01-19 Thread Joseph Davida
I have compiled and installed ssh.com's 3.2.2
ssh clients and daemon.
I can start the daemon without a hitch.
But the daemon is unable to authenticate
the password, probably becasue the cygwin's
libc password interface to the Win2K password
authentication lib is not working.
The ssh client re-prompts for the password
3 times, after which it bails out.
The password I use is same as one I login into
win2k with, with same user name.
Has anyone been able to successfully connect
to the ssh.com's sshd2 daemon running on Cygwin?

Cheers,

Joe

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




prob with Tcl glob command under Cygwin

2002-12-31 Thread Joseph
I have downloaded the Tcl/Tk 8.3.4 package
which was released with patches to compile
under the cygwin C compiler for Windows OS,
available from http://cygwin.com/ported.html

For the most part this works except it
seems to work better using the init.tcl
file that comes with the Scriptics Tk 8.3.4
binary for Windows

However, one big problem is that the glob
command does not seem to work. Whether
I call it with a wildcard in the file
name pattern or a pattern that is just
the actual name of a single file, regardless
of if it is POSIX style path or Windows
style path or just the file name of a
file in the current working directory,
calling it from a program or the Tclsh
command line, no matter what it just returns
an error saying there are no files matching
the pattern.

All other file system commands, shell
commands via exec, etc, work okay, just
not glob.

I wonder if anyone else has had this
problem and how it can be fixed.

Thanks for any help

--- Joseph Rosenzweig



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




[ANNOUNCEMENT] emacs 21.2-10 available

2002-12-11 Thread Joseph H. Buehler
GNU emacs 21.2-10 is available..

Changes:

- implemented unexec(); startup should be much faster

This is a major feature -- the emacs binaries now have the startup
LISP code loaded into the binaries instead of having to load them
at runtime.  Please let me know if you have problems.

New emacs users please be aware:

- You will want tty included in your CYGWIN environment variable
   setting, and probably binmode.  Look at the following for some
   documentation: http://www.cygwin.com/cygwin-ug-net/using-cygwinenv.html

Joe Buehler

*** INFORMATION ON UPDATING CYGWIN ***

To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

In the US,
ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/
is a reliable high bandwidth connection.

In Germany,
ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus/
is usually pretty good.

In the UK,
http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/
is usually up-to-date within 48 hours.

If one of the above doesn't have the latest version of this package
then you can either wait for the site to be updated or find another
mirror.

The setup.exe program will figure out what needs to be updated on your
system and will install newer packages automatically.

If you have questions or comments, please send them to the Cygwin
mailing list at: [EMAIL PROTECTED] .  This includes ideas and comments
about the setup utility or Cygwin in general.

If you want to make a point or ask a question, the Cygwin mailing list
is the appropriate place.

*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you have trouble, please use the resources at

http://cygwin.com/ml/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




emacs 21.2-10 available

2002-12-11 Thread Joseph H. Buehler
GNU emacs 21.2-10 is available..

Changes:

- implemented unexec(); startup should be much faster

This is a major feature -- the emacs binaries now have the startup
LISP code loaded into the binaries instead of having to load them
at runtime.  Please let me know if you have problems.

New emacs users please be aware:

- You will want tty included in your CYGWIN environment variable
  setting, and probably binmode.  Look at the following for some
  documentation: http://www.cygwin.com/cygwin-ug-net/using-cygwinenv.html

Joe Buehler

   *** INFORMATION ON UPDATING CYGWIN ***

To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

In the US,
ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/
is a reliable high bandwidth connection.

In Germany,
ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus/
is usually pretty good.

In the UK,
http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/
is usually up-to-date within 48 hours.

If one of the above doesn't have the latest version of this package
then you can either wait for the site to be updated or find another
mirror.

The setup.exe program will figure out what needs to be updated on your
system and will install newer packages automatically.

If you have questions or comments, please send them to the Cygwin
mailing list at: [EMAIL PROTECTED] .  This includes ideas and comments
about the setup utility or Cygwin in general.

If you want to make a point or ask a question, the Cygwin mailing list
is the appropriate place.

   *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you have trouble, please use the resources at

http://cygwin.com/ml/





Re: Latest setup.exe

2002-12-09 Thread Joseph Davida
Nop! package dir is 
c:\downloads\cygwin\packages.

Joe

--- Robert Collins [EMAIL PROTECTED] wrote:
 On Mon, 2002-12-09 at 03:56, Joseph Davida wrote:
  I got around the problem by removing the
  old C:\cygwin (actually by renaming it
  to cygwin.old) and restarting the setup.exe.
  
  So it appears current setup.exe will cause this
  problem on Win2K if it installs on top of an 
  exsisting installation.
 
 Works for me.
 
 I'll WAG that your 'local package dir' is c:\cygwin.
 
 Thats not a supported configuration.
 
 Rob
 -- 
 ---
 GPG key available at:
 http://users.bigpond.net.au/robertc/keys.txt.
 ---
 

 ATTACHMENT part 2 application/pgp-signature
name=signature.asc



__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: Latest setup.exe

2002-12-08 Thread Joseph Davida
I got around the problem by removing the
old C:\cygwin (actually by renaming it
to cygwin.old) and restarting the setup.exe.

So it appears current setup.exe will cause this
problem on Win2K if it installs on top of an 
exsisting installation.

Cheers,
Joe


Joseph Davida wrote:
I tried the beta version Max suggested and it also
exhibits the same behaviour on my win2k laptop;
i.e. sucks up huge mem (depletes VM), and yet after
more than 1 hour of running, it still says 1% of
base-files 1.1-1 is installed. The total progress
meter shows only about a sliver of progress :)

Am running win2K with latest updates (service pack
3).

Also, I have been updating my cygwin installation for
over a year now, and this is the first time I have
encountered this problem.

Joe

Max Bowsher wrote:
 
 Please keep replies on list!
 
 Joseph I. Davida [EMAIL PROTECTED] wrote:
 
  It appears that this setup.exe is depleting the
VM pool.
  There is either a bad memory leak problem, or
there
  is a boundless recursion in the calls. I suspect
the
  it is a memory leak problem.
  The machine has 512M sdram and a 40 gig HD, of
which
  a max of 2048M is used for paging. Yet the
setup.exe
  alone eats up all the VM pool!.
 
  Is there an older version of it that I can try?
 
 Try the latest beta at
http://cygwin.com/setup-snapshots/
 
 Max.

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Building lftp in cygwin

2002-12-08 Thread Joseph Davida
While building latest lftp in latest cygwin (installed
yesterday), I get the following error:

/bin/../lib/gcc-lib/i686-pc-cygwin/3.2/../../../libcygwin.a(libcmain.o)(.text+0x7c):
undefined reference to `_WinMain@16'
collect2: ld returned 1 exit status

In what library or dll is WinMain@16 resolved?

Cheers,

Joe

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




  1   2   >