x-server font setting

2007-08-07 Thread Ling F. Zhang
I just installed cygwin in order to run fontforge on a Windows machine (while my linux machine is down). But since I am interested in working on font that covers the CJK plane, it is important that I can read text encoded in utf-8 or other non-latin codepage. I know that cygwin doesn't like

Re: install cygwin freezes at x11-fsrv README

2004-11-06 Thread Ling F. Zhang
Cygwin setup seems to freezes at xorg-x11-fenc-6.8.1.0.README anyone worked around this yet? --- Bobby McNulty [EMAIL PROTECTED] wrote: Ling F. Zhang wrote: I realize that I am the third person to raise this question in the mailing list, but the first two are unresolved. Installing

ssh err. in win2k3: setgid invalid argument...

2004-08-31 Thread Ling F. Zhang
just ran ssh-host-config...everything went fine... added -r option for priviledge separation ssh localhost: enters password: Fan Fare! msg appear then error: ssh localhost [EMAIL PROTECTED]'s password: Last login: Tue Aug 31 02:23:55 2004 from 127.0.0.1 Fanfare!!! You are successfully

Re: Re: sshd automatically close connection after successful login

2004-08-22 Thread Ling F. Zhang
Well, I do want privilege separation support. So, I did the following: cygrunsrv --remove sshd cygrunsrv --install sshd --path /usr/sbin/sshd --args -r --user sshd_server and cygrunsrv asks me for password for sshd_server, I just hit enter twice... cygrunsrv --start sshd gives me

sshd automatically close connection after successful login

2004-08-19 Thread Ling F. Zhang
I just installed cygwin. Ran ssh-host-config -y and cygrunsrv --start sshd and when i attemp to log in with ssh localhost I was asked for password, then a Connection to localhost closed ssh -v localhost gives: $ ssh -v localhost OpenSSH_3.9p1, OpenSSL 0.9.7d 17 Mar 2004 debug1: Reading

Re: Re: sshd automatically close connection after successful login

2004-08-19 Thread Ling F. Zhang
Well, I do want privilege separation support. So, I did the following: cygrunsrv --remove sshd cygrunsrv --install sshd --path /usr/sbin/sshd --args -r --user sshd_server and cygrunsrv asks me for password for sshd_server, I just hit enter twice... cygrunsrv --start sshd gives me a logon error

Re: domain and user localname conflict

2004-01-25 Thread Ling F. Zhang
denied /usr/share/texmf/ls-R: Permission denied [EMAIL PROTECTED] ~ $ This is the permission issue that's bugging me... Thank you. --- Igor Pechtchanski [EMAIL PROTECTED] wrote: On Sat, 24 Jan 2004, Ling F. Zhang wrote: I did the following after I install cygwin in my laptop (WINXP PRO

domain and user localname conflict

2004-01-24 Thread Ling F. Zhang
I did the following after I install cygwin in my laptop (WINXP PRO), which has both local account and domain account with the same username (for example, both have user admin). Looks like if I log into Windows locally and then use cygwin, everything is fine. When I log into domain however, I can't

Re: installation freezes at /usr/bin/idle

