Re: Unable to install pdftk

2008-02-12 Thread Santhosh Kumar Yedidi
Can I execute windows executable files using cygwin. Like typing notepad.exe

Can I use windows applications as the comands in cygwin

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



RE: Unable to install pdftk

2008-02-12 Thread Dave Korn
On 12 February 2008 09:02, Santhosh Kumar Yedidi wrote:

> Can I execute windows executable files using cygwin. Like typing notepad.exe
> 
> Can I use windows applications as the comands in cygwin

  Yep, works fine.  E.g. as long as you don't use a path (notepad wouldn't
understand it), "notepad file.txt" works fine to edit file.txt in the current
dir.

  Note that you'll have to remember and use d2u on any script files you edit
with notepad or wordpad etc.

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


--
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: Uninstalling Cygwin

2008-02-12 Thread PEDRO MACANAS VALVERDE


-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre
de Larry Hall (Cygwin)
Enviado el: lunes, 11 de febrero de 2008 16:38
Para: cygwin@cygwin.com
Asunto: Re: Uninstalling Cygwin

If you cannot find the answers you need in the existing documentation or
email archives, send the question to this list.  If people here can
help,
they will.

I am going to doing it, specially from a newbie point of view (i.e. how
to install and automatically open Gnome when starting Cygwin).

Regards

Pedro.

--
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: Debugging question

2008-02-12 Thread Eric Lilja

Brian Dessent wrote:

Eric Lilja wrote:


Now I want to put a breakpoint somewhere and print some variables when
that breakpoint is hit. Can I do that in this scenario? If so, how do I
make gdb find emacs sources? Doing
$ break /cygdrive/c/full/path/to/source/file:1337 doesn't work (No
source file named blah blah).


It should work fine.  Can't you just "break file.c:1337"?

Brian



It does indeed work, I just received instructions on another list and 
they work fine. Thanks.



--
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: Success in accessing network shares on windows through sshd

2008-02-12 Thread Larry Hall (Cygwin)

Jani Saksa wrote:
If I understand correctly you can't normally see or access mapped 
network drives on windows when remotely logged through cygwin sshd, but 
I found a way and I have a couple questions:


1st: Why is it not possible when remotely logged with a user account 
that can access the shares through local cygwin shell?


2nd: If I start a screen locally and them log in remotely and attach the 
screen I can access those shares just like I can when running cygwin 
shell locally - it does make sense but why is this possible while it's 
not possible with plain remote login shell?


Have you seen and read through this?




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

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
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: tcsh clear command?

2008-02-12 Thread Larry Hall (Cygwin)

Christopher Stack wrote:

i've noticed in the cygwin implementation of tcsh that the clear
command doesn't exist.  is it in some other format or is there a
module to add this?  i thought it was part of the basic tcsh.




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

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
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: No History from earlier logins

2008-02-12 Thread Greg Chicares
On 2008-02-13 00:18Z, curator wrote:
>
> I got some problem with my cygwin installation. In my .bashrc file, i export
> HISTFILE to a new file. When this is done, i have a history on every login,
> but when i close the shell, all data is lost.

Are you closing it by typing 'exit' in the shell?

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



No History from earlier logins

2008-02-12 Thread curator

Hi,
I got some problem with my cygwin installation. In my .bashrc file, i export
HISTFILE to a new file. When this is done, i have a history on every login,
but when i close the shell, all data is lost. So i went to delete the
command in the bashrc, which relocates the history file. When this was done,
i had no active history left anymore, but when i touched "curser up", some
commands i did not use a long time ago appeard, but so actual ones. I found
out, that the "old command" were left in der bash_history file, which seems
to be the original file. 

What can i do to get my normal history back, also over a logout?

Thanks and sorry for my bad english

Alex
-- 
View this message in context: 
http://www.nabble.com/No-History-from-earlier-logins-tp15446495p15446495.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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



Re: xemacs

2008-02-12 Thread Jim Marshall

Taras D wrote:

Hi everyone,

Can anyone tell me why the following has occurred.

