ITP: cscope -- Interactively examine a C program source

2012-09-30 Thread Jari Aalto

wget --recursive --no-host-directories --cut-dirs=3 \
http://cante.net/~jaalto/tmp/cygwin/cscope/cscope-15.8.0.1-1-src.tar.bz2 \
http://cante.net/~jaalto/tmp/cygwin/cscope/cscope-15.8.0.1-1.tar.bz2 \
http://cante.net/~jaalto/tmp/cygwin/cscope/setup.hint

# To check packaging

cd cscope
tar -xf *-src.tar.bz2
./*.sh --color --verbose all

Included in Debian:

http://packages.debian.org/cscope

Notes:

This is the original version released 2012-08-04. The mlscope included
in Cygwin is probably from 2006[*]

Jari

[ setup.hint ]

sdesc: Interactively examine a C program source
ldesc: A source browsing tool. Although it is primarily designed to search C
code (including lex and yacc files), it can also be used for C++ code.
Using cscope, you can easily search for where symbols are used and
defined.
category: Devel
requires: libncurses10


[*] http://www.lowtechnet.com/cscope/


ITP tree -- Display graphical directory tree

2012-09-30 Thread Jari Aalto
wget --recursive --no-host-directories --cut-dirs=3 \
http://cante.net/~jaalto/tmp/cygwin/tree/setup.hint \
http://cante.net/~jaalto/tmp/cygwin/tree/tree-1.6.0-1-src.tar.bz2 \
http://cante.net/~jaalto/tmp/cygwin/tree/tree-1.6.0-1.tar.bz2

# To check packaging

cd tree
tar -xf *-src.tar.bz2
./*.sh --color --verbose all

Included in Debian:

http://packages.debian.org/tree

Notes:

See demo http://mama.indstate.edu/users/ice/00Tree.html

Jari

[ setup.hint ]

sdesc: Display graphical directory tree
ldesc: Display an indented directory tree, using the same color assignments
as ls, via the LS_COLORS environment variable.
category: Utils
requires: cygwin




upset: *** setup.ini: warning - package perl_manpages refers to non-existent external-source: perl

2012-09-30 Thread Christopher Faylor
upset is complaining, for good reason, since there is no -src package
which corresponds to perl_manpages-5.14.2-4.tar.bz2 .  I'm not sure exactly
how to fix this.  To stop upset from spamming my inbox, I've:

mv perl_manpages-5.14.2-{4,3}.tar.bz2

but that is obviously not the right solution.


Re: gnome and hicolor exit code 127 for /usr/bin .vs. /bin

2012-09-30 Thread Brian Wilson

  I have been doing setup updates for a few weeks with the error as shown 
  in 
the following paragraph.
 
  Package: Unknown package
gnome-icon-theme.sh exit code 127
hicolor-icon-theme.sh exit code 127
 
  snip 
 the scripts are not incorrect. They works for almost everyone,
 but there is a unknown glitch on you machine,
 eventually it is only a false return error that fools setup.exe.

Before I do the alternate installation suggested, is there anything I may do to 
help debug the unknown glitch.  It is very consistent on my Windows XP Pro 
(SP3) system (3.33 GHz, 4 GB memory).  If there is some log file, or other 
diagnostic I could run while executing setup?

--
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: Problem reading physical drive data with Windows 8 and cygwin, data is truncated by 288 sectors

2012-09-30 Thread Achim Gratz
GrahamC writes:
 dd bs=512 if=/dev/sdg of=/dev/null
^^^

This is the raw device.

 dd bs=512 if=/dev/sdh1 of=/dev/null


This is the first partition (or fs if unpartitioned) on that device.  It
obviously cannot be larger than the device unless there's some error,
but it can certainly be smaller.

 Those 8036139008 bytes do exactly match the first 8036139008 of
 the 8036286464 read on the Linux system so it is definitely the
 same device.

It is quite common that a few sectors at the end of the device (or
between partitions) aren't used to keep certain constraints on the
layout of the device or the file system.



Regards,
Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds


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



bash very slow in cygwin 1.7.16-1 Win7/64 bit

2012-09-30 Thread Adam Rosi-Kessel
Cygwin used to run very quickly for me; now it doesn't. Not sure when it 
stopped -- last few weeks.


# time for i in {1..5} ; do bash -c echo Hello ; done
Hello
Hello
Hello
Hello
Hello

real0m51.451s
user0m0.230s
sys 0m0.979s

# time ls | wc -l
21

real0m10.231s
user0m0.030s
sys 0m0.264s

The system should be fast enough:

- Windows 7 / 64-bit fully patched
- Quad core CPU
- 8 GB RAM
- nothing else running
- Everything on solid state disk

This problem seems to have many different causes. Here is what I've 
tried so far with no success at all:


- Uninstall bash_completion
- Move .bashrc / .bash_profile out of the way
- Running in xterm
- setting PS1 to '$'
- unmounting all network drives
- unsetting the path
- adding '127.0.0.1 localhost cygdrive wpad' to 
c:\windows\system32\drivers\etc\hosts

- running as administrator

Any suggestions for further things to try?

# strace -tt ls

2   2 [main] ls (24012) 
**
  138 140 [main] ls (24012) Program name: C:\cygwin\bin\ls.exe 
(windows pid 24012)

   65 205 [main] ls (24012) OS version:   Windows NT-6.1
   45 250 [main] ls (24012) 
**
 12811531 [main] ls (24012) sigprocmask: 0 = sigprocmask (0, 
0x6123D428, 0x610FB180)
 13182849 [main] ls 24012 open_shared: name shared.5, n 5, shared 
0x60FF (wanted 0x60FF), h 0x7C, *m 6
   892938 [main] ls 24012 heap_init: heap base 0x8000, heap top 
0x8000, heap size 0x1800 (402653184)
   653003 [main] ls 24012 open_shared: name 
S-1-5-21-96414999-1499730031-444732941-29377.1, n 1, shared 0x60FE 
(wanted 0x60FE), h 0x74, *m 6
   893092 [main] ls 24012 user_info::create: opening user shared 
for 'S-1-5-21-96414999-1499730031-444732941-29377' at 0x60FE
   343126 [main] ls 24012 user_info::create: user shared version 
6467403B
   633189 [main] ls 24012 fhandler_pipe::create: name 
\\.\pipe\cygwin-c5e39b7a9d22bafb-24012-sigwait, size 164, mode 
PIPE_TYPE_MESSAGE

   693258 [main] ls 24012 fhandler_pipe::create: pipe read handle 0x98
   303288 [main] ls 24012 fhandler_pipe::create: CreateFile: name 
\\.\pipe\cygwin-c5e39b7a9d22bafb-24012-sigwait

   503338 [main] ls 24012 fhandler_pipe::create: pipe write handle 0x9C
   383376 [main] ls 24012 dll_crt0_0: finished dll_crt0_0 
initialization
  4373813 [sig] ls 24012 wait_sig: entering ReadFile loop, 
my_readsig 0x98, my_sendsig 0x9C
  2934106 [main] ls 24012 mount_info::conv_to_posix_path: 
conv_to_posix_path (C:\cygwin\tmp, no-keep-rel, no-add-slash)
   634169 [main] ls 24012 normalize_win32_path: C:\cygwin\tmp = 
normalize_win32_path (C:\cygwin\tmp)
   394208 [main] ls 24012 mount_info::conv_to_posix_path: /tmp = 
conv_to_posix_path (C:\cygwin\tmp)
   624270 [main] ls 24012 sigprocmask: 0 = sigprocmask (0, 
0x800180A8, 0x610FB180)

  1724442 [main] ls 24012 _cygwin_istext_for_stdio: fd 0: not open
   364478 [main] ls 24012 _cygwin_istext_for_stdio: fd 1: not open
   364514 [main] ls 24012 _cygwin_istext_for_stdio: fd 2: not open
  1234637 [main] ls (24012) open_shared: name cygpid.24012, n 
24012, shared 0x60FD (wanted 0x60FD), h 0xC4, *m 2

   434680 [main] ls 24012 pinfo::thisproc: myself dwProcessId 24012
   334713 [main] ls 24012 time: 1349037741 = time(0)
  8845597 [main] ls 24012 environ_init: GetEnvironmentStrings 
returned 0x4F2958

   695666 [main] ls 24012 environ_init: 0x80028290: !::=::\
   625728 [main] ls 24012 environ_init: 0x800282A0: !C:=C:\1\config
   655793 [main] ls 24012 environ_init: 0x800282B8: 
COMMONPROGRAMFILES=C:\Program Files (x86)\Common Files
   625855 [main] ls 24012 environ_init: 0x800282F8: 
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files

   645919 [main] ls 24012 parse_options: glob (called func)
   585977 [main] ls 24012 parse_options: returning
   316008 [main] ls 24012 environ_init: 0x80028340: CYGWIN=noglob
   636071 [main] ls 24012 getwinenv: can't set native for PATH= 
since no environ yet
   726143 [main] ls 24012 mount_info::conv_to_posix_path: 
conv_to_posix_path (C:\cygwin\bin, keep-rel, no-add-slash)
   356178 [main] ls 24012 normalize_win32_path: C:\cygwin\bin = 
normalize_win32_path (C:\cygwin\bin)
   356213 [main] ls 24012 mount_info::conv_to_posix_path: /usr/bin 
= conv_to_posix_path (C:\cygwin\bin)

   866299 [main] ls 24012 win_env::add_cache: posix /usr/bin
   306329 [main] ls 24012 win_env::add_cache: native PATH=C:\cygwin\bin
   346363 [main] ls 24012 posify_maybe: env var converted to 
PATH=/usr/bin

   806443 [main] ls 24012 environ_init: 0x800383B0: PATH=/usr/bin
   646507 [main] ls 24012 environ_init: 0x800383C8: 
PROGRAMFILES=C:\Program Files (x86)

   586565 [main] ls 24012 environ_init: 0x80028368: PS1=#
   626627 [main] ls 24012 environ_init: 0x800383F8: 

Re: bash very slow in cygwin 1.7.16-1 Win7/64 bit

2012-09-30 Thread marco atzeri

On 9/30/2012 10:43 PM, Adam Rosi-Kessel wrote:

Cygwin used to run very quickly for me; now it doesn't. Not sure when it
stopped -- last few weeks.

# time for i in {1..5} ; do bash -c echo Hello ; done
Hello
Hello
Hello
Hello
Hello

real0m51.451s
user0m0.230s
sys 0m0.979s



much less powerful laptop with W7/64

real0m0.327s
user0m0.075s
sys 0m0.230s



The system should be fast enough:

- Windows 7 / 64-bit fully patched
- Quad core CPU
- 8 GB RAM
- nothing else running
- Everything on solid state disk


Any suggestions for further things to try?



BLODA ?
Try removing the antivirus and see if the things improve,
if yes change antivirus

Regards
Marco

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



Re: Suppressing annoying warnings

2012-09-30 Thread Christopher Faylor
On Sat, Sep 29, 2012 at 11:53:06AM -0400, Ken Brown wrote:
On 9/29/2012 11:33 AM, Daniel Corbe wrote:
 If this were an environment that I had customized on my own I might
 agree with you; however, this is a standard toolkit that I'm working
 with and its functionally portable to every platform I've tried to use
 so far except for cygwin.

And the reason is that this standard toolkit uses an obsolete setting 
of the CYGWIN environment variable.  It needs to be updated.

Especially since it had absolutely no business setting the variable to
begin with.

cgf

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