2004-01-23 Thread Ling F. Zhang
:04 PM 1/22/2004, Ling F. Zhang you wrote: I am doing a full installtion with all src selected, and when it's installing Python-2.3.3-1 /usr/bin/idle The program uses 100% CPU, and doesn't do anything for long time. I am using a p4 1.7G, 512 RDRAM, 120GB HDD (lots of space remaining

Re: installation freezes at /usr/bin/idle

2004-01-23 Thread Ling F. Zhang
:57 AM 1/23/2004, Ling F. Zhang you wrote: I can click Cancel but then it give me an err msg: cannot open /usr/.../setup.log for writing I checked writing permission to the folder and it checks out. I used two different mirror http://mirror.kernel.org http://mirror.rcn.net and same thing

Re: installation freezes at /usr/bin/idle

2004-01-23 Thread Ling F. Zhang
PM 1/23/2004, Ling F. Zhang you wrote: Hi: I will do that as soon as I get to my computer (later this afternoon). I would like to also point out that I tried the following: unselect Python during the package section phase result: set freezes when trying to installed rcs (which

Re: installation freezes at /usr/bin/idle

2004-01-23 Thread Ling F. Zhang
:\cygwin\bin;%PATH% cygcheck -s -r -v If that gives you the same complaint, it's probably a permissions problem. Take a look at who has permission for the executables tweak them as necessary. Larry At 04:31 PM 1/23/2004, Ling F. Zhang you wrote: I cannot do cygchecks -s -r -v because

installation freezes at /usr/bin/idle

2004-01-22 Thread Ling F. Zhang
I am doing a full installtion with all src selected, and when it's installing Python-2.3.3-1 /usr/bin/idle The program uses 100% CPU, and doesn't do anything for long time. I am using a p4 1.7G, 512 RDRAM, 120GB HDD (lots of space remaining), WIN2K3 Standard...anyone has the same problem?

login shell and .bashrc

2003-08-02 Thread Ling F. Zhang
I still don't quite understand the different b/t bash and bash --loginbut I know the latter is why my .bashrc does not run when I run cygwin using this batch file: == @echo off SET DISPLAY=127.0.0.1:0.0 SET CYGWIN_ROOT=\cygwin SET

posix and win32 enviornment

2003-07-02 Thread Ling F. Zhang
I am writting a C program... is there a way for me to know if the program is being executed in win32 or posix cygwin so that I can use the appropriate filesystem when referring files? __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!

Re: cygwin and the rest of the Windows

2003-06-24 Thread Ling F. Zhang
, Ling F. Zhang wrote: Just based on what I have learned so far...I figure out a more geniune way of how this works: in cygwin, I made a shell script quo that goes like: #!/usr/bin/bash # this program takes user input (STDIN) and put a quote around it... # why do I have to do

Re: cygwin and the rest of the Windows

2003-06-23 Thread Ling F. Zhang
Hi: In your case 1, it looks like you ran that command from bash. No, I ran it from WINXP command prompt It's pretty obvious why it didn't work - bash needs POSIX paths. You had unquoted spaces, which bash interpreted as argument separators, and it also interpreted backslashes as escapes.

Re: cygwin and the rest of the Windows

2003-06-23 Thread Ling F. Zhang
associate the .pl file with perl.bat, and you should be able to run it (as long as perl.bat is correct). You might wish to keep the @echo off out of the .bat file while you're debugging it, to know exactly what parameters bash gets. Igor On Sun, 22 Jun 2003, Ling F. Zhang wrote

Re: cygrunsrv won't start apache

2003-06-22 Thread Ling F. Zhang
no, /var/log/CYGWIN_apache is empty --- Igor Pechtchanski [EMAIL PROTECTED] wrote: On Sat, 21 Jun 2003, Ling F. Zhang wrote: I try to use the apache binary on cygwin, to install it as a service I run: cygrunsrv -i cygwin_apache -p /usr/sbin/apache -u root it worked last night...I

Re: cygwin and the rest of the Windows

2003-06-22 Thread Ling F. Zhang
Jun 2003, Ling F. Zhang wrote: okay! the question is this then: say I write a perl script... should the first line be #/usr/bin/perl or #C:\cygwin\usr\bin\perl ? thank you --- Igor Pechtchanski [EMAIL PROTECTED] wrote: On Sat, 21 Jun 2003, Ling F. Zhang wrote: I

Re: cygwin and the rest of the Windows

2003-06-22 Thread Ling F. Zhang
Alternatively, if you want to use the #! line, you could associate .pl files with c:\cygwin\bin\bash -c... what is -c? if I use this option, should it be: #!/usr/bin/perl? or #!c:\cygwin\usr\bin\perl? my guess is the former, since we are already interpreting the file with bash... In the

Re: cygwin and the rest of the Windows

2003-06-22 Thread Ling F. Zhang
Hi again: you might be missing the login environment, so you might wish to create a perl.bat file that does a c:\cygwin\bin\bash --login /usr/bin/perl %1 %2 %3 %4 %5 %6 %7 %8 %9 and use that instead (beware of directory changes). when I run this in cygwin: bash --login perl, I get the

Re: cygwin and the rest of the Windows

2003-06-22 Thread Ling F. Zhang
command prompt: i.e. c:\path with space\printenv.pl WITHOUT using a native windows perl interpretor (like ActivePerl) if this is not possible, at least I should be able to run it as a cgi-script... thanx for all your help so far igor...I am just a little slow on this right now... --Matthew Ling F

Re: cygrunsrv won't start apache

2003-06-22 Thread Ling F. Zhang
that kind of run out the privilege problem because I use the same user SYSTEM:Administrators for both! any more hints? thanx --- Igor Pechtchanski [EMAIL PROTECTED] wrote: On Sat, 21 Jun 2003, Ling F. Zhang wrote: I try to use the apache binary on cygwin, to install it as a service I run

Re: cygrunsrv won't start apache

2003-06-22 Thread Ling F. Zhang
I finally figured out the problem... I ran the service a user1...so it created a file /var/log/httpd.log under user1... I chaged the user (from root to SYSTEM) and the new guy can't open the file... thanx --- Igor Pechtchanski [EMAIL PROTECTED] wrote: On Sat, 21 Jun 2003, Ling F. Zhang wrote

cygwin and the rest of the Windows

2003-06-21 Thread Ling F. Zhang
I successfully ran both the cygwin apache (1.3x) and windows native one (2.x). So I need to chose one to run (as they wouldn't share port 80)...sine I usually do my cgi in perl and shell-script, cygwin is the clear choice...but I do miss such feature as WebDAV in the version 2 (I didn't feel like

Re: cygwin and the rest of the Windows

2003-06-21 Thread Ling F. Zhang
okay! the question is this then: say I write a perl script... should the first line be #/usr/bin/perl or #C:\cygwin\usr\bin\perl ? thank you --- Igor Pechtchanski [EMAIL PROTECTED] wrote: On Sat, 21 Jun 2003, Ling F. Zhang wrote: I successfully ran both the cygwin apache (1.3x

cygrunsrv won't start apache

2003-06-21 Thread Ling F. Zhang
I try to use the apache binary on cygwin, to install it as a service I run: cygrunsrv -i cygwin_apache -p /usr/sbin/apache -u root it worked last night...I woke up today, remove/reinstall the service few times, and now it wouldn't start...given me the message: cygrunsrv: Error starting a

user homepath

2003-03-15 Thread Ling F. Zhang
by default win2k installation, all user have their path at: C:\Documents and Settings\USERNAME\ if I want user to share the same path in cygwin, sould creating a symbolic link in /: ln -s /cygdrive/c/Documents\ and\ Setting/ /home suffies??? another question is really windows 2000 related...I

exceed and xfree

2003-03-14 Thread Ling F. Zhang
well, this is more or less like a windows/dos problem: I do not like the cygwin dos window, so everytime I run cygwin, I go straight to open an xterm with my own color and size... but I do not like the cygwin xserver either because it either have to be in a big window or full screen...well, I

cygwin and ntsec

2003-03-14 Thread Ling F. Zhang
right after installation of cygwin, the cygwin filesystem is mostly under user Administrators (the user I use is Admin, which is just renaming the default Administrator of Win2k) and group None... While I am not sure if None is a group, I am pretty damn sure that Administrators is a group in my

.profile and xterm

2003-03-13 Thread Ling F. Zhang
Just starting to play with cygwin. I edited my .profile to do some nice aliases, setting PATH and bashprompt... but I realize that as soon as I start a terminal using xterm (I am using exceed as my Xserver, but shouldn't matter) all the alias are gone (such as ls=ls --color=auto, which is

Re: install freeze in win2k

2002-03-01 Thread Ling F. Zhang
I figured out the problem already...it was because my anti-virus software was on. --- David Starks-Browning [EMAIL PROTECTED] wrote: On Thursday 28 Feb 02, Ling F. Zhang writes: I am just try to install cygwin in my win2k machine. I selected everything after some serious mouse-clicking

install freeze in win2k

2002-02-28 Thread Ling F. Zhang
I am just try to install cygwin in my win2k machine I selected everything after some serious mouse-clickingand after it downloaded everything, it starts to install and my computer is dead frozen when it try to install gcc-lib*anyone has similar problem and know fix?

opengl and cygwin

2002-02-05 Thread Ling F. Zhang
this seems like an X question, but it concerns openssh as well, so I am going to ask. okay, I need to do some opengl development. I found that opengl library comes with cygwin, that's a plus for me. but I think I might need to install xfree for cygwin in order for it to work (is this true?) say

Re: opengl and cygwin

2002-02-05 Thread Ling F. Zhang
PATh is incorrect...so I tried to look for the file like glut.lib...that came up empty...so can anyone ever played with opengl on cygwin tell me how should I link? what PATH do I need to add? --- Larry Hall (RFK Partners, Inc) [EMAIL PROTECTED] wrote: At 03:03 PM 2/5/2002, Ling F. Zhang wrote

setting up cygwin

2002-01-31 Thread Ling F. Zhang
I installed cygwin long time ago...recently, I downloaded the new setup.exe from cygwin website, and found out that the setup program is a little different. I remember it used to be that only package that needs updated are listed on the package list...now, seems every package is...some say skip,

security?

2002-01-31 Thread Ling F. Zhang
New to cygwin...is there a way to secure my cygwin? (just 4 fun) so that it asks for log on everytime I start it? I am running winxp...how do I do that? how do I do that in win9x? __ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions!