Re: symlink extension shown using 1.5.3

2003-09-10 Thread Corinna Vinschen
On Tue, Sep 09, 2003 at 03:35:52PM +0200, [EMAIL PROTECTED] wrote:
> > On Tue, Sep 09, 2003 at 12:05:20PM +0200, [EMAIL PROTECTED] wrote:
> > > Since I updated to cygwin 1.5.3 and bash 2.0.5b13, symlinks *on* network
> > > drives are shown by ls including the '.lnk'. They are properly
> > recognized as
> > > symlinks and it is even possible to, e.g., change the directory using
> > only the
> > > link name (without '.lnk').
> > 
> > The reason is probably the missing R/O bit on the network drive.  Can you
> > check the properties dialog of one of these files 
> 
> > when accessing them remote?
> I'm not sure what you mean here, but the R/O attribute is set (checked with
> Win Explorer locally and per remote desktop)

What type are the remote shares, Samba or Windows?
Please send an strace of `ls -l '.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

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



System call which gets CPU utilized capacity

2003-09-10 Thread Alex Vinokur
Is there in CYGWIN any system call which gets CPU utilized capacity at the present 
moment?
For instance :
int get_cpu_usage() which returns the percentage of used capacity.

I would like to write in my C-program something like :

if (get_cpu_usage() < 20)
{
   foo1();  // calling foo1() will be postponed
}
else
{
   foo2();
}

--
   =
   Alex Vinokur
 mailto:[EMAIL PROTECTED]
 http://mathforum.org/library/view/10978.html
   =








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



Re: SEGV in conv_path_list_buf_size with xemacs-21.5-b13 and cygwin-snapshot-20030904-1

2003-09-10 Thread Corinna Vinschen
On Tue, Sep 09, 2003 at 03:33:42PM -0500, Pete McCann wrote:
> 
> Hi,
> 
> After some more hunting, I now understand there is a difference
> between the cygwin heap and the user heap.  My problem is that I'm
> running out of cygwin heap:

Can you check how often the function cygwin_posix_to_win32_path_list_buf_size()
is called?  Does that happen fairly often?

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

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



[ANNOUNCEMENT] Updated: patch-2.5.8-8

2003-09-10 Thread Corinna Vinschen
I've updated the version of patch to 2.5.8-8...

...already a few days ago, but I forgot to announce.

It's a bug fix release which should solve problems reading input
files (files to patch) having DOS lineendings.  It should also solve
a potential screwing up file content i --binary mode, if the temp
directory is on another device than the output file.

This patch requires Cygwin 1.5.3 ff.


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.

If you have general questions or comments, please send them to the
Cygwin mailing list at: "cygwin at cygwin dot com".  I would appreciate
it if you would use this mailing list rather than emailing me directly.

  *** 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 need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.


--
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: cygwin1.dll - debug version (RE: similar crash in mmap for 1.5.3-1)

2003-09-10 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Christopher Faylor


> >Idea, to help debug things like the above:
> >
> > Alt 1) Make an _unstripped_ cygwin1.dll available in a package named
> >"cygwin-DEBUG-dll" or some such. Also make it be
> "TEST/Exp" forever.
> > Alt 2) Have an unstripped cygwin1-DEBUG.dll added to the basic package,
> >add a simple "cygswapdll" utility.
> >
> >Is this a Good or Bad idea?
>
> The new version of binutils allows you to strip debug information and put
> it in a separate file. Then you can provide that file to gdb and use it
> for debugging.

 Right, now that you mention it I remember seeing it. My ideas ran obsolete
already in the start ':-> .

> However, like everything there are two problems 1) lack of tuit cycles and
> 2) it won't stop people from running gdb on their binaries and reporting
> that strdup is causing a problem in mmap.  There will still be a "download
> the debug info" step no matter what.
>
> cgf

 Most likely... Some wording regarding "download the debug info" needs to be
added to "problems.html" - I guess.

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
--END OF MESSAGE--


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



[ANNOUNCEMENT] New package: SWI-Prolog-5.2.6-1

2003-09-10 Thread Corinna Vinschen
This new package contains SWI-Prolog, an open source interpreter
and compiler for Prolog.

This is the latest stable release 5.2.6.  This package is built
from the vanilla sources with only two additional `#ifndef __CYGWIN__'
in one file to get it built.  It requires Cygwin 1.5.x to run.

SWI-Prolog is an ISO compatible Prolog compiler.  It has a good
collection of built-in predicates, a large set of which it shares
with Edinburgh C-Prolog, Quintus Prolog and SICStus Prolog.  Among
its features are a very fast compiler, a Quintus-like module system,
library autoloading, garbage collection, atom garbage collection,
fast bidirectional C interface, true C++ interface, execution profiling
and many more.

The installed interpreter/compiler is called "pl".  `man pl' gives
you a first start.

See the SWI-Prolog home page at http://www.swi-prolog.org for more
details.


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.  Once you've downloaded setup.exe, run it and select "Devel" or
"Interpreters" and then click on the appropriate field until the above
announced version number appears if it is not displayed already.

If you have questions or comments, please send them to the Cygwin
mailing list at: [EMAIL PROTECTED] .  I would appreciate it if you would
use this mailing list rather than emailing me directly.  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 need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

I implore you to READ this information before sending email about how
you "tried everything" to unsubscribe.  In 100% of the cases where
people were unable to unsubscribe, the problem was that they hadn't
actually read and comprehended the unsubscribe instructions.

If you need to unsubscribe from cygwin-announce or any other mailing
list, reading the instructions at the above URL is guaranteed to
provide you with the info that you need.

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.


--
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: symlink extension shown using 1.5.3

2003-09-10 Thread stmoebius
> What type are the remote shares, Samba or Windows?
How can I tell?

> Please send an strace of `ls -l '.
...is attached

-- 
=
Stefan Moebius   <[EMAIL PROTECTED]> 
  Wittenberger Str. 71+49 351 8473953
  01309 Dresden   +49 172 8739617

strace.txt.bz2
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/

Re: symlink extension shown using 1.5.3

2003-09-10 Thread stmoebius
Just noticed there is a difference between 'ls -l simulator' and 'ls -l
simulator.lnk'. The former actually shows only 'simulator', not 'simulator.lnk'
as 'ls -l' does.
So here is the strace of 'ls -l simulator.lnk'

-- 
=
Stefan Moebius   <[EMAIL PROTECTED]> 
  Wittenberger Str. 71+49 351 8473953
  01309 Dresden   +49 172 8739617

strace.txt.bz2
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/

Minor website fixup

2003-09-10 Thread chris
Hello :)

Probably about time to update www.cygwin.com, particularily the main 
page to refer to the fact 1.5.x is out now?

Chris

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


Find: missing alphabetically last dirtree

2003-09-10 Thread Ralph Ulrich
The tree of the alphabetically last directory will not
be listed by find on my W2k sp3 Computer. This bug is
not reproducable on a NT4 system.
Bellow is a protokoll of three subsequently issued commands
(through "Administrator" on machine "amd") on drive "x:"
which has 3 files in a directory "SICHERNG".
Greetings from Ralph
 Protokoll of Cygwin session -
[EMAIL PROTECTED] /cygdrive/x
$ echo _output_cmd_&&cmd /C dir /S/B/A&&echo _output_find_&&find .
_output_cmd_
x:\SICHERNG
x:\System Volume Information
x:\SICHERNG\20030827_SG80_5_system.bkf
x:\SICHERNG\20030830_SG80_5_system.bkf
x:\SICHERNG\20030909_SG80_5.bkf
## Comment 
#  above shows you all existing files #
###
_output_find_
.
./SICHERNG
./System Volume Information
## Comment 
#  but find does not dive into#
###
[EMAIL PROTECTED] /cygdrive/x
$ mkdir anamedir&&echo _output_find_NoChange_&&find .
_output_find_NoChange_
.
./anamedir
./SICHERNG
./System Volume Information
## Comment 
#  the new "anamedir" does not help   #
#    but following "tnamedir" #
###
[EMAIL PROTECTED] /cygdrive/x
$ mkdir tnamedir&&echo _output_find_changing_&&find .
_output_find_changing_
.
./anamedir
./SICHERNG
./SICHERNG/20030827_SG80_5_system.bkf
./SICHERNG/20030830_SG80_5_system.bkf
./SICHERNG/20030909_SG80_5.bkf
./System Volume Information
./tnamedir
 End Protokoll --
Don't know about much of the subsequently
Stati "Incomplete' - packages seem to work
-- Output of cygcheck -c 
Cygwin Package Information
Package VersionStatus
_update-info-dir00211-1OK
agetty  2.1-1  OK
apache  1.3.24-5   Incomplete
ash 20020731-3 OK
astyle  1.15.3-3   OK
autoconf2.57a-1OK
autoconf-devel  2.57-2 Incomplete
autoconf-stable 2.13-5 Incomplete
automake1.7.5a-1   OK
automake-devel  1.7.6-2Incomplete
automake-stable 1.4p5-6Incomplete
base-files  2.5-1  OK
base-passwd 1.1-1  OK
bash2.05b-13   OK
bc  1.06-1 OK
binutils20030901-1 OK
bison   20030307-1 OK
byacc   1.9-1  OK
bzip2   1.0.2-5OK
c-client2002d-2OK
cgoban  1.9.14-1   OK
chkconfig   1.2.24h-1  OK
clear   1.0-1  OK
cpio2.5-3  OK
cron3.0.1-11   Incomplete
crypt   1.0-2  Incomplete
ctags   5.5-4  OK
curl7.10.4-1   OK
cvs 1.11.6-3   OK
cygipc  2.01-2 OK
cygrunsrv   0.96-2 Incomplete
cygutils1.2.1-2OK
cygwin  1.5.3-1OK
cygwin-doc  1.3-6  OK
diff1.0-1  OK
diffutils   2.8.4-1OK
dpkg1.10.4-2   Incomplete
ed  0.2-1  OK
enscript1.6.3-3Incomplete
expat   1.95.6-1   OK
expect  20030128-1 OK
file4.03-2 OK
fileutils   4.1-2  OK
findutils   4.1.7-4Incomplete
flex2.5.4-2OK
fvwm2.4.7-2OK
gawk3.1.3-3OK
gcc 3.2-3  OK
gcc-mingw   20020817-5 OK
gdbm1.8.3-7OK
gettext 0.12.1-3   OK
gettext-devel   0.12.1-3   OK
gnugo   3.4-1  OK
gperf   2.7.2-1OK
grep2.5-1  Incomplete
groff   1.18.1-2   Incomplete
gzip1.3.5-1OK
indent  2.2.8-1Incomplete
inetutils   1.3.2-24   Incomplete
initscripts 0.9-1  OK
ioperm  0.4-1  OK
jbigkit 1.5-3  OK
jpeg6b-11  OK
keychain1.9-1  OK
less381-1  OK
lesstif 0.93.41-1  OK
libbz2_01.0.2-1OK
libbz2_1  

Re: System call which gets CPU utilized capacity

2003-09-10 Thread Igor Pechtchanski
On Wed, 10 Sep 2003, Alex Vinokur wrote:

> Is there in CYGWIN any system call which gets CPU utilized capacity at
> the present moment?
> For instance :
> int get_cpu_usage() which returns the percentage of used capacity.
>
> I would like to write in my C-program something like :
>
> if (get_cpu_usage() < 20)
> {
>foo1();  // calling foo1() will be postponed
> }
> else
> {
>foo2();
> }

I assume the call is the same as in any other Unix system, since "top"
worked for me with almost no porting about a year ago.  You might want to
take a look at the sources for the "procps" package.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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



ncurses line drawing characters terminfo problem?

2003-09-10 Thread Andrew B. Clegg

Hi folks,

First off thanks all for the continuing good work on Cygwin and all its
packages.

I have a question regarding ncurses...

When I run the test executables in /bin/ncurses-test-dll, line-drawing
graphics characters come out as high-ascii latin-1 characters, e.g.
capital As with umlauts or upside-down question marks.