When I first installed cygwin, I pretty much just installed xemacs (no
emacs and a whole bunch of other stuff). Xemacs could be started from
the bash script (black background) with the command 'xemacs &'. It
would start in a new window with a white background.

Now that I have installed a whole bunch of other cygwin things:

1) I find I need to run startxwin.sh, then type 'xemacs &' in the
shell with a white background (no longer runs from the black
background)
2) xemacs now starts with a grey bacground (?!)

How come this has changed? Is it a different version of xemacs?

Thanks all

I would suspect you installed the X Server functionality which in turn 
installed the X Windows version of that program. To start xemacs without 
it starting a new window use the "-nw' command line option (xemacs -nw). 
You should be able to do this from the non-X cygwin terminal (the one 
you refer to as the black windows)



--
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: Issue with GDB under Cygwin and XP

2008-02-12 Thread Jim Marshall

Ray Hurst wrote:

I'm running under Windows XP and Cygwin.

I ran GDB on a simple C program and captured the output (below).
I have a few questions:

Why can I run the program several times with no errors but as soon as I 
set a breakpoint at main it gets a SIGSEGV fault?


Why does the backtrace show only addresses?


C:\Documents and Settings\Ray 
Hurst\workspace\CDT\HelloWorld-ANSIC\Debug>gdb Hel

loWorld-ANSIC.exe
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you 
are
welcome to change it and/or distribute copies of it under certain 
conditions.

Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) list
5Version :
6Copyright   : Your copyright notice
7Description : Hello World in C, Ansi-style
8 ===
=
9*/
10
11  #include 
12  #include 
13
14  int main(void) {
(gdb) list 20
15  puts("!!!Hello World!!!"); /* prints !!!Hello World!!! */
16  return EXIT_SUCCESS;
17  }
(gdb) run
Starting program: /cygdrive/c/Documents and Settings/Ray 
Hurst/workspace/CDT/Hel

loWorld-ANSIC/Debug/HelloWorld-ANSIC.exe
Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/cygwin1.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/secur32.dll
!!!Hello World!!!

Program exited normally.
(gdb) run
Starting program: /cygdrive/c/Documents and Settings/Ray 
Hurst/workspace/CDT/Hel

loWorld-ANSIC/Debug/HelloWorld-ANSIC.exe
Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/cygwin1.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/secur32.dll
!!!Hello World!!!

Program exited normally.
(gdb) b main
Breakpoint 1 at 0x401050: file ../src/HelloWorld-ANSIC.c, line 14.
(gdb) run
Starting program: /cygdrive/c/Documents and Settings/Ray 
Hurst/workspace/CDT/Hel

loWorld-ANSIC/Debug/HelloWorld-ANSIC.exe
Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/cygwin1.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/secur32.dll

Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 4896.0x1314]
0x07f4 in ?? ()
(gdb) bt
#0  0x07f4 in ?? ()
#1  0x in ?? ()
(gdb)

Ray


Works fine on my Windows XP Pro machine using the same GDB and gcc 
version 3.4.4. What gcc version do you have?


The stack trace would indicate that the crash is occurring before it 
gets to your main function, since that code doesn't have debug symbols 
you get addresses.



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



"tar --one-file-system" accesses remote file systems

2008-02-12 Thread Matt Seitz (matseitz)
When I run "tar -czlvf backup ." in my home directory (/home/matseitz) , "tar" 
accesses a subdirectory (/home/matseitz/sjc-filer03a) that mounts a remote CIFS 
share.  This problem and a proposed solution was mentioned in an earlier e'mail 
(http://www.cygwin.com/ml/cygwin/1998-09/msg00839.html).  Is there a known 
solution to this issue?




--
Matt Seitz
Manager, File System Virtualization
Cisco Systems, Inc.
.:|:.:|:. 


cygcheck.out
Description: cygcheck.out
--
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: tcsh clear command?

2008-02-12 Thread Christopher Stack
thanks!

cheers
christopher

-- 
"Space is on the verge of becoming an adventure again, Windows Vista
is flopping, and Mario Kart will be out for the Wii soon. I think the
future will be okay."
- xkcd

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



tcsh clear command?

2008-02-12 Thread Christopher Stack
i've noticed in the cygwin implementation of tcsh that the clear
command doesn't exist.  is it in some other format or is there a
module to add this?  i thought it was part of the basic tcsh.

cheers
christopher

-- 
"Space is on the verge of becoming an adventure again, Windows Vista
is flopping, and Mario Kart will be out for the Wii soon. I think the
future will be okay."
- xkcd

--
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: tcsh clear command?

2008-02-12 Thread Andrew DeFaria

Dave Korn wrote:

On 12 February 2008 22:35, Larry Hall (Cygwin) wrote:


Christopher Stack wrote:

i've noticed in the cygwin implementation of tcsh that the clear
command doesn't exist. is it in some other format or is there a
module to add this? i thought it was part of the basic tcsh.





I always find

alias clear cmd /c cls

works best in a DOS console, it has the benefit of resetting the 
scroll buffer where clear only blanks the currently-visible area.




cheers,
DaveK
And if one is not using a "DOS console" (<- who the hell would use that! 
Yuck)?

--
Andrew DeFaria 
I just got a physical and asked the doctor, "How do I stand?" He said, 
"That's what puzzles me!"



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



Success in accessing network shares on windows through sshd

2008-02-12 Thread Jani Saksa
If I understand correctly you can't normally see or access mapped 
network drives on windows when remotely logged through cygwin sshd, but 
I found a way and I have a couple questions:


1st: Why is it not possible when remotely logged with a user account 
that can access the shares through local cygwin shell?


2nd: If I start a screen locally and them log in remotely and attach the 
screen I can access those shares just like I can when running cygwin 
shell locally - it does make sense but why is this possible while it's 
not possible with plain remote login shell?


--
Peace & Love,
  Jani a.k.a. Sir Robin * +358 44 927 3992
  http://soul.fiveam.org/robsku/ * 
http://www.doomworld.com/sir_robin/castle/


--
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 possible to run under wine?

2008-02-12 Thread Jani Saksa
Hi - One thing I need cygwin is to test if my perl, etc. applications 
run also under cygwin and it would be much easyer (partly because I have 
a very low end machine) to use wine instead of running windows under 
vmware (and I only run linux as the actual OS on this system so double 
booting, etc. is not an option)...


So does anyone have experience on running cygwin under wine and if so, 
could someone point possible problems, flaws, etc. in that way compared 
to running under genuine windows system?


--
Peace & Love,
  Jani a.k.a. Sir Robin * +358 44 927 3992
  http://soul.fiveam.org/robsku/ * 
http://www.doomworld.com/sir_robin/castle/


--
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: Uninstalling Cygwin

2008-02-12 Thread Christopher Faylor
On Tue, Feb 12, 2008 at 02:05:57PM +0100, PEDRO MACANAS VALVERDE wrote:
>-Mensaje original-
>PEDRO MACANAS VALVERDE wrote on Tuesday, February 12, 2008 9:45 AM::
>
>> -Mensaje original-
>
>>DO NOT PUT EMAIL ADDRESSES IN YOUR REPLIES
>
>What are you saying ?.
>
>Use a better email server and program.

Would you like to see just how powerful the mailing list server is?  Just keep
it up.

>Really, you think I am not going to forwarding the Cygwin wiki. You are
>wrong  ;)

I have no idea what the above means.

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: Uninstalling Cygwin

2008-02-12 Thread Larry Hall (Cygwin)

PEDRO MACANAS VALVERDE wrote:

-Mensaje original-
PEDRO MACANAS VALVERDE wrote on Tuesday, February 12, 2008 9:45 AM::


-Mensaje original-



DO NOT PUT EMAIL ADDRESSES IN YOUR REPLIES


What are you saying ?.


We're saying that when you reply, your email client adds unnecessary headers
to your reply that include the email addresses of individuals and the list.
This is not necessary and is considered "bad manners" on the Cygwin lists.


Use a better email server and program.


I think you're missing the point.  If you won't abide by the rules and
requests of these lists, what would motivate others to respond to your
inquiries?


Really, you think I am not going to forwarding the Cygwin wiki. You are
wrong  ;)


I'm not sure what this refers to in Phil's email.

FWIW, you're free to forward anything you want to anybody you wish.  As
far as this list is concerned, we will encourage users to use the resources
available at the Cygwin site since that's what we, as a community, maintain.
If you would like to help out in that regard, that's great!  If not, that's
your choice as well.


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

_

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
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: tcsh clear command?

2008-02-12 Thread Dave Korn
On 12 February 2008 22:35, Larry Hall (Cygwin) wrote:

> Christopher Stack wrote:
>> i've noticed in the cygwin implementation of tcsh that the clear
>> command doesn't exist.  is it in some other format or is there a
>> module to add this?  i thought it was part of the basic tcsh.
> 
> 


  I always find

alias clear cmd /c cls

works best in a DOS console, it has the benefit of resetting the scroll buffer 
where clear only blanks the currently-visible area.



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


--
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: Uninstalling Cygwin

2008-02-12 Thread Robert Pendell

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

PEDRO MACANAS VALVERDE wrote:
| -Mensaje original-
| PEDRO MACANAS VALVERDE wrote on Tuesday, February 12, 2008 9:45 AM::
|
|> -Mensaje original-
|
|> DO NOT PUT EMAIL ADDRESSES IN YOUR REPLIES
|
| What are you saying ?.
|
| Use a better email server and program.
|
| Really, you think I am not going to forwarding the Cygwin wiki. You are
| wrong  ;)
|
| Regards.
|

You were quoting the header in your replies which contained email
addresses in it.  It isn't encouraged because it helps spammers out.
Your case is particularly disturbing because it was the mailing list
email address that was getting quoted and we are already starting to see
the occasional spam message make it through.

- --
Robert Pendell
[EMAIL PROTECTED]

Thawte Web of Trust Notary
CAcert Assurer
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHsb2ls1pR2j1qW+sRAhFUAJ9SmdZmU5hD0WqUme0trNKDWcadhACfYI9D
+fteWCiUfcjSd5xsds4bKxw=
=/YDN
-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/



[Packaging errors] util-linux-2.13.1-1

2008-02-12 Thread Dr. Volker Zell
Hi

util-linux-2.13.1-1 has the following two conflicting binaries:

  last   conflicts with last   from sysvinit-2.84-4
  logger conflicts with logger from inetutils-1.3.2-37

There is now also a last.1 man page from sysvinit-2.84-4 which conflicts
with last.1.gz from util-linux-2.13.1-1

inetutils-1.3.2-37 has no manpage for logger, there is only the manpage
logger.1.gz from util-linux-2.13.1-1

Ciao
  Volker

--
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: Uninstalling Cygwin

2008-02-12 Thread PEDRO MACANAS VALVERDE
-Mensaje original-
PEDRO MACANAS VALVERDE wrote on Tuesday, February 12, 2008 9:45 AM::

> -Mensaje original-

>DO NOT PUT EMAIL ADDRESSES IN YOUR REPLIES

What are you saying ?.

Use a better email server and program.

Really, you think I am not going to forwarding the Cygwin wiki. You are
wrong  ;)

Regards.

--
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: Uninstalling Cygwin

2008-02-12 Thread Phil Betts
PEDRO MACANAS VALVERDE wrote on Tuesday, February 12, 2008 9:45 AM::

> -Mensaje original-
> De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre
  ^^^ ^^^
> de Larry Hall (Cygwin)
> Enviado el: lunes, 11 de febrero de 2008 16:38
> Para: [EMAIL PROTECTED]
^

How many times do you have to be told?

DO NOT PUT EMAIL ADDRESSES IN YOUR REPLIES

I've told you on the X list, and I'm pretty sure CGF and Larry have
told you on this list, and maybe others too.  JUST STOP IT!

There has been quite a bit of spam getting through from these
lists recently and it's almost entirely because of people like you
who just can't be bothered to do the right thing.

Phil

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