Re: using setup.exe without the mouse?

2003-08-16 Thread Gerrit P. Haase
Hallo Max,

Am Samstag, 16. August 2003 um 01:17 schriebst du:

> Gerrit P. Haase wrote:
>> Hallo,
>> 
>> is it possible?
>> 
>> How do I choose e.g. lynx in the chooser (remember: try it without the
>> mouse pointer)?
>> 
>> Can I use setup from the command line instead?
>> 
>> E.g.
>> $ setup lynx
>> or with additional options like -i for 'install from internet', -d for
>> 'download from internet' and -l for 'local repository' or similar?

> No, it's not (yet) possible. PTC.

Hmm, I have an amaurotic user, he cannot use setup.exe because he
doesn't see the mouse pointer.  Too bad. 

I'm willing to push this feature, is there some documentation besides
the mail archives or source code?

Also, I remember that there was documentation about installation
without setup.exe, but obviously it was removed from the website.
Would it be possible to have a special website with informations about
setting up a proper Cygwin installation without setup.exe?  This could
e.g. be just a hint that this special information is available on
request. 

Is the old website with these infos somewhere available around to have
a starting point?


Gerrit
-- 
=^..^=


--
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: crypt-1.0-2.tar.bz2: Old files ?

2003-08-16 Thread Corinna Vinschen
On Fri, Aug 15, 2003 at 10:18:52PM -0300, Fr?d?ric L. W. Meunier wrote:
> According to http://sources.redhat.com/ml/cygwin-apps/2003-08/msg00151.html
> 
> crypt and irc were updated and repackaged to .bz2, but
> apparently only irc was recompiled. crypt.exe and libcrypt.a
> (and all other files) have May 23 2000 timestamps.

In both cases, the current packages are only repackaged to bz2 with
no recompiling.  And in contrast to irc, crypt will not be recompiled
for 1.5.x, there's no gain in it since it doesn't use any 64 bit
enabled function.

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/



Re: Various shell problems

2003-08-16 Thread Dr.D.J.Picton

> Date: Fri, 15 Aug 2003 14:23:06 -0400
> From: Larry Hall <[EMAIL PROTECTED]>

> To: "Dr.D.J.Picton" <[EMAIL PROTECTED]>
> CC: [EMAIL PROTECTED]
> Subject: Re: Various shell problems
> Content-Transfer-Encoding: 7bit
> x-scan-bham: no
> 
> Dr.D.J.Picton wrote:
> > 
> > 3. /bin/sh sources /etc/profile when called from ftp.exe
> > If SHELL isn't exported or is set to /bin/sh, ftp.exe uses the /bin/sh
> > shell for shell escapes.  Unfortunately the working directory of the shell
> > is then always set to the user's home directory.  Now I know why - for 
> > some reason, /bin/sh thinks it's a login shell and sources the profile. 

Here is my fix to /etc/profile to circumvent the problem.  All the code is
skipped if it detects that the profile has already been run, and argument
zero is set to "-sh":

At the start of the file:

# fix for ftp problem ...
if [ -z "$PROFILE_ALREADY_DONE" -o "$0" != "-sh" ]; then
export PROFILE_ALREADY_DONE=1

At the end of the file:

fi


--
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: using setup.exe without the mouse?

2003-08-16 Thread Max Bowsher
Gerrit P. Haase wrote:
> Hallo Max,
>
> Am Samstag, 16. August 2003 um 01:17 schriebst du:
>
>> Gerrit P. Haase wrote:
>>> Hallo,
>>>
>>> is it possible?
>>>
>>> How do I choose e.g. lynx in the chooser (remember: try it without the
>>> mouse pointer)?
>>>
>>> Can I use setup from the command line instead?
>>>
>>> E.g.
>>> $ setup lynx
>>> or with additional options like -i for 'install from internet', -d for
>>> 'download from internet' and -l for 'local repository' or similar?
>
>> No, it's not (yet) possible. PTC.
>
> Hmm, I have an amaurotic user, he cannot use setup.exe because he
> doesn't see the mouse pointer.  Too bad.

>
> I'm willing to push this feature, is there some documentation besides
> the mail archives or source code?

No, none relevant to this. However, please feel free to ask questions about
the source code on [EMAIL PROTECTED]

> Also, I remember that there was documentation about installation
> without setup.exe, but obviously it was removed from the website.
> Would it be possible to have a special website with informations about
> setting up a proper Cygwin installation without setup.exe?  This could
> e.g. be just a hint that this special information is available on
> request.

There is *no* (practical, sane) way to install Cygwin without setup.exe.

Max.


--
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: using setup.exe without the mouse?

2003-08-16 Thread Gerrit P. Haase
Hallo Max,

Am Samstag, 16. August 2003 um 11:12 schriebst du:

> There is *no* (practical, sane) way to install Cygwin without setup.exe.

Ok. I assume that a base Cygwin Installation can be produced with
setup.exe in its current state, even if you cannot use the chooser
since the base is preselected by default, so if you get it up and
running and have managed to choose a mirror you just need to click
through and wait to get a working base Cygwin installation.

Then you should be able to fetch packages from a mirror via wget or
ftp, all infos needed is the mirror list and a recent setup.ini where
you can pickup the relevant paths and filenames alongside with the
dependencies.  Usually it is sufficient to extract the packages from
root and run/rename files in /etc/postinstall iff there are files.

Hmmm, e.g. ftp (inetutils), wget, openssl, lynx, all those tools are
not included in the base config. An option to make it easier for those
users and to have an intermediate solution:  Create some more default
configurations besides 'base', maybe 'All with X', 'All without X',
'Cygwin Devel', 'Cygwin & Net/Web' and possibly some others so those
users can trigger a configuration where some important net-/webtools
are already included.


Gerrit
-- 
=^..^=


--
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: using setup.exe without the mouse?

2003-08-16 Thread Arno Schuh
Hi,
thanks to Gerrit for this request. I'm the person he refers to.
I had a lot of trouble to install lynx-cygwin via the setup routine, because
I'm blind and can't use a real mouse.
Installing updates and adding new software would be much more easier if I
could scroll through the lists of packages pressing cursor up and down and
mark items I'ld like to install by pressing the spacebar.
However, wiht Gerrit's support lynx-cygwin is now running on my computer,
but I'ld prefer a more keyboard friendly setup routine for further
installations.

Yours sincerely

Arno


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



gcc-3.3.1, with gnat, java, c++, fortran, objc and c

2003-08-16 Thread Gerrit P. Haase
Hallo all,

I have just finished building gcc-3.3.1 based on MinGW patch with
the latest Cygwin test release 1.5.2, the MinGW patch was slightly
extended/fixed, below minimalistic test succeeds for all languages.
The C++ binaries are about 10% smaller as with previous versions.
I uploaded my latest patchfile (diff against vanilla gcc-3.3.1 source)
and also my buildscripts: http://angfaenger.de/cygwin-1.5/gcc/
I'll upload the binary package tomorrow, so there is GNAT for
Cygwin available then, will announce it separatly tomorrow.

It is also possible to use the Cygwin gnat compiler from David
Billinghurst to bootstrap GCC with Ada, this is what I did too, please
see the README at the above website.  There were some problems for me,
I couldn't use David's gcc-3.2 to bootstrap gcc because of a segfault
at some point (235kb C source file couldn't be compiled), so I used my
own gcc-3.3 to bootstrap GCC and David's gnatgcc to bootstrap GNAT,
and I think the default cygwin gcc-3.2-x build should also be able to
bootstrap GCC 3.3.1, though I didn't tried it.

Ultra minimalistic compiler test gcc-3.3.1 (umini.sh):

#! /bin/sh
set -x
# GNAT:
echo 'with Text_Io; use Text_Io;' > hello.adb
echo 'procedure hello is' >> hello.adb
echo 'begin' >> hello.adb
echo '  put ("Hello world!");' >> hello.adb
echo 'end hello;' >> hello.adb
/usr/bin/gnatmake hello
./hello
# GCJ:
echo 'public class Hello_j {' > Hello_j.java
echo 'public static void main(String[] args) {' >> Hello_j.java
echo 'System.out.println("Just another Java hacker,");' >> Hello_j.java
echo '}' >> Hello_j.java
echo '}' >> Hello_j.java
/usr/bin/gcj --main=Hello_j Hello_j.java -o Hello_j
./Hello_j
# G++:
echo '#include' > pointersize.cc
echo 'using namespace std;' >> pointersize.cc
echo '#define VOID_PTR void *' >> pointersize.cc
echo 'int main() {' >> pointersize.cc
echo '  cout << "__CYGWIN__ pointer size is: " << (int)sizeof(VOID_PTR) << "\n";' >> 
pointersize.cc
echo '}' >> pointersize.cc
/usr/bin/g++ -o pointersize pointersize.cc
./pointersize
# G77:
echo '   print *,"Hello world!"' > hello.f
echo '   end' >> hello.f
/usr/bin/g77 -o hello_f hello.f
./hello_f
# OBJC
echo '/*   hello.m' > hello.m
echo ' *   gcc -o hello hello.m -lobjc' >> hello.m
echo ' */' >> hello.m
echo 'main()' >> hello.m
echo '{' >> hello.m
echo 'printf("Hello World,\n");' >> hello.m
echo '}' >> hello.m
/usr/bin/gcc -o hello_o hello.m -lobjc
./hello_o
# C
echo '#include ' > hello.c
echo 'int main() {' >> hello.c
echo '  puts("hello, world");' >> hello.c
echo '  return 0;' >> hello.c
echo '}' >> hello.c
/usr/bin/gcc -o hello_c hello.c
./hello_c



Gerrit
-- 
=^..^=


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



named pipes

2003-08-16 Thread Gerry Reno
  The mkfifo command still reports that the function is not
implemented.  I believe that named pipes are available for windows
through the Microsoft Platform SDK.  Does anyone know if these named
pipes can be made to work under Cygwin?

thx,
Gerry Reno


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



Python gcc compile error: cannot find -lpython2.3

2003-08-16 Thread Jari Aalto+list.cygwin

What should I look for to solve this? XMLdiff is available at
http://www.logilab.org/xmldiff/ and this is my first 
python package install (according to instructons at
http://www.python.org/sigs/distutils-sig/ )

I didn't find 'libpython2.3.a' anywhere in my system. The only files
that come up were:

[EMAIL PROTECTED]:/# ls /bin/libpyt* /lib/python2.3/config/libpytho*  
/bin/libpython2.3.dll  /lib/python2.3/config/libpython2.3.dll.a

Jari

[EMAIL PROTECTED]:/usr/share/site-python/xmldiff-0.6.3# python setup.py build
/usr/lib/python2.3/distutils/dist.py:213: UserWarning: 'licence' distribution option 
is deprecated; use 'license'
  warnings.warn(msg)
running build
running build_py
running build_ext
building 'logilab.xmldiff.maplookup' extension
gcc -shared -Wl,--enable-auto-image-base -static -Wall -Wno-format -Wstrict-prototypes 
-Wmissing-prototypes -DGETTEXT_STATIC 
build/temp.cygwin-1.3.22-i686-2.3/logilab/xmldiff/extensions/maplookup.o -L. 
-lpython2.3 -o build/lib.cygwin-1.3.22-i686-2.3/logilab/xmldiff/maplookup.dll
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: cannot find 
-lpython2.3
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1



-- 
http://tiny-tools.sourceforge.net/
Swatch  @time http://www.ryanthiessen.com/swatch/resources.htm
Convert @time http://www.mir.com.my/iTime/itime.htm


--
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: gcc-3.3.1, with gnat, java, c++, fortran, objc and c

2003-08-16 Thread Gerrit P. Haase
Hallo Gerrit,

Am Samstag, 16. August 2003 um 13:42 schriebst du:

> Hallo all,

> I have just finished building gcc-3.3.1 based on MinGW patch with
> the latest Cygwin test release 1.5.2, the MinGW patch was slightly
> extended/fixed, below minimalistic test succeeds for all languages.
> The C++ binaries are about 10% smaller as with previous versions.
> I uploaded my latest patchfile (diff against vanilla gcc-3.3.1 source)
> and also my buildscripts: http://angfaenger.de/cygwin-1.5/gcc/

Oops, should be: http://anfaenger.de/cygwin-1.5/gcc/

[...]

-- 
=^..^=


--
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: Python gcc compile error: cannot find -lpython2.3

2003-08-16 Thread Gerrit P. Haase
Hallo Jari,

Am Samstag, 16. August 2003 um 19:20 schriebst du:

> I didn't find 'libpython2.3.a' anywhere in my system. The only files
> that come up were:

> [EMAIL PROTECTED]:/# ls /bin/libpyt* /lib/python2.3/config/libpytho*  
> /bin/libpython2.3.dll  /lib/python2.3/config/libpython2.3.dll.a
   This ^^^ is -lpython2.3
Just add the path to the linkline:
-L/usr/lib/python2.3/config -lpython2.3


Gerrit
-- 
=^..^=


--
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: Beeing cranky; Cygwin-XFree86

2003-08-16 Thread Hannu E K Nevalainen \(garbage mail\)
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Andrew DeFaria

> Hannu E K Nevalainen (garbage mail) wrote:
>
> >> You know you can rearrange your Start menu to your liking. I keep
> >> mine very minimalistic.
> >
> > Of course! But having to _REDO_ it every time you have run setup.exe
> > (and in this case; installed a new XFree) is what it is all about.
>
> Hmmm... When I install XFree (using Cygwin's setup.exe) I get no
> additional icons in my Start menu at all!

I do get them...

$ uname -a
CYGWIN_NT-5.0 P450 1.3.22(0.78/3/2) 2003-03-18 09:20 i686 unknown unknown
Cygwin
$ ls -lR Cygwin-XFree86/
Cygwin-XFree86/:
total 1
drwxrwxrwx+   2 Hannu   0 Aug 16 20:57 Editors/
-rwxrwxrwx1 Hannu 607 Aug 16 20:57 RXVT.lnk*
drwxrwxrwx+   2 Hannu   0 Aug 16 20:57 Tools/

Cygwin-XFree86/Editors:
total 1
-rwxrwxrwx1 Hannu 627 Aug 16 20:57 Emacs.lnk*

Cygwin-XFree86/Tools:
total 1
-rwxrwxrwx1 Hannu 625 Aug 16 20:57 Python IDE.lnk*

NOTE: NONE of the above shortcuts work for me

I do not use emacs (slow and ugly monolith IMO + I don't know LISP) nor
Python (never had a look, I use C/C++) and for rxvt I have a custom launch
that I "built" myself.

> At the end of Cygwin's setup
> there are options as to whether or not to add Cygwin (and Cygwin only -
> nothing about XFree86 mind you) to my Start menu and/or my desktop. I
> simply uncheck them.

 So do I, but the last update of XFree gave me the above Start-menu stuff -
independently of unchecking those.

 Re-installed XFree86- to verify; they're still there.

Some investigations...
$ cygcheck -svr >c_svr.txt
$ cat c_svr.txt | grep -i XFree >c_X.txt
$ cat c_X.txt
...
XFree86-bin-icons   4.3.0-2
...
$ cat /etc/postinstall/XFree86-bin-icons.sh.done
#!/bin/sh

# Run the script to create icons for XFree86 programs
/usr/X11R6/bin/XFree86-bin-icons.sh

So, this is the offending script:

$ wc -l /usr/X11R6/bin/XFree86-bin-icons.sh
124 /usr/X11R6/bin/XFree86-bin-icons.sh
$ head -2 /usr/X11R6/bin/XFree86-bin-icons.sh
#! /bin/bash
# Author: Brian Gallew < =email=cleared= >


 IMO this could check for the existance of "Start->Programs->Cygwin" and
install the above shortcuts *UNDER* it - if it exists.

i.e. some simple  if [ -d ".../Cygwin" ] stuff - assuming one can detect
where the Start-menu items reside... ("All users" + dependent of Windows
version I believe)

/Hannu E K Nevalainen, B.Sc. EE Microcomputer systems - 59?14'N, 17?12'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: DNS/Minires problems w/ Exim-4.20 on Cygwin

2003-08-16 Thread Pierre A. Humblet
Hi,

Thanks for the detailed report. I just came back from vacation,
hence the delay. Here are a few comments:

>Minires: Windows domain name "tais.adroot.toshiba.com"
>Minires: server "207.46.138.11"
>Minires: server "207.46.138.21"
>Minires: server "159.119.100.48"

The following two lines indicate that you have a resolv.conf
file that duplicates the info provided by Windows, but without
159.119.100.48. That's OK, but unnecessary.
>Minires: resolv.conf nameserver 207.46.138.11
>Minires: resolv.conf nameserver 207.46.138.21

>Minires: search yahoo.com type 15
>Minires: query yahoo.com type 15
>Minires: Answer from 158a2ecf to query to 158a2ecf. Error 2. Count 0.
>DNS lookup of yahoo.com (MX) gave TRY_AGAIN
>yahoo.com in dns_again_means_nonexist? no (option unset)
>returning DNS_AGAIN

It looks like 207.46.138.21 received the query correctly and replied
with the error code DNS_AGAIN, which is supposed to mean
#define TRY_AGAIN   2 /* Non-Authoritive Host not found, or SERVERFAIL */

When I try the same command here I get

**
dnslookup router called for [EMAIL PROTECTED]
  domain = yahoo.com
Minires: Windows domain name ""
Minires: server "151.203.0.85"
Minires: server "151.203.0.84"
Minires: search yahoo.com type 15
Minires: query yahoo.com type 15
Minires: Answer from 5400cb97 to query to 5400cb97. Error 0. Count 3.
DNS lookup of yahoo.com (MX) succeeded

***
Next I created an /etc/resolv.conf file with 207.46.138.11 (one of
your servers) and it worked too:

Minires: Windows domain name ""
Minires: server "151.203.0.85"
Minires: server "151.203.0.84"
Minires: resolv.conf nameserver 207.46.138.11
Minires: resolv.conf 
Minires: search yahoo.com type 15
Minires: query yahoo.com type 15
Minires: Answer from b8a2ecf to query to b8a2ecf. Error 0. Count 3.
 
However when I try 207.46.138.21, I get the same error as you do.
So it must be a problem with that server. Try removing it from your 
resolv.conf, but add 159.119.100.48

Also what happens when you dig @207.46.138.21 ?

Pierre

 
At 10:53 AM 8/13/2003 -0700, RUBiK wrote:
>Hello
>
>I am writing to you as a last attempt to perhaps help solve the problems I
>am having with exim (4.20-1) on Cygwin (1.3.22-1) on WinXP Pro SP1.
>
>I have been using Cygwin for a long time but just recently tried setting
>up exim and ran into problems.  I've followed the
>/usr/doc/Cygwin/exim-4.20-1.README instructions and installed exim as a
>service with ntsec and all went well.
>
>However, no matter what I have tried (even recompiled the patched source
>myself), I am not able to resolve *any* remote domain via exim, even
>though nslookup and/or dig do work.
>
>I have tried endless Google searches and have read through many mailing
>lists, etc. but I've found nothing specific.
>
>Here is a debug log of one query (all queries for all remote hosts return
>the same "Error 2. Count 0."/TRY_AGAIN status):
>
>$ exim -d+dns+resolver -c -bt [EMAIL PROTECTED] > eximout.txt 2>&1
>$ cat eximout.txt
>CYGWIN = "ntsec tty". Root / mapped to c:\cygwin.
>Starting uid 1003, gid 513, ntsec 1.
>root_uid 1003, exim_uid 18, exim_gid 544, fake setuid 1.
>Exim version 4.20 uid=1003 gid=513 pid=3948 D=fbf95cfd
>Probably GDBM (native mode)
>Support for: OpenSSL
>Authenticators: cram_md5 plaintext spa
>Routers: accept dnslookup ipliteral manualroute queryprogram redirect
>Transports: appendfile/maildir/mailstore/mbx autoreply pipe smtp
>changed uid/gid: forcing real = effective
>  uid=1003 gid=513 pid=3948
>  auxiliary group list: 513 544 545
>configuration file is /etc/exim.conf
>log selector = 020d99d8
>trusted user
>admin user
>user name "U-RP-LAPTOP\Rares" extracted from gecos field
>"U-RP-LAPTOP\Rares,S-1-5-21-1390067357-789336058-839522115-1003"
>originator: uid=1003 gid=513 login=Rares name="U-RP-LAPTOP\Rares"
>sender address = [EMAIL PROTECTED]
>Address testing: uid=1003 gid=513 euid=1003 egid=513
>
>Testing [EMAIL PROTECTED]
>
>Considering [EMAIL PROTECTED]

>routing [EMAIL PROTECTED]
>> dnslookup router <
>local_part=rub1k domain=yahoo.com
>checking domains
>yahoo.com in "@"? no (end of list)
>yahoo.com in "! +local_domains"? yes (end of list)
>calling dnslookup router
>dnslookup router called for [EMAIL PROTECTED]
>  domain = yahoo.com
>Minires: Windows domain name "tais.adroot.toshiba.com"
>Minires: server "207.46.138.11"
>Minires: server "207.46.138.21"
>Minires: server "159.119.100.48"
>Minires: resolv.conf nameserver 207.46.138.11
>Minires: resolv.conf nameserver 207.46.138.21
>Minires: search yahoo.com type 15
>Minires: query yahoo.com type 15
>Minires: Answer from 158a2ecf to query to 158a2ecf. Error 2. Count 0.
>DNS lookup of yahoo.com (MX) gave TRY_AGAIN
>yahoo.com in dns_again_means_nonexist? no (option unset)
>returning DNS_AGAIN
>dnslookup router: defer for [EMAIL PROTECTED]
>  message: host lookup did not comp

Mail Server?

2003-08-16 Thread Bill McCormick
Hello,

I'd like to run a mail server under Cygwin. What program would that be?

Thanks
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.506 / Virus Database: 303 - Release Date: 8/1/2003


--
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: Mail Server?

2003-08-16 Thread Bill McCormick
> Hello,
>
> I'd like to run a mail server under Cygwin. What program would that be?
>

Or, some mail forwarding program would also get me to where I'd be happy.
What I want to do is forward mail to [EMAIL PROTECTED] to [EMAIL PROTECTED]

I'm a newbie in this area and could use a kick start in terms of what to set
up here:

exim?
fetchmail?
procmail?
ssmpt?

Will one one of these get me to were I want to be? Do I need some concert of
them?

Any advice and recommendations are welcome.


Thanks




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.506 / Virus Database: 303 - Release Date: 8/1/2003


--
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: Mail Server?

2003-08-16 Thread Brian Dessent
Bill McCormick wrote:

> Or, some mail forwarding program would also get me to where I'd be happy.
> What I want to do is forward mail to [EMAIL PROTECTED] to [EMAIL PROTECTED]
> 
> I'm a newbie in this area and could use a kick start in terms of what to set
> up here:
> 
> exim?
> fetchmail?
> procmail?
> ssmpt?
> 
> Will one one of these get me to were I want to be? Do I need some concert of
> them?

I'm assuming you meant that you want to POP mail from [EMAIL PROTECTED] and
deliver it to [EMAIL PROTECTED]

Install the fetchmail package and read "man fetchmail".  I think you can
do this "guerilla forwarding" with just fetchmail and nothing else, but
I've not set it up.  It looks like the following configuration
directives would do what you want:

smtphost mail.myisp.net
smtpname [EMAIL PROTECTED]
poll pop.myisp.net proto pop3 user "me" password "secret"

This will effectively pop mail (from pop.myisp.net) and turn around and
re-send it out via mail.myisp.net with the TO rewritten as
"[EMAIL PROTECTED]".  If you want to do this delivery yourself,
install exim and then set smtphost to localhost (which is its default I
think.)

You'll need more options if you want to retrieve securely over ssl
(remember that POP3 sends your password in cleartext) and if your ISP's
outgoing mail server requires authentication.  Use 'esmtpname' and
`esmtppassword' for the latter.

(disclaimer: Haven't tested any of this.)

Brian

--
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: Mail Server?

2003-08-16 Thread Bill McCormick
Brian:
>
> I'm assuming you meant that you want to POP mail from [EMAIL PROTECTED] and
> deliver it to [EMAIL PROTECTED]
>
No the other way. E-mail's sent to [EMAIL PROTECTED] I want relayed to
my ISP's smtp so I'll d/l as normal.


Bill
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.506 / Virus Database: 303 - Release Date: 8/1/2003


--
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: Mail Server?

2003-08-16 Thread Brian Dessent
Bill McCormick wrote:

> No the other way. E-mail's sent to [EMAIL PROTECTED] I want relayed to
> my ISP's smtp so I'll d/l as normal.

OK, just reverse the example I gave.  'smtphost' specifies where you
want the mail delivered, 'smtpname' specifies the [EMAIL PROTECTED] to deliver
to, and the 'poll' line speficies how to get the mail in the first
place.  If you want this to happen automatically you could either run it
periodically with cron, or use its 'daemon' mode and install it as a
service with cygrunsrv.  You'd have to also specify the polling interval
in the config file if you do that.

Brian

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



HLDS and Cygwin

2003-08-16 Thread GDN_Cygwin

There seems to be a problem running HLDS (half-life dedicated server) for 
windows and Cygwin and possible other similar apps.

The setup:

1) Full install of HLDS, lets call it hlds1
2) Second complete install of HLDS in separate directory, call hlds2

I have no problem executing the hlds1 or hlds2 by themselves.  But when I 
try to run both at the same time the 2nd one does not run at all.

If I kill hlds1 and run hlds2 it starts right up.

If I run either hlds1 or hlds2 and try to even execute the other one from 
file explorer I get an error "Unable to load engine, image is corrupt."

Although if I run hlds1 and hlds2 from file explorer they both run fine.

I have seen on the net claims that cygwin has:

"NOTE: There are issues with the cygwin.dll and separating simultaneous 
user space. Use with caution!" 

They suggest using SSH.COM's SSH solution for this issue.

Has anyone else run into this? 

I tried to even run firedaemon from cygwin but cannot do it without admin 
so thats out.  I also tried to run psexec but it does not work under 
cygwin either apprently.  This approach was to try and get cygwin to start 
hlds as services by a non Admin user to get around the problem.

The main thing I am trying to do is have a normal (non Admin) user run 
hlds.exe and have multiple copies of it run on the same machine.  

Any help would be greatly appreciated.

Thanks,
Russell



--
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: Mail Server?

2003-08-16 Thread Bill McCormick
Brian:

> OK, just reverse the example I gave.  'smtphost' specifies where you
> want the mail delivered, 'smtpname' specifies the [EMAIL PROTECTED] to deliver
> to, and the 'poll' line speficies how to get the mail in the first
> place.  If you want this to happen automatically you could either run it
> periodically with cron, or use its 'daemon' mode and install it as a
> service with cygrunsrv.  You'd have to also specify the polling interval
> in the config file if you do that.
>

 fetchmail  is  a mail-retrieval and forwarding utility; it fetches mail
   from  remote  mailservers  and  forwards  it  to  your  local
(client)
   machine's  delivery  system.


I don't have have a pop to get mail from. My DNS is going to send mail for
[EMAIL PROTECTED] to my machine/IP.

I think I need to use exim ... but the man page for exim is friggen post war
novel. The /etc/eximconfig file is fairly well filled with useful
information. I was just curious if there is anyone here using exim on cygwin
to do a relay and if there are any caviats. I didn't find much on the list.

I check exim list for config help.

Thanks
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.506 / Virus Database: 303 - Release Date: 8/1/2003


--
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: Mail Server?

2003-08-16 Thread Brian Dessent
Bill McCormick wrote:

> I don't have have a pop to get mail from. My DNS is going to send mail for
> [EMAIL PROTECTED] to my machine/IP.
> 
> I think I need to use exim ... but the man page for exim is friggen post war
> novel. The /etc/eximconfig file is fairly well filled with useful
> information. I was just curious if there is anyone here using exim on cygwin
> to do a relay and if there are any caviats. I didn't find much on the list.

(sigh) Why didn't you say that in the first place?  Are we supposed to
read your mind?  And BTW "DNS" does not "send mail".  I think what you
meant to say is that you have an MX record that indicates that your
machine is a relay for the 'mydomain.com' domain.

Yes, exim will do that.  You're better off editing the exim.conf file
and reading its comments.  The exim manual is large, because exim can be
used to do a lot of things.  You should also read the exim FAQ on
exim.org, specifically Q0320, which suggests something like the
following in your routers section:

mydomain_forward:
  driver = redirect
  domains = mydomain.com
  data = [EMAIL PROTECTED]

That should forward any message destined for @mydomain.com to
'[EMAIL PROTECTED]'  You'll also have to add mydomain.com to the local
domains list in order for exim to accept the mail.

Brian

--
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: named pipes

2003-08-16 Thread Igor Pechtchanski
On Sat, 16 Aug 2003, Gerry Reno wrote:

>   The mkfifo command still reports that the function is not
> implemented.  I believe that named pipes are available for windows
> through the Microsoft Platform SDK.  Does anyone know if these named
> pipes can be made to work under Cygwin?
>
> thx,
> Gerry Reno

Not nearly enough information for any reasonable response.  Please read
 for guidelines on effective posting.
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/



How can I install an exabyte tape?

2003-08-16 Thread adhurtad

How can I install an exabyte tape? 

I need to use "dd" command !

I have been using the directions of 

http://www.cygwin.com/cygwin-ug-net/using-specialnames.html ( installation of 
tape mount point)

but unfortunately, althought the device trys to read the cartridge, the next 
message is always showed:

dd:  reading  '/dev/st0':   Permission denied

Please let me know how I can do that! 

Thanks 

Angel Hurtado A.


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



Shell Details?

2003-08-16 Thread Rory Filer
Hi Cygwin

I've just installed Cygwin on my machine today
after downloading it from your site today and
the shell is asking me to write to you. Not sure
why, though. It's telling me there is no default
setting for the shell and that I should write to
you and tell you what I would like for defaults. 

Not sure what it's asking. Why can't I just
create a .cshrc file or .login with my own defaults?

Rory Filer

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



Xcdroast

2003-08-16 Thread Camron W. Fox
Alle,

Can xcdroast be compiled and used on cygwin? If so, how do you get around
the root configuration issue?

Best Regards,
Camron

Camron W. Fox
Hilo Office
High Performance Computing Group
Fujitsu America, INC.
E-mail: [EMAIL PROTECTED]
Phone:  (808) 934-4102
Pager:  (808) 934-1290
Cell:   (808) 937-5026



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