This behaviour is the same in Windows console windows and in rxvt in
Windows mode (haven't tried it in X mode). I've tried various settings for
the TERM variable (cygwin, xterm, ansi, vt100) and although they all
display different characters, none of them actually come out with line art
characters.

I've also tried changing my font from Lucida Console to Raster Fonts in
the hope that might make a difference, but it doesn't.

I haven't messed with my terminfo/termcap; any ideas what's going wrong?

Thanks in advance,

Andrew.
--
-= email address changed monthly as anti-spam precaution =-
 use :currentmonth: :currentyear: at nervechannel dot nildram dot co dot uk
 e.g. [EMAIL PROTECTED]
 or 'operon' at same address for permanent records


Cygwin Win95/NT Configuration Diagnostics

Current System Time: Wed Sep 10 14:12:57 2003



Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3



Path:   c:\cygwin\usr\local\bin

c:\cygwin\bin

c:\cygwin\bin

c:\WINNT\system32

c:\WINNT

c:\WINNT\System32\Wbem

c:\Program Files\ixos-a~1\bin

c:\mysql\bin

c:\j2sdk1.4.1_01\bin

c:\cygwin\bin

c:\cygwin\usr\X11R6\bin



Output from c:\cygwin\bin\id.exe (nontsec)

UID: 27382(kxmf099) GID: 544(Administrators)

544(Administrators)



Output from c:\cygwin\bin\id.exe (ntsec)

UID: 27382(kxmf099) GID: 544(Administrators)

544(Administrators)  545(Users)



SysDir: C:\WINNT\System32

WinDir: C:\WINNT



CYGWIN = `ntsec tty'

HOME = `\\ukcghopers01\kxmf099$'

MAKE_MODE = `unix'

PWD = `/bin/ncurses-test-dll'

USER = `kxmf099'



ALLUSERSPROFILE = `C:\Documents and Settings\All Users'

APPDATA = `C:\Documents and Settings\kxmf099\Application Data'

COMMONPROGRAMFILES = `C:\Program Files\Common Files'

COMPUTERNAME = `UKHPCODMNKBE'

COMPUTERTYPE = `OfficeDesktop'

COMSPEC = `C:\WINNT\system32\cmd.exe'

HOMEDRIVE = `M:'

HOMEPATH = `\'

HOMESHARE = `\\ukcghopers01\kxmf099$'

LOGONSERVER = `\\UKHPCEMDC01'

MANPATH = `:/usr/ssl/man'

NUMBER_OF_PROCESSORS = `1'

OLDPWD = `/bin'

OS2LIBPATH = `C:\WINNT\system32\os2\dll;'

OS = `Windows_NT'

PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'

PROCESSOR_ARCHITECTURE = `x86'

PROCESSOR_IDENTIFIER = `x86 Family 6 Model 7 Stepping 3, GenuineIntel'

PROCESSOR_LEVEL = `6'

PROCESSOR_REVISION = `0703'

PROGRAMFILES = `C:\Program Files'

PROMPT = `$P$G'

PS1 = `\[\033]0;\w\007

[EMAIL PROTECTED] \[\033[33m\w\033[0m\]

$ '

SHLVL = `1'

SMS_LOCAL_DIR = `C:\WINNT'

SYSTEMDRIVE = `C:'

SYSTEMROOT = `C:\WINNT'

TEMP = `c:\DOCUME~1\kxmf099\LOCALS~1\Temp'

TERM = `cygwin'

TEXMF = `{/usr/share/lilypond/1.6.11,/usr/share/texmf}'

TMP = `c:\DOCUME~1\kxmf099\LOCALS~1\Temp'

USERDNSDOMAIN = `emea.astrazeneca.net'

USERDOMAIN = `EMEA'

USERNAME = `kxmf099'

USERPROFILE = `C:\Documents and Settings\kxmf099'

WINDIR = `C:\WINNT'

_ = `/usr/bin/cygcheck'



HKEY_CURRENT_USER\Software\Cygnus Solutions

HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin

HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2

HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options

HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup

HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0

HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts

HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00

  (default) = `\\.\tape1:'

  unix = `/dev/st1'

  fbinary = 0x

  fsilent = 0x0001

HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01

  (default) = `\\.\tape0:'

  unix = `/dev/st0'

  fbinary = 0x

  fsilent = 0x0001

HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02

  (default) = `\\.\b:'

  unix = `/dev/fd1'

  fbinary = 0x

  fsilent = 0x0001

HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03

  (default) = `\\.\a:'

  unix = `/dev/fd0'

  fbinary = 0x

  fsilent = 0x0001

HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04

  (default) = `C:'

  unix = `/'

  fbinary = 0x

  fsilent = 0x

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2

  (default) = `/cygdrive'

  cygdrive flags = 0x0022

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/

  (default) = `c:\cygwin'

  flags = 0x000a

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin

  (default) = `c:\cygwin/bin'

  flags = 0

Re: ncurses line drawing characters terminfo problem?

2003-09-10 Thread Igor Pechtchanski
On Wed, 10 Sep 2003, Andrew B. Clegg wrote:

> Hi folks,
>
> First off thanks all for the continuing good work on Cygwin and all its
> packages.
>
> I have a question regarding ncurses...
>
> When I run the test executables in /bin/ncurses-test-dll, line-drawing
> graphics characters come out as high-ascii latin-1 characters, e.g.
> capital As with umlauts or upside-down question marks.
>
> This behaviour is the same in Windows console windows and in rxvt in
> Windows mode (haven't tried it in X mode). I've tried various settings for
> the TERM variable (cygwin, xterm, ansi, vt100) and although they all
> display different characters, none of them actually come out with line art
> characters.
>
> I've also tried changing my font from Lucida Console to Raster Fonts in
> the hope that might make a difference, but it doesn't.
>
> I haven't messed with my terminfo/termcap; any ideas what's going wrong?
>
> Thanks in advance,
>
> Andrew.

Try adding "codepage:oem" to your CYGWIN environment variable.  See
 for details.  This
setting is effective for each individual process, so you can set it in the
shell just before you run the tests.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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: ncurses line drawing characters terminfo problem?

2003-09-10 Thread Andrew B. Clegg
On Wed, 10 Sep 2003, Igor Pechtchanski wrote:

> Try adding "codepage:oem" to your CYGWIN environment variable.  See
>  for details.  This
> setting is effective for each individual process, so you can set it in the
> shell just before you run the tests.

That works for console windows but not for rxvt, strangely -- it's a start
though, thanks.

Andrew.



--
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: Minor website fixup

2003-09-10 Thread Christopher Faylor
On Wed, Sep 10, 2003 at 01:50:41PM +0100, chris wrote:
>Probably about time to update www.cygwin.com, particularily the main 
>page to refer to the fact 1.5.x is out now?

As in the part that says:

  Latest Cygwin DLL release version is 1.5.3-1

or the part that says:

  New Cygwin DLL 1.5.3-1 release

  An update release for the Cygwin DLL and its accompanying utilities.
  Sep 1 2003, Christopher Faylor

Both changes were made on 2003-09-01 when cygwin was released.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.com

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



Re: cygwin1.dll - debug version (RE: similar crash in mmap for 1.5.3-1)

2003-09-10 Thread Christopher Faylor
On Wed, Sep 10, 2003 at 01:23:56PM +0200, Hannu E K Nevalainen (garbage mail) wrote:
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
>> Of Christopher Faylor
>
>
>> >Idea, to help debug things like the above:
>> >
>> > Alt 1) Make an _unstripped_ cygwin1.dll available in a package named
>> >"cygwin-DEBUG-dll" or some such. Also make it be
>> "TEST/Exp" forever.
>> > Alt 2) Have an unstripped cygwin1-DEBUG.dll added to the basic package,
>> >add a simple "cygswapdll" utility.
>> >
>> >Is this a Good or Bad idea?
>>
>> The new version of binutils allows you to strip debug information and put
>> it in a separate file. Then you can provide that file to gdb and use it
>> for debugging.
>
> Right, now that you mention it I remember seeing it. My ideas ran obsolete
>already in the start ':-> .
>
>> However, like everything there are two problems 1) lack of tuit cycles and
>> 2) it won't stop people from running gdb on their binaries and reporting
>> that strdup is causing a problem in mmap.  There will still be a "download
>> the debug info" step no matter what.
>
> Most likely... Some wording regarding "download the debug info" needs to be
>added to "problems.html" - I guess.

That sort of presupposes that someone is interested in walking people through
the debugging of the cygwin DLL.  I know I'm not interested and I haven't
seen anyone else step in when people start asking debugging questions.

I guess the words in problems.html could be extended with a "You're basically
on your own"...

This is not a bad idea, especially since I thought of it myself long ago :-),
like I said, it just requires some time which I don't have right now.

cgf

--
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: cygwin1.dll - debug version (RE: similar crash in mmap for 1.5.3-1)

2003-09-10 Thread Igor Pechtchanski
On Wed, 10 Sep 2003, Christopher Faylor wrote:

> On Wed, Sep 10, 2003 at 01:23:56PM +0200, Hannu E K Nevalainen (garbage mail) wrote:
> >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> >> Of Christopher Faylor
> >
> >
> >> >Idea, to help debug things like the above:
> >> >
> >> > Alt 1) Make an _unstripped_ cygwin1.dll available in a package named
> >> >"cygwin-DEBUG-dll" or some such. Also make it be
> >> "TEST/Exp" forever.
> >> > Alt 2) Have an unstripped cygwin1-DEBUG.dll added to the basic package,
> >> >add a simple "cygswapdll" utility.
> >> >
> >> >Is this a Good or Bad idea?
> >>
> >> The new version of binutils allows you to strip debug information and put
> >> it in a separate file. Then you can provide that file to gdb and use it
> >> for debugging.
> >
> > Right, now that you mention it I remember seeing it. My ideas ran obsolete
> >already in the start ':-> .
> >
> >> However, like everything there are two problems 1) lack of tuit cycles and
> >> 2) it won't stop people from running gdb on their binaries and reporting
> >> that strdup is causing a problem in mmap.  There will still be a "download
> >> the debug info" step no matter what.
> >
> > Most likely... Some wording regarding "download the debug info" needs to be
> >added to "problems.html" - I guess.
>
> That sort of presupposes that someone is interested in walking people through
> the debugging of the cygwin DLL.  I know I'm not interested and I haven't
> seen anyone else step in when people start asking debugging questions.
>
> I guess the words in problems.html could be extended with a "You're basically
> on your own"...
>
> This is not a bad idea, especially since I thought of it myself long ago :-),
> like I said, it just requires some time which I don't have right now.
>
> cgf

FWIW, I think Hannu has a point in that if debugging information were
available, it would be much easier for people to step in and outline the
necessary actions to provide a good stack trace than it would be to show
them how to build a debug version of the DLL from scratch.  Just my 2c.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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



star and tape

2003-09-10 Thread Dmitry Melekhov
Hello!

Does someone here run star (ftp://ftp.berlios.de/pub/star/) in cygwin?
It works ok with files, but I have problems with tape.
If I call it as
star x --file=/dev/st0
It says permission denied.
If I call it as star x 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: cron: can't switch user context

2003-09-10 Thread Harig, Mark
I cannot see the source of your problem from
the cygcheck listing.  However, you are 
running a Windows .NET server.  I do not know
what effect that might have on cron.

Please run the attached cron_diagnose.sh
script.  It is the latest version.  I would
like for you to eliminate the possibility
that you ran an earlier version.

> -Original Message-
> From: René Haber [mailto:[EMAIL PROTECTED]
> Sent: Sunday, September 07, 2003 1:06 PM
> To: [EMAIL PROTECTED]
> Subject: cron: can't switch user context
> 
> 
> Hello
> 
> I've got Cygwin runnig on Windows 2003 and wanted to use the cron
> daemon. I installed it via
> 
>cygrunsrv -I "CYGWIN crond" -p /usr/sbin/cron.exe -a -D
> 
> as a NT-Service. Then I added a cronjob via "crontab -e" (I was logged
> in as Administrator)
> 
>5 * * * * echo "test" > test.txt
> 
> after that, I started the cron-service and waited for the test-job to
> complete. But instead of doing the job cron complaind in the Syslog
> about
> 
>  Ereignisinformationen: /USR/SBIN/CRON : PID 228 : (CRON) 
> error (can't switch user context).
> 
> I checked my install via a shellscript (cron_diagnose.sh) I found in
> the Mailing-List Archiv, but it didn't find a problem.
> 
> Is there a solution to this Problem or a work-around?
> 
> Thanks.
> 
> René Haber
> 


cron_diagnose.sh
Description: cron_diagnose.sh
--
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: cygwin1.dll - debug version (RE: similar crash in mmap for 1.5.3-1)

2003-09-10 Thread Christopher Faylor
On Wed, Sep 10, 2003 at 11:40:33AM -0400, Igor Pechtchanski wrote:
>On Wed, 10 Sep 2003, Christopher Faylor wrote:
>>On Wed, Sep 10, 2003 at 01:23:56PM +0200, Hannu E K Nevalainen (garbage mail) wrote:
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Christopher Faylor
>>>
>>>
>Idea, to help debug things like the above:
>
>Alt 1) Make an _unstripped_ cygwin1.dll available in a package named
>"cygwin-DEBUG-dll" or some such.  Also make it be
"TEST/Exp" forever.
>Alt 2) Have an unstripped cygwin1-DEBUG.dll added to the basic package,
>add a simple "cygswapdll" utility.
>
>Is this a Good or Bad idea?

The new version of binutils allows you to strip debug information and
put it in a separate file.  Then you can provide that file to gdb and
use it for debugging.
>>>
>>>Right, now that you mention it I remember seeing it.  My ideas ran
>>>obsolete already in the start ':-> .
>>>
However, like everything there are two problems 1) lack of tuit cycles
and 2) it won't stop people from running gdb on their binaries and
reporting that strdup is causing a problem in mmap.  There will still
be a "download the debug info" step no matter what.
>>>
>>>Most likely...  Some wording regarding "download the debug info" needs
>>>to be added to "problems.html" - I guess.
>>
>>That sort of presupposes that someone is interested in walking people
>>through the debugging of the cygwin DLL.  I know I'm not interested and
>>I haven't seen anyone else step in when people start asking debugging
>>questions.
>>
>>I guess the words in problems.html could be extended with a "You're
>>basically on your own"...
>>
>>This is not a bad idea, especially since I thought of it myself long
>>ago :-), like I said, it just requires some time which I don't have
>>right now.
>
>FWIW, I think Hannu has a point in that if debugging information were
>available, it would be much easier for people to step in and outline
>the necessary actions to provide a good stack trace than it would be to
>show them how to build a debug version of the DLL from scratch.  Just
>my 2c.

"This is not a bad idea...it just requires some time which I don't have
right now."

I haven't, so far, seen anyone chime in usefully on this issue when
people have provided stack traces.  There are other issues which would
crop up even if debugging info were available like the fact that traces
are unreliable where they include functions without stack frame info.

Also, the problems.html page is surely the wrong place for a tutorial
for how to debug the cygwin DLL.  A hyperlink to a page which talked
about this, with a caveat about this being only for the technically
savvy, would be fine.  But I'm not going to write it.  Volunteers?
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.com

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



Re: Minor website fixup

2003-09-10 Thread caj

> On Wed, Sep 10, 2003 at 01:50:41PM +0100, chris wrote:
> >Probably about time to update www.cygwin.com, particularily the main
> >page to refer to the fact 1.5.x is out now?
>
> As in the part that says:
>
>   Latest Cygwin DLL release version is 1.5.3-1
>
> or the part that says:
>
>   New Cygwin DLL 1.5.3-1 release
>
>   An update release for the Cygwin DLL and its accompanying utilities.

No, the bit that says:
The latest net releases of the Cygwin DLL are numbered 1.1.x or 1.3.x.

Chris

--
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: cron: can't switch user context

2003-09-10 Thread Larry Hall
Actually, I'd suggest googling, especially when you're asking if 
the issue you're having is a known problem or if there are any 
work-arounds.  In this case, you'd find all sort of references to
Windows 2003 and services that need to be able to switch user contexts.



This one talks about ssh but it's the same issue.  Follow the instructions
there for creating a privileged user that you can run cron as and you 
should have your solution.  It's easy to look for this sort of stuff.
Try it.

I'd suggest you run Mark's script as well though and provide feedback.
It would be good to know if it thinks there's anything else that might
be wrong too.

Larry

