FW: How to display Russian Cyrillic and Chinese in Cygwin Bash Console?

2008-09-16 Thread Siegfried Heintze
Is the third time a charm! I hope so. I forgot to turn off HTML again! I apologize if this query appears again. Since I saw no replies (and not even my own posting) after checking my spam filters, I assume it never got to the list (Maybe I forgot to turn of HML the first time too!) Is it

FW: How to manipulate access control lists (ACL)?

2008-05-05 Thread Siegfried Heintze (Aditi)
I put a query on unix.com and they pointed me to http://linux.about.com/library/cmd/blcmdl5_acl.htm . I don't understand this link: is it describing a bash command? At bash I type info acl and man acl but I cannot find any description of a bash command for adding an ACL to a file. Can I do

RE: FW: How to create an icon to startx with no extra CMD.EXE window

2008-04-09 Thread Siegfried Heintze (Aditi)
I use: E:\cygwin\bin\bash.exe -c -l 'run bash -c -l CYGWIN=server Xwin.exe :0 -query 192.168.11.1 -from 192.168.11.2 -once -dpi 120 ' If you don't have cygserver running you should delete CYGWIN=server, if you don't need larger fonts delete -dpi 120 Very interesting. Could you kindly point

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

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

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

2008-04-07 Thread Siegfried Heintze (Aditi)
When I run startx it creates an xterm for me. But this xterm does not have a scroll bar. I like to create xterms with -sl 3000 -sb so I get lots of history. How can I make startx create an xterm with these options? Thanks, siegfried -- Unsubscribe info:

RE: Problems compiling grep and friends

2007-10-05 Thread Siegfried Heintze
Dave, I'm not sure what to do. I see you attached a diffs file. Is there a utility such as patch that I can use to apply those diffs? What would be the command? Thanks, Siegfried On 04 October 2007 22:13, Siegfried Heintze wrote: Siegfried wrote: OK, I tried that. See below for the results

RE: Problems compiling grep and friends

2007-10-04 Thread Siegfried Heintze
Siegfried wrote: OK, I tried that. See below for the results. Looks like we have the same problem. Thanks, Siegfried Brian wrote: So as a workaround, try make install DESTDIR=/ which would result in ///foo/bar which is the POSIX-sanctioned way of dealing with filesystems that reserve // for

RE: Problems compiling grep and friends

2007-10-03 Thread Siegfried Heintze
On 27 September 2007 14:15, Siegfried Heintze wrote: I'm running xp pro and I am trying to compile grep. I downloaded the source. ./configure seemed to go OK but there were problems with make. It looks like it cannot find the usr directory. Is there a fix for this? How did you configure

FW: Problems compiling grep and friends

2007-09-27 Thread Siegfried Heintze
I’m running xp pro and I am trying to compile grep. I downloaded the source. ./configure seemed to go OK but there were problems with “make”. It looks like it cannot find the usr directory. Is there a fix for this? Thanks, Siegfried make[1]: Leaving directory `/cygdrive/c/Documents and

How to run VNC thru ssh (openssh question)

2006-03-20 Thread Siegfried Heintze
I used to use the following all the time to access my Windows machine remotely: ssh -f -L 5901:localhost:5900 -N -C -o Compression=yes -o CompressionLevel=9 machine name or ip vncviewer YMMV. Obviously, you need to make sure that the port ssh is using is open through any firewall. None of

Is there a cygwin nfs-client?

2006-03-19 Thread Siegfried Heintze
I looked in the cygwin installation program and I can see the nfs-server. Is there an nfs-client? Thanks, Siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

RE: How to run _X_ Session from RH8 via ssh -X?

2006-03-17 Thread Siegfried Heintze
[snip] However, I cannot seem to start an X session from my ssh -X -p 892 [EMAIL PROTECTED] session. I tried running explorer . and that just hung. OK, that was not an X program. Then I tried /usr/X11R6/bin/xclock and it said it could not open the display. Having already done a

RE: How to run _X_ Session from RH8 via ssh -X?

2006-03-17 Thread Siegfried Heintze
[snip] Why does /usr/X11R6/bin/xclock still say Error can't open display:? That looks like an explicit unsetting of DISPLAY, i.e. somewhere, probably your .profile/.bashrc/.bash_profile, has a unset DISPLAY. Starting in Cygwin: $ echo $DISPLAY :0 $ ssh -X [EMAIL PROTECTED] # echo

RE: How to run _X_ Session from RH8 via ssh -X?

2006-03-17 Thread Siegfried Heintze
Thanks Dan and Rene! It works. But now I just realized the obvious: Only X GUIS work and not windows. Is this correct? I assume I can tunnel rdesktop the same way I tunnel vnc? I guess I'll try tunneling both vnc and rdesktop next. Siegfried -- Unsubscribe info:

How to run X Session from RH8 via ssh -X? How to run vnc via ssh?

2006-03-17 Thread Siegfried Heintze
Thanks for all the help so far. I hope this will be a 100% cygwin-mailing-list compliant posting. (1) I read the description of TOFU and I still don't understand it. I don't understand what I am doing wrong. If I want to quote a previous posting, should I not put the quoted text first and then my

RE: OpenSSH for Non Administrators

2006-03-01 Thread Siegfried Heintze
I looked in http://www.openssh.com/faq.html#1.1 as reference by c:/cygwin/usr/share/doc/openssh/README and I'm having trouble finding the document that explains how to set ssh up as a service on a windows server. Can someone please point me to the correct document?

davfs for cygwin rsync?

2006-02-02 Thread Siegfried Heintze
I'm looking at the man page for rsync and I need a little help. I just learned on the Boulder Linux UG mailing list that it is possible to mount a Web DAV file system with davfs and use rsync with it on a linux system. I assume this works with another utility too, like unison and rbackup.

How to read man pages on nfs-server?

2006-01-13 Thread Siegfried Heintze
Hmmm... well I tried a few more mirrors and still cannot find nfs-server 2.3-4 -- I'll wait some more. In the mean time, I did a /usr/bin/find /usr/share | xargs grep -n nfs-server and found the README contains a list of files below. Now how do I, from looking at the README, know how to learn

How to convert from windows DLL to windows lib file?

2006-01-13 Thread Siegfried Heintze
Is there a way to generate a windows LIB file from windows DLL file? I thought I saw it somewhere in some documentation but I cannot remember where. I think it is one of the bin utils. Since someone recently explained that cygwin so files are the same as dll files, can I infer that the same

RE: [ANNOUNCEMENT] Updated: nfs-server-2.3-4

2006-01-12 Thread Siegfried Heintze
Where is a mirror I can download this from? I tried a few but they only had 2.3-3. Thanks, Siegfried -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robb, Sam Sent: Thursday, January 12, 2006 1:50 PM To: cygwin@cygwin.com Subject: [ANNOUNCEMENT] Updated:

Disaster recover with Cygwin?

2006-01-02 Thread Siegfried Heintze
enough ports on the intervening firewalls. Can I use the cygwin ports of rsync or rdiff-backup initial create a remote repository and later restore a bootable windows partition and then boot locally? Thanks, Siegfried On Tue, Dec 27, 2005 at 10:21:38PM -0700, Siegfried Heintze wrote: So let us

libxslt v apache

2006-01-01 Thread Siegfried Heintze
Has anyone used both libxslt and xalan? How might one decide between xalan and libxslt? Thanks, Siegfried -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gerrit P. Haase Sent: Friday, December 09, 2005 7:22 PM To: cygwin@cygwin.com Subject:

cygwin NFS File servers on windows?

2006-01-01 Thread Siegfried Heintze
I was looking for a windows based nfs file server. I googled and found http://opensource.franz.com/nfs/. Does anyone have any experience with this or other opensource nfs file servers? There are others for only $40. Does cygwin include nfs file server? I don't remember ever seeing one. It seems

Extracting Debug (meta data) from executable images?

2005-12-07 Thread Siegfried Heintze
I hope Igor will be pleased that I first posted in a g++ forum about reading executable images. I was referred to STABS, DWARF, DWARFv2 and v3 and http://www.eagercon.com/dwarf/dwarf3std.htm and http://reality.sgi.com/davea/dwarf.html. What is the relationship between cygwin, windows and these

dll v so?

2005-12-07 Thread Siegfried Heintze
I'm confused about dll v. so and cygwin. I've used the documentation to create and load dlls with g++. However, I notice that Apache Httpd uses .so files. Is the choice to produce .dll or .so files purely a matter of who is going to load them? Thanks, Siegfried -- Unsubscribe info:

RE: Extracting Debug (meta data) from executable images?

2005-12-07 Thread Siegfried Heintze
But extracting debug info is way too vague of a term to offer any meaningful help. You'd have to state exactly what you're trying to do. Try man objdump or objdump -g file, or read the binutils/bfd internals manuals. I basically want to implement reflection for C++ by extracting all the

RE: Extracting Debug (meta data) from executable images?

2005-12-07 Thread Siegfried Heintze
How does ELFDump.exe work? I did a chmod 777 hello.* and still ELFDump hello.o And ELFDump hello.exe Still produce the Can't openinput file Hello.exe Thanks, Siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Wanted: Help translating classpath from CMD.EXE to bash

2005-10-31 Thread Siegfried Heintze
Can someone help me translate this to bash? It works with CMD.EXE. java and javac are programs for sun that are not cygwin based so I believe they want windows style file specifications and not cygwin/bash/unix style file specifications. Here is the CMD.EXE script: SET

RE: Wanted: Help translating classpath from CMD.EXE to bash

2005-10-31 Thread Siegfried Heintze
Thanks Igor! As someone mentioned, you can use cygpath -p to convert a POSIX-style path into a Win32-style one. I think I need to go the other way. Given a CLASSPATH variable in windows, how do I convert it to cygwin? Do I use : to separate the elements, or do I use \;. If I use :, what about

RE: Wanted: Help translating classpath from CMD.EXE to bash

2005-10-31 Thread Siegfried Heintze
[mailto:[EMAIL PROTECTED] Sent: Monday, October 31, 2005 9:06 PM To: Siegfried Heintze Cc: cygwin@cygwin.com Subject: RE: Wanted: Help translating classpath from CMD.EXE to bash On Mon, 31 Oct 2005, Siegfried Heintze wrote: Thanks Igor! As someone mentioned, you can use cygpath -p to convert

Where is documentation on keyring?

2005-10-22 Thread Siegfried Heintze
I'm poking around in c:/cygwin/usr/share/doc/gnome-keyring-0.4.3 trying to understand how to use this program called keyring. Can I expect all Cygwin utilities to be already compiled and have a file that contains a URL to the documentation? I could google for it, but I wanted to be assured that

Where is documentation on bash wait?

2005-10-15 Thread Siegfried Heintze
I tried info and man and could not find any information on wait. I want to (using bash) (1) How do I wait for multiple children and wake up when the first one dies? (2) Examine the status code of the dead child and possibly spawn a new one? Where is the documentation on wait? Thanks, Siegfried

System V IPC Message Queues and Shared Memory?

2005-10-11 Thread Siegfried Heintze
I'm curious: does cygwin support the msgget, msgsnd, msgrcv msgctl functions from System V IPC? The sample code I downloaded from the www.wrox.com (for the book Beginning Linux Programming 3rd Edition chapter 14) compiles with no errors bug causes a 5032 Bad System call. Should these functions

RE: Documentation on functions

2005-09-15 Thread Siegfried Heintze
Is there documentation on the documentation? In other words, is the process of submitting documentation documented? Does one use the GNU texi or SGML docbook or some other format? I've been curious about these tools for years but have never used them. Are there any functions documented (and I

Documentation on functions

2005-09-14 Thread Siegfried Heintze
This is the third time I have mailed this to Cygwin@cygwin.com and it has not showed up yet in the list. I am subscribed. Obviously, if you are seeing this, then it succeeded. What a mystery. Anyway... I noticed that when I boot fedora core 4, the function readdir is documented in man. However,

RE: cron issue: The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot be found

2005-06-30 Thread Siegfried Heintze
I'm having similar troubles. I have read the cron.README file. I installed cron some time ago. I believe I used the command described in cron.README. I see there are several cron.exes running on my system when I look at the process list. Should there be? Here is one of the many entries in the

RE: cron issue: The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot be found

2005-06-30 Thread Siegfried Heintze
] [mailto:[EMAIL PROTECTED] On Behalf Of Siegfried Heintze Sent: Thursday, June 30, 2005 6:10 PM To: cygwin@cygwin.com Subject: RE: cron issue: The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot be found I'm having similar troubles. I have read the cron.README file. I installed

RE: How to write minimal program using GD library

2005-06-18 Thread Siegfried Heintze
Thanks Brian, It works! My problem was that I was running the program (via bash) from the emacs compile command. I wonder why the path is not set up correctly when I use emacs to create a subprocess? The path is setup correctly when I click on the Cygwin prompt. I think emacs specifies bash.exe

How to write minimal program using GD library

2005-06-17 Thread Siegfried Heintze
I'm looking at the GD documentation (a C graphics library) and it pointed me to a simple minimal C program. I cut and pasted this. See below. I cannot get it to work, however, with g++ or msvc v7. When I follow the directions with gcc, it compiles and links fine but when I try to run the

Bad mirros

2004-12-16 Thread Siegfried Heintze
I've been trying for weeks to upgrade my Cygwin installation but the setup program, after I have spent 15 or 20 minutes selecting the software I want, comes back and says the download is aborted, would I like to try again? This is very frustrating because then I have to spend another 20 minutes

where is mail command?

2004-11-26 Thread Siegfried Heintze
As I recall, there is a mail command on most implementations of U*X. So I looked thru the documentation in Cygwin and could find no documentation. The mail command is not working either. When I type info mail at the bash prompt I see Unable to find node referenced by mailshar. man mail says No

RE: Selectively zipping files together

2004-10-18 Thread Siegfried Heintze
/bin/find . -type f ! -path \^\.\/bin | less Thanks, Siegfried -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor Pechtchanski Sent: Friday, October 15, 2004 9:40 AM To: Siegfried Heintze Cc: [EMAIL PROTECTED] Subject: Re: Selectively zipping

Selectively zipping files together

2004-10-14 Thread Siegfried Heintze
I did not see this bounce back to me so I am sending it again. I wonder if the problem was with HTML/plain formatting? I'm trying to use sun's jar utility (from Sun's java development kit) along with the Cygwin find

RE: Selectively zipping files together

2004-10-14 Thread Siegfried Heintze
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Faylor Sent: Thursday, October 14, 2004 9:55 PM To: [EMAIL PROTECTED] Subject: Re: Selectively zipping files together I'm trying to use sun's jar utility (from Sun's java development kit) along

RE: How to prepend a directory to the PATH to accommodate CVSNT?

2004-10-06 Thread Siegfried Heintze
: Tuesday, October 05, 2004 5:38 PM To: Siegfried Heintze Cc: [EMAIL PROTECTED] Subject: RE: How to prepend a directory to the PATH to accommodate CVSNT? On 5 Oct, Siegfried Heintze wrote: Anyway, in your case it should be as simple as this: PATH=/cygdrive/c/Program Files/cvsnt/bin:$PATH

RE: How to prepend a directory to the PATH to accommodate CVSNT?

2004-10-05 Thread Siegfried Heintze
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, October 05, 2004 12:45 AM Anyway, in your case it should be as simple as this: PATH=/cygdrive/c/Program Files/cvsnt/bin:$PATH Where do I put this statement? .bashrc?

RE: How to prepend a directory to the PATH to accommodate CVSNT?

2004-10-05 Thread Siegfried Heintze
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Edward L. Fox Sent: Tuesday, October 05, 2004 12:24 AM To: [EMAIL PROTECTED] Subject: Re: How to prepend a directory to the PATH to accommodate CVSNT? Hi, Siegfried: In my opinion, I don't think it a

How to prepend a directory to the PATH to accommodate CVSNT?

2004-10-04 Thread Siegfried Heintze
I notice that Cygwin manipulates the path by prepending /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin: to the windows PATH environment variable. This is a problem for me because I'm using CVSNT and I need my cvs client to be /cygdrive/c/Program Files/cvsnt/bin which it never sees because it finds

Where is the documentation for installing Win2K services for cvs, ftp, rlogin, inetd?

2004-10-03 Thread Siegfried Heintze
I found this (see below) via google. I've been spending hours wading thru the documentation trying to find this information. I've performed full installations of cygwin on two different computers in June and yesterday preformed an update on one. I still don't have this file

How to write telnet server like program for serial port?

2004-10-01 Thread Siegfried Heintze
I need to write a program similar to a telnet server. A telnet server asynchronously reads data from a socket and writes it to a sub-process, and asynchronously reads data from the subprocess and writes to a socket. My program needs to replace the subprocess with a serial port. The telnet server

Regular Expressions from Bash Shell

2004-09-01 Thread Siegfried Heintze
I want to use grep on all the FORTRAN source code files in the current directory whose file names do not contain a _ character. How do I do this? I'm using the extension of .f to designate FORTRAN. Thank you, Siegfried -- Unsubscribe info:

How to use ddd with XWindows?

2004-07-13 Thread Siegfried Heintze
I apologize if I had already posted this question. However, I did not see my own posting and I assume it never made it to the mailing list. I see from the posting below that you are using startx. H... I think that is the command I use on Linux. I tried it on Win2003 server running cygwin and

RE: need -mrtd to create Excel DLL?

2004-07-13 Thread Siegfried Heintze
Lester, It works! Thank you. Assuming these will be archived, maybe this can help someone else. Since I'm wondering if Excel was caching something, I decided to use C# and it works! Thanks, Siegfried Here is the example of calling cygwin C from C#: --begin here -- // Begin

How to update official cygwin documentation for g77 and gcc? (was: RE: need -mrtd to create Excel DLL?)

2004-07-13 Thread Siegfried Heintze
Lester, Yeah, I did the same (with regard to __declspec keywords). Odd, Excell won't read the DLL but C# will! I was just using Excell because it was handy to test with. Good thing I really don't need excel. My real concern is calling g77 from C# (which works). I got C# to call gcc too under

Apache httpd Accepts local connections but not Remote

2004-07-12 Thread Siegfried Heintze
Since you guys are so smart, responsive and generous with your time, I thought I would try this one on you. I have posted this on the Apache HTTP mailing list twice with no response. I have the following in my httpd.conf file. WebDAV seems to be working from my local network (when using IE 5/6)

How to run ddd in XWin?

2004-07-11 Thread Siegfried Heintze
OK, I apparently already have that installed. I typed info XWin and learned about the options. Nothing terribly relevant to ddd here -- did I miss something. OK, I type XWin and ddd test.exe and same error. Any other ideas? Test.exe is compiled with the -g option in g77. I also tried ddd