At 11:57 AM 9/10/2003, Harig, Mark you wrote:
>I cannot see the source of your problem from
>the cygcheck listing.  However, you are 
>running a Windows .NET server.  I do not know
>what effect that might have on cron.
>
>Please run the attached cron_diagnose.sh
>script.  It is the latest version.  I would
>like for you to eliminate the possibility
>that you ran an earlier version.
>
>> -Original Message-
>> From: René Haber [mailto:[EMAIL PROTECTED]
>> Sent: Sunday, September 07, 2003 1:06 PM
>> To: [EMAIL PROTECTED]
>> Subject: cron: can't switch user context
>> 
>> 
>> Hello
>> 
>> I've got Cygwin runnig on Windows 2003 and wanted to use the cron
>> daemon. I installed it via
>> 
>>cygrunsrv -I "CYGWIN crond" -p /usr/sbin/cron.exe -a -D
>> 
>> as a NT-Service. Then I added a cronjob via "crontab -e" (I was logged
>> in as Administrator)
>> 
>>5 * * * * echo "test" > test.txt
>> 
>> after that, I started the cron-service and waited for the test-job to
>> complete. But instead of doing the job cron complaind in the Syslog
>> about
>> 
>>  Ereignisinformationen: /USR/SBIN/CRON : PID 228 : (CRON) 
>> error (can't switch user context).
>> 
>> I checked my install via a shellscript (cron_diagnose.sh) I found in
>> the Mailing-List Archiv, but it didn't find a problem.
>> 
>> Is there a solution to this Problem or a work-around?
>> 
>> Thanks.
>> 
>> René Haber
>> 
>
>--
>Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
>Problem reports:   http://cygwin.com/problems.html
>Documentation: http://cygwin.com/docs.html
>FAQ:   http://cygwin.com/faq/ 


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



Re: Minor website fixup

2003-09-10 Thread Christopher Faylor
On Wed, Sep 10, 2003 at 04:57:17PM +0100, [EMAIL PROTECTED] wrote:
>>On Wed, Sep 10, 2003 at 01:50:41PM +0100, chris wrote:
>>>Probably about time to update www.cygwin.com, particularily the main
>>>page to refer to the fact 1.5.x is out now?
>>
>>As in the part that says:
>>
>>Latest Cygwin DLL release version is 1.5.3-1
>>
>>or the part that says:
>>
>>New Cygwin DLL 1.5.3-1 release
>>
>>An update release for the Cygwin DLL and its accompanying utilities.
>
>No, the bit that says: The latest net releases of the Cygwin DLL are
>numbered 1.1.x or 1.3.x.

Ah.  My mind reading skills are a bit off today I guess.

--
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: moving cygwin to another disk

2003-09-10 Thread Steve Kelem
Igor Pechtchanski wrote:

I had to move C:\cygwin to D:\cygwin.

In addition to moving the files, I changed the registry entries under
HKLM\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
so that they reflected the new location.
   

"man mount"
 

"give thanks"   // The mount page didn't have anything directly useful, 
but the pointer to http://cygwin.com/cygwin-ug-net/using-utils.html was 
really useful. regtool looks really handy.

I ran cygcheck -svr, and got:

cygcheck: dump_sysinfo: GetVolumeInformation() failed: 1

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Wed Sep 10 11:04:06 2003
Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3

Path:c:\home\kelem\bin\i386
   c:\home\kelem\bin\sh
   D:\cygwin\usr\local\gnu\bin
   C:\Java\j2sdk1.4.1\bin
   D:\cygwin\usr\local\ant\apache-ant-1.5.4\bin
   c:\home\kelem\src\java\SableCC\sablecc-2.17.3\bin
   D:\cygwin\usr\local\ant\apache-ant-1.5.4\bin
   D:\cygwin\usr\local\bin
   D:\cygwin\usr\local\sbin
   D:\cygwin\usr\sbin
   D:\cygwin\bin
   D:\cygwin\usr\local\gnu\emacs-20.7\bin
   D:\cygwin\usr\X11R6\bin
   C:\PalmDev\pilrc-2.8
   C:\PalmDev\ASDK\asdk1a1\bin
   C:\PalmDev\Waba\wabasdk.10\bin
   D:\cygwin\usr\etc
Output from D:\cygwin\bin\id.exe (nontsec)
UID: 1000(kelem) GID: 513(None)
513(None)
Output from D:\cygwin\bin\id.exe (ntsec)
UID: 1000(kelem) GID: 513(None)
513(None)544(Administrators) 
547(Power Users) 545(Users)

SysDir: G:\WINNT\System32
WinDir: G:\WINNT
CYGWIN = `tty binmode ntsec nontsecsmb'
HOME = `c:\home\kelem'
LD_LIBRARY_PATH = 
`D:\cygwin\usr\local\gnu\mh\lib:\usr\local\gnu\lib:\usr\local\gnu\lib\rvplayer5.0:\usr\local\lib'
MAKE_MODE = `unix'
PWD = `/tmp'
USER = `kelem'

ALLUSERSPROFILE = `G:\Documents and Settings\All Users'
ANT_HOME = `/usr/local/ant/apache-ant-1.5.4'
APPDATA = `G:\Documents and Settings\kelem\Application Data'
ARCH = `i386'
BCHECK = `Check.out.CYGWIN_NT-5.01.5.3'
BCONFIG = `Configure.out.CYGWIN_NT-5.01.5.3'
BIBINPUTS = `/home/kelem/lib/bib'
BIN = `/home/kelem/bin/i386'
BINSTALL = `Install.out.CYGWIN_NT-5.01.5.3'
BMAKE = `Make.out.CYGWIN_NT-5.01.5.3'
BTEST = `Test.out.CYGWIN_NT-5.01.5.3'
CATALINA_HOME = `C:\Program Files\Apache Group\jakarta-tomcat-4.1.18'
CLASSPATH = `C:\\Program Files\\Apache 
Group\\xalan-j_2_5_D1\\bin\\xalan.jar;c:\\home\\Kelem\\src\\java\\SableCC\\sablecc-2.16.2\\lib\\sablecc.jar;c:\\home\\Kelem\\src\\java\\lib;C:\\Java\\JUnit\\junit3.8.1\\junit.jar;c:\\java\\Antlr\\antlr-2.7.1;c:\\Palm\\pilrcedit\\pilrcedit.jar;C:\\PalmDev\\SuperWaba\\SW3_5a\\SuperWabaSDK\\bin;;C:\\PalmDev\\SuperWaba\\SW3_5a\\SuperWabaSDK\\lib\\SuperWaba.jar;C:\\PalmDev\\Waba\\wabasdk.10\\classes;C:\\PalmDev\\Jump\\jump2_1_4\\jar\\jump.jar;.\\test\\classes;.'
COMMONPROGRAMFILES = `G:\Program Files\Common Files'
COMPUTERNAME = `SKELEM'
COMSPEC = `G:\WINNT\system32\cmd.exe'
CVSROOT = `/home/kelem/CVS'
EDITOR = `vi'
EMACS_LISP = `/usr/local/gnu/share/emacs/19.34/lisp'
EXINIT = `set ai sw=4 aw sections=bvH\ NHSHHU sm w1200=12 wm=1'
FMHOME = `/c/Program Files/Adobe/FrameMaker7.0'
FONT1 = `8x13'
FONT2 = `8x13'
FONT3 = `9x15'
GNU = `/usr/local/gnu'
GNUB = `/usr/local/gnu/bin'
GNUL = `/usr/local/gnu/lib'
GNUM = `/usr/local/gnu/man'
GNUS = `/usr/local/src/gnu'
GROUP = `None'
Gnu = `'
HOMEDRIVE = `C:'
HOMEPATH = `\home\Kelem'
HOST = `skelem'
HOSTNAME = `skelem'
HOSTTYPE = `i386'
HPATH = 
`/home/kelem/man:/usr/local/gnu/man:/tools/x11r5/sun5/man:/usr/man:/usr/local/mh/man:/usr/local/man'
INFOPATH = 
`/usr/local/lib/info/;/usr/local/info/;c:/emacs/info/;c:/emacs/info/;c:/Gnu/emacs-20.7/info/'
JAVA_HOME = `/Java/j2sdk1.4.2_01'
LESS = `C'
LESSCHARSET = `latin1'
LIB = `/home/kelem/lib/i386'
LOGNAME = `kelem'
LOGONSERVER = `\\SKELEM'
MACH = `i386'
MACHTYPE = `i386'
MACH_SYNOPSYS = `i386/i386'
MANPATH = 
`/home/kelem/man:/usr/local/gnu/man:/usr/man:/usr/local/man:/usr/local/perl/man'
ME = `kelem'
MFBASESdir = `/home/kelem/lib/i386/mf/bases'
MFINPUTS = 
`.:/home/kelem/cmfonts/mf:/home/kelem/lib/mf/bases:/usr/local/lib/mf/inputs'
MFINPUTSdir = `/home/kelem/lib/i386/mf/bases'
MFPOOL = `.:/usr/local/lib/mf'
MFPOOLdir = `/home/kelem/lib/mf'
NUMBER_OF_PROCESSORS = `1'
OS2LIBPATH = `G:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
OSTYPE = `posix'
OS_RELEASE = `1.5.3(0.90/3/2)'
PAGER = `less'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PERL5LIB = `D:\cygwin\bin'
PERL_SRC = `/usr/local/src/gnu/perl5.002'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 7 Stepping 3, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0703'
PROGRAMFILES = `G:\Program Files'
PROMPT = `$P$G'
PRPP = `'
PRPRE = `'
PRSU = `'
PRSUF = `'
Palm_Incs = `-I /c/PalmDev/sdk-3.5/include -I 
/c/PalmDev/sdk-3.5/include/Core -I 
/c/PalmDev/sdk-3.5/include/Core/Hardware -I 
/c/PalmDev/sdk-3.5/include/Core/System -I 
/c/PalmDev/sdk-3.5/include/Core/UI -I /c/PalmDev/sdk-3.5/include/Dynamic 
-I /c/PalmDev/sdk-3.5/include/Libraries -I 
/c/PalmDev/sdk-3.5/include/Libraries/INet -I 
/c

Re: moving cygwin to another disk

2003-09-10 Thread Igor Pechtchanski
Steve,

I had Reply-To: set for a reason -- there was no need to Cc: me.

On Wed, 10 Sep 2003, Steve Kelem wrote:

> Igor Pechtchanski wrote:
>
> >>I had to move C:\cygwin to D:\cygwin.
> >>
> >>In addition to moving the files, I changed the registry entries under
> >>HKLM\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
> >>so that they reflected the new location.
> >>
> >>
> >"man mount"
> >
> >
> "give thanks"   // The mount page didn't have anything directly useful,
> but the pointer to http://cygwin.com/cygwin-ug-net/using-utils.html was
> really useful. regtool looks really handy.

The mount page was intended to show you that you could have simply
re-mounted the directories instead of modifying the registry by hand.

> I ran cygcheck -svr, and got:
>
> cygcheck: dump_sysinfo: GetVolumeInformation() failed: 1
> [snip]

At a guess, this was probably due to your CDs not being in the drive.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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: Find: missing alphabetically last dirtree

2003-09-10 Thread Christopher Faylor
On Wed, Sep 10, 2003 at 03:08:25PM +0200, Ralph Ulrich wrote:
>The tree of the alphabetically last directory will not be listed by
>find on my W2k sp3 Computer.  This bug is not reproducable on a NT4
>system.

This should be fixed in tonight's snapshot.

http://cygwin.com/snapshots/

cgf

--
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: cygwin1.dll - debug version (RE: similar crash in mmap for 1.5.3-1)

2003-09-10 Thread Hannu E K Nevalainen \(garbage mail\)

Hannu:
> >>>Most likely...  Some wording regarding "download the debug info" needs
> >>>to be added to "problems.html" - I guess.
> >>

CGF:
> >>That sort of presupposes that someone is interested in walking people
> >>through the debugging of the cygwin DLL.  I know I'm not interested and
> >>I haven't seen anyone else step in when people start asking debugging
> >>questions.
> >>
> >>I guess the words in problems.html could be extended with a "You're
> >>basically on your own"...

 Indeed... with some more words that points to useful information... or?

> >>This is not a bad idea, especially since I thought of it myself long
> >>ago :-), like I said, it just requires some time which I don't have
> >>right now.

 :-) ...have I heard those words before? Have I spoken in the same manner
myself? ;-)

> >FWIW, I think Hannu has a point in that if debugging information were
> >available, it would be much easier for people to step in and outline
> >the necessary actions to provide a good stack trace than it would be to
> >show them how to build a debug version of the DLL from scratch.  Just
> >my 2c.
>
> "This is not a bad idea...it just requires some time which I don't have
> right now."
>
> I haven't, so far, seen anyone chime in usefully on this issue when
> people have provided stack traces.  There are other issues which would
> crop up even if debugging info were available like the fact that traces
> are unreliable where they include functions without stack frame info.
>
> Also, the problems.html page is surely the wrong place for a tutorial
> for how to debug the cygwin DLL.  A hyperlink to a page which talked
> about this, with a caveat about this being only for the technically
> savvy, would be fine.  But I'm not going to write it.  Volunteers?

 Well, there needn't be a _tutorial_ on debugging. Maybe just a link to a
good starting point for understanding gdb/ddd/insight and their usage - for
beginners [1].
 Non-beginners often need just a few words... these words should be added
though - time permitting, as always.

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E

--
[1]
 I've been investigating AmigaOS executables _thoroughly_ and thus know that
some stuff do require intimate knowledge of OS internals.

--END OF MESSAGE--


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



Re: Cygwin python 2.3 oddity

2003-09-10 Thread Jason Tishler
Olivier,

Please post instead of sending private email.

On Wed, Sep 10, 2003 at 09:50:55PM +0200, Olivier Lefevre wrote:
> It doesn't seem to honor the PYTHONSTARTUP variable. I can't it to
> read my startup file. The native Windows version does. The README does
> not mention this as a known issue. Should it work?

Yes, and it does for me.  FWIW, this is how I enable Python's readline
module.

What is your PYTHONSTARTUP set to?  If it contains "~" or "$HOME", is
HOME and/or your /etc/passwd entry set correctly?

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
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: Find: missing alphabetically last dirtree

2003-09-10 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Christopher Faylor

> On Wed, Sep 10, 2003 at 03:08:25PM +0200, Ralph Ulrich wrote:
> >The tree of the alphabetically last directory will not be listed by
> >find on my W2k sp3 Computer.  This bug is not reproducable on a NT4
> >system.
> 
> This should be fixed in tonight's snapshot.
> 
> http://cygwin.com/snapshots/
> 
> cgf

Uhh... I wonder, might it be the same thing I wrote about here:

http://sources.redhat.com/ml/cygwin/2003-06/msg00504.html
This seems to have problems with the TWO last directories...

 I need *more* free time; this time to check that snapshot.

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
--END OF MESSAGE-- 

--
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: cygwin1.dll - debug version (RE: similar crash in mmap for 1.5.3-1)

2003-09-10 Thread Christopher Faylor
On Wed, Sep 10, 2003 at 10:27:10PM +0200, Hannu E K Nevalainen (garbage mail) wrote:
>> Also, the problems.html page is surely the wrong place for a tutorial
>> for how to debug the cygwin DLL.  A hyperlink to a page which talked
>> about this, with a caveat about this being only for the technically
>> savvy, would be fine.  But I'm not going to write it.  Volunteers?
>
> Well, there needn't be a _tutorial_ on debugging. Maybe just a link to a
>good starting point for understanding gdb/ddd/insight and their usage - for
>beginners [1].
> Non-beginners often need just a few words... these words should be added
>though - time permitting, as always.

I think you are missing my point.  I do not want a problems page to be
littered with a "and here's how you debug cygwin" or here's where to
find debuggers.  That would be daunting to people who are already
daunted by the amount of info on that page.  A hyperlink with something
like:

- Consider debugging cygwin yourself or
  possibly providing a back trace
  of a failing application.

I have a fundamental problem with adding tutorials on debugging here.
Go to the gdb page if you want to learn how to debug something.  A
(very) few pointers on how to debug with a DLL are fine, since they
would be cygwin-specific.  But info on setting breakpoints, etc., really
should come from the experts.

I'm also *extremely* dubious that we'd get useful information from someone
who has never heard of a debugger or even someone who hasn't heard about
gdb.

Anyway, as usual, we're discussing something that will probably never
happen.  I'm finished now since I've already used up too much time
reiterating points.  My next act will be to review any documentation
provided.

--
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: Find: missing alphabetically last dirtree

2003-09-10 Thread Hannu E K Nevalainen \(garbage mail\)

 Words inline, below...

> From: Hannu E K Nevalainen (garbage mail)
> Sent: Monday, June 09, 2003 1:37 PM
> To: ML CygWIN
> Subject: FW: 'find' CD-ROM contents
>
>
>
>  Right, we have a 100K limit... 85K strace output gzipped.
>
> > -Original Message-
> > From: Hannu E K Nevalainen (garbage mail)
> > [mailto:[EMAIL PROTECTED]
> > Sent: Monday, June 09, 2003 12:08 AM
> > To: ML CygWIN
> > Subject: 'find' CD-ROM contents
> >
> >
> >
> > I was inspecting the 'MSDN January 2003' CD-roms when this struck me.
> >
> > 'find' doesn't enter the 'Program Files' and 'Samples'
> > directories at all.
> > NOTE: 'ls -R' does
> >
> >  The CD-ROM (in P: while testing this) contains 7915 files and
> > 863 directories.
> >
> >  Can someone make this understandable, or is it a bug?
> >
> > $ ls -l P:
> > total 16450
> > dr-xr-xr-x2 Hannu   0 Nov 21  2002 IE60/
> > -r-xr-xr-x1 Hannu 1707856 Oct 15  2001 InstMSIA.exe*
> > -r-xr-xr-x1 Hannu 1821008 Sep 24  2001 InstMSIW.exe*
> > dr-xr-xr-x2 Hannu   0 Nov 21  2002 NT4SP/
> > dr-xr-xr-x4 Hannu   0 Nov 21  2002 Program Files/
> > dr-xr-xr-x4 Hannu   0 Nov 21  2002 Samples/
> > -r-xr-xr-x1 Hannu   45126 Sep 28  2002 autorun.exe*
> > -r--r--r--1 Hannu  29 Oct 17  2001 autorun.inf
> > -r--r--r--1 Hannu13181440 Nov 21  2002 msdn.msi
> > -r--r--r--1 Hannu3584 Mar  1  2002 msdnadvt.mst
> > -r--r--r--1 Hannu   23245 Nov 16  2002 readme.htm
> > -r-xr-xr-x1 Hannu   57409 May 10  2002 setup.exe*
> >
> > $ cat MSDN1.bat
> > dir P: /A-D /S /B >MSDN1.dir
> >
> > $ cd P: ; find -type f >~/MSDN1

 I did the following again after having copied+renamed the snapshot
cygwin1-.dll into /bin - and rebooted (to be "safe").

> >
> > $ ls -l MSDN1*
> > -rw-r--r--1 Hannu1707 Jun  8 23:03 MSDN1
> > -rwxr-xr-x1 Hannu  29 Jun  8 22:49 MSDN1.bat*
> > -rw-r--r--1 Hannu  449441 Jun  8 22:49 MSDN1.dir
> >
> > $ wc -l MSDN1 MSDN1.dir
> >  94 MSDN1
> >7915 MSDN1.dir
> >8009 total
> >

$ cygcheck -svr >c_svr-snap.txt
$ grep -i cygwin1 c_svr-snap.txt
  945k 2003/09/01 C:\Program\cygwin\bin\cygwin1-STD.dll - os=4.0 img=1.0
sys=4.0
  "cygwin1.dll" v0.0 ts=2003/9/1 19:15
  937k 2003/09/10 C:\Program\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
  "cygwin1.dll" v0.0 ts=2003/9/8 6:40
DLL identifier: cygwin1
Shared id: cygwin1S3
$ uname -a
CYGWIN_NT-5.0 P450 1.5.4s(0.90/3/2) 20030908 00:36:52 i686 unknown unknown
Cygwin
$ cd P: ; find -type f >~/MSDN1
$ wc -l ~/MSDN1
 94 /home/Hannu/MSDN1

 To be correct, "94" should be "7915" or some such (taking differences
between "dir" and "find" into account).

 :-7  Any ideas on how to go further with this?

> >  This MSDN set consists of two more CD's. These have approx. 400
> > files on them, each. All of these files are below a directory
> > named 'Program Files'. 'find' on these CD-ROMS work just as it should.



/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
--END OF MESSAGE--


--
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: cygwin1.dll - debug version (RE: similar crash in mmap for 1.5.3-1)

2003-09-10 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Christopher Faylor

> On Wed, Sep 10, 2003 at 10:27:10PM +0200, Hannu E K Nevalainen
> (garbage mail) wrote:
> >> Also, the problems.html page is surely the wrong place for a tutorial
> >> for how to debug the cygwin DLL.  A hyperlink to a page which talked
> >> about this, with a caveat about this being only for the technically
> >> savvy, would be fine.  But I'm not going to write it.  Volunteers?
> >
> > Well, there needn't be a _tutorial_ on debugging. Maybe just a link to a
> >good starting point for understanding gdb/ddd/insight and their
> usage - for
> >beginners [1].
> > Non-beginners often need just a few words... these words should be added
> >though - time permitting, as always.
>
> I think you are missing my point.  I do not want a problems page to be
> littered with a "and here's how you debug cygwin" or here's where to
> find debuggers.  That would be daunting to people who are already
> daunted by the amount of info on that page.  A hyperlink with something
> like:
>
> - Consider debugging cygwin yourself or
>   possibly providing a back trace
>   of a failing application.

 This seems be about what I had in mind, a bit depending on what
"debugcygwin.html" would contain.

> I have a fundamental problem with adding tutorials on debugging here.
> Go to the gdb page if you want to learn how to debug something.  A
> (very) few pointers on how to debug with a DLL are fine, since they
> would be cygwin-specific.  But info on setting breakpoints, etc., really
> should come from the experts.

 As I said above; _no_ tutorials, but pointers to good _starting points_ for
"beginners" - i.e. one or more ways to find out more on the matter.

> I'm also *extremely* dubious that we'd get useful information from someone
> who has never heard of a debugger or even someone who hasn't heard about
> gdb.

 This depends on what you evaluate the word "beginner" to...
 1) a beginner with debugging all together; then you're fully correct above
 2) a beginner with cygwin; the above might not be so "correct" anymore
 3) (more?)

 I put myself would fit in category 2) of two reasons; I have not used gdb
or its siblings for major stuff, nor tried to debug cygwin stuff. But I DO
have debugging experience.

> Anyway, as usual, we're discussing something that will probably never
> happen.

 ..and you have found this "time consuming" only? ;-)  (I hope not)

>  I'm finished now since I've already used up too much time
> reiterating points.  My next act will be to review any documentation
> provided.

 Fine with me :-)

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
--END OF MESSAGE--


--
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: Find: missing alphabetically last dirtree

2003-09-10 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Hannu E K Nevalainen (garbage mail)

> $ cygcheck -svr >c_svr-snap.txt
> $ grep -i cygwin1 c_svr-snap.txt
>   945k 2003/09/01 C:\Program\cygwin\bin\cygwin1-STD.dll - os=4.0 img=1.0
> sys=4.0
>   "cygwin1.dll" v0.0 ts=2003/9/1 19:15
>   937k 2003/09/10 C:\Program\cygwin\bin\cygwin1.dll - os=4.0 
> img=1.0 sys=4.0
>   "cygwin1.dll" v0.0 ts=2003/9/8 6:40
> DLL identifier: cygwin1  
> Shared id: cygwin1S3

    
Hrm? Seems I were too eager on this? 
I'll check again tomorrow.

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
--END OF MESSAGE-- 

--
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 with accented characters in Cygwin

2003-09-10 Thread Lukasz Kosewski
Hello all,

This subject seems misleadingly to have been flogged
to death, when in fact, I have found nothing which can
help me.

I am trying to get accented characters, or special
characters in general really, to display in my initial
Cygwin bash shell window.  I'm not even going to
attempt things in X for now.  Just simply attempting
to get them to work in Bash is too much of a pain.

I have added the lines:
set mega-flag on
set convert-meta off
set output-meta on
to my ~/.inputrc

The characters DISPLAY fine, when I am doing ls on a
folder with accents and umlauts, everything displays
fine.  With tab completion, I can complete the
accented names.  But I cannot TYPE them.  No matter
what key combinations I try, I cannot find any way to
TYPE the special characters at the prompt.  I cannot
paste characters from notepad/mozilla into the window
either, nothing happens when I try.

Does anyone have any suggestions?  I am using Windows
2000 with Cygwin overtop of it.

Luke Kosewski

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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



Re: ncurses line drawing characters terminfo problem?

2003-09-10 Thread Charles Wilson
Andrew B. Clegg wrote:

Try adding "codepage:oem" to your CYGWIN environment variable.  See
 for details.  This
setting is effective for each individual process, so you can set it in the
shell just before you run the tests.


That works for console windows but not for rxvt, strangely -- it's a start
though, thanks.
Now, set TERM=rxvt-cygwin-native  (for "windows-mode" rxvt) or 
TERM=rxvt-cygwin   (for "X11" rxvt).

The only difference in these two term settings from "normal" rxvt is 
precisely that: the ACS chars.

--
Chuck


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


"Cannot open display" or "cannot find entry symbol _WinMainCRTStartup"

2003-09-10 Thread Salma Can
Hi:

after reading Cygwin-User-guide and FAQ, I still 
have a problem runing a C-program under Windows. 
*The program:
 should output first some information on the to
display image sequence and then display images.
* Windows OS: XP version 2002 on a Toshiba 
  Tecra S1 laptop
* Cygwin: v 1.3.22.1
* Env-variables 
  LOGONSERVER=\\TOSHI HOSTNAME=TOSHI 
  COMPUTERNAME=TOSHI
* Problem and and what I have done:
1. I copied the source code (including the makefile
(see below)) to my /home directory under c:\cygwin
2. I modified the original makefile by adding
-mwindows
3. I compiled the program and got the executable and 
   the warning 
   "cannot find entry symbol _WinMainCRTStartup ..."
Here is a summary of the output:
$ make -f Makefile.cygwin
gcc -mwindows  -O6 -Wall -pedantic   -c -o seq.o seq.c
...
gcc -mwindows  -O6 -Wall -pedantic  -L/usr/X11R6/lib
-L/lib  -o seq.exe seq.o get_color.o guess.o
help_seq.o util_seq.o -lX11 -lm
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld:
warning: cannot find entry symbol _WinMainCRTStartup;
defaulting to 00401000
4. when I run the prgram (./seq.exe img_seq) it does
not output anything. It just stops after a while.

 I tried gdb and I got 
"Program exited with code 01".
When I setting a break point at MainCRTStartup 
(break *0x401000) I get no output and "Program exited
with code 01"

 Then I tried it without -mwindows, i.e., 
2.1 I did not modify my original makefile 
(i.e., no -mwindows added)
3.1 I compiled the progtam and got the executable
without the above warning about CRT.
4.1 when I run the program it gives some correct
normal text output and then stops and gives 
"cannot connect to X server TOSHI:0"

 Then I tried the option
2.2 I modified my make file by adding -mwindows -e
_mainCRTStartup
3.2 I compiled without the CRT warning ad got the
executable.
4.2 when I run the program, same as 4. above.
(Note: I tried it with -e _mainCRTStartup only and the
results is as 4.1 above)

--- Do you have any hint why I am not able to display
the output window (or in the other case why the
program does not output anything). I appreciate any
hint.

Regards.
Salma
==
My Makefile:
SRCS =  seq.c 

PROG= seq.exe
SLIBS   = -lX11 -lm
CC  = gcc -mwindows -e _mainCRTStartup
CFLAGS  = -O6 -Wall -pedantic
LDFLAGS =  -L/usr/X11R6/lib -L/lib
OBJS= $(SRCS:.c=.o)
 
all : $(PROG)

$(PROG): $(OBJS)
$(LINK.c) -o $(PROG) $(OBJS) $(SLIBS)

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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



New snapshot fixes a few recently reported bugs

2003-09-10 Thread Christopher Faylor
Please try out the latest snapshot if you have reported a bug in
1.5.3 recently.

http://cygwin.com/snapshots/

cgf

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



link correction originating from cygwin website

2003-09-10 Thread Carlo Florendo
Hello,

The link for the starship trader grahical console as pointed to in the 
software section of the cygwin website is:

http://cygwin.com/www.geocities.com/kirellii

The cygwin.com could probably be stripped.

Thanks!

Best Regards,

Carlo
--
Carlo Florendo
Astra Philippines Inc.
URL: http://www.hq.astra.ph


--
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: System call which gets CPU utilized capacity

2003-09-10 Thread Alex Vinokur

"Igor Pechtchanski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> On Wed, 10 Sep 2003, Alex Vinokur wrote:
>
> > Is there in CYGWIN any system call which gets CPU utilized capacity at
> > the present moment?
>
[snip]
> I assume the call is the same as in any other Unix system, since "top"
> worked for me with almost no porting about a year ago.  You might want to
> take a look at the sources for the "procps" package.
> Igor
[snip]

But "top" and "ps" are the UNIX (CYGWIN) command line utilities.
We can't use them in C-program unless with system().
 I mean platform-specific system call (as the popen() system call) which can be 
directly used in C-program.

   =
   Alex Vinokur
 mailto:[EMAIL PROTECTED]
 http://mathforum.org/library/view/10978.html
   =






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



Diff information

2003-09-10 Thread Editor of PoliSource
I was looking for instructions on how to use the diff tools that come with 
cygwin, but all I could find is a short description of diffutils during 
setup, and a "ldesc" in the file setup.ini, but setup.ini opened in Notepad, 
which doesn't seem like the correct program for easy reading of that file. 
Could someone tell me how to properly view the data, including the long 
descriptions, in setup.ini, or point me to a tutorial on using the diff 
tools in cygwin?

Thanks,
Barry
_
Try MSN Messenger 6.0 with integrated webcam functionality! 
http://www.msnmessenger-download.com/tracking/reach_webcam

--
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: Diff information

2003-09-10 Thread Christopher Faylor
On Thu, Sep 11, 2003 at 04:50:26AM +, Editor of PoliSource wrote:
>I was looking for instructions on how to use the diff tools that come with 
>cygwin, but all I could find is a short description of diffutils during 
>setup, and a "ldesc" in the file setup.ini, but setup.ini opened in 
>Notepad, which doesn't seem like the correct program for easy reading of 
>that file. Could someone tell me how to properly view the data, including 
>the long descriptions, in setup.ini, or point me to a tutorial on using the 
>diff tools in cygwin?

man diff
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.com

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



Re: Diff information

2003-09-10 Thread Editor of PoliSource
Could someone tell me how to properly view the data, including
>the long descriptions, in setup.ini, or point me to a tutorial on using 
the
>diff tools in cygwin?

man diff
Thanks. I think I used that a long time ago, but I rarely use the command 
line so I forgot. Unfortunately, it doesn't work at my command line for some 
reason, but I found other sources for the manpages by searching Google. I 
also stumbled across information on the help command (diff --help), which 
does work at my command line.

_
Fast, faster, fastest: Upgrade to Cable or DSL today!   
https://broadband.msn.com

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


Re: Problems with accented characters in Cygwin

2003-09-10 Thread Frédéric L. W. Meunier
I suggest you use rxvt since the Cygwin "terminal" appers to be
broken for that. I don't know if it ever worked, but it never
did since I started with 1.3.10. I now use 1.5.3. I reported
it. See

http://sources.redhat.com/ml/cygwin/2003-01/msg00048.html

and follow
http://sources.redhat.com/ml/cygwin/2003-02/msg02230.html

, mainly Igor's replies:

http://sources.redhat.com/ml/cygwin/2003-02/msg02301.html
http://sources.redhat.com/ml/cygwin/2003-02/msg02324.html

On Wed, 10 Sep 2003, Lukasz Kosewski wrote:

> The characters DISPLAY fine, when I am doing ls on a folder
> with accents and umlauts, everything displays fine.  With tab
> completion, I can complete the accented names.  But I cannot
> TYPE them.  No matter what key combinations I try, I cannot
> find any way to TYPE the special characters at the prompt.
> I cannot paste characters from notepad/mozilla into the
> window either, nothing happens when I try.

-- 
How to contact me - http://www.pervalidus.net/contact.html

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