Re: Stop turning CPAN modules into Cygwin packages

2007-12-12 Thread Svend Sorensen
On Dec 12, 2007 7:46 AM, Igor Peshansky wrote:
> BTW, this problem must have been encountered (and, hopefully, solved) by
> other distros.  How does the Debian git package handle this?

Debian packages many CPAN modules. (My Etch system shows 1106
lib*-perl packages available.)

The Debian git package depends on liberror-perl.

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



OpenLDAP Upgrade Request (OpenLDAP 2.3.38)

2007-10-12 Thread Svend Sorensen
Could the Cygwin OpenLDAP be updated to the latest stable release (2.3.38)?

Thanks,
Svend

--
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: [ANNOUNCEMENT] Updated: openldap-2.3.36-1/libopenldap2_3_0-2.3.36-1/openldap-devel-2.3.36-1

2007-07-13 Thread Svend Sorensen

On 7/13/07, Dr. Volker Zell wrote:


A new version of 'openldap/libopenldap2_3_0/openldap-devel' has been uploaded 
to a server near you.


Thank you very much!

--
Svend

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



OpenLDAP Upgrade Request (OpenLDAP 2.3.36)

2007-06-29 Thread Svend Sorensen

I wanted to check again if OpenLDAP could be updated to the latest
release (OpenLDAP 2.3.36)?  It would also be good if it could be
linked against Berkeley DB 4.1.  (According to the OpenLDAP FAQ,
"Berkeley DB 4.3 is unstable and should not be used." --
http://www.openldap.org/faq/data/cache/44.html)

Thanks,
Svend

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



OpenLDAP Upgrade Request and Question about BDB Version

2007-04-18 Thread Svend Sorensen

Could OpenLDAP be upgraded to the latest 2.3 series release (2.3.35)?

Also, according to the OpenLDAP FAQ,

"Berkeley DB 4.2 (latest revision with patches) should be used with
OpenLDAP 2.1 (and later). Berkeley DB 4.3 is unstable and should not
be used. Versions 4.4, 4.5, and 4.6 are known to work with OpenLDAP
2.3 and newer."

http://www.openldap.org/faq/data/cache/44.html

Is it possible to link OpenLDAP against bdb 4.2?

I ask because I have encountered situations where the slapd database
is in a locked state, and db4.3_recover locks when run against it.
After removing the region files (rm __db.*), db4.3_recover runs
successfully.

Thanks,
Svend Sorensen

--
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: Windows' dir /s /b equivalent

2007-02-15 Thread Svend Sorensen

On 2/15/07, Ignazio Di Napoli wrote:


I'm newbie with Cygwin. Looking through ls option, I didn't find
anything to list then names of all files in the directory and all
subdirectories, like dir /b /s does. Since it can be very useful in bash
scripts, there must be some way. Right now I've done a recursive
function which scans the directory and then launches itself for
subdirectories, but it could be much simpler if there was the "dir /b
/s" command, so I can't think anybody implemented it...
Can you help me please?


ls has a recursive flag for ls (-R), but the find command may be more
appropriate for scripting.

Svend

--
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: [ANNOUNCEMENT] Updated: openldap-2.3.30-1/libopenldap2_3_0-2.3.30-1/openldap-devel-2.3.30-1

2006-11-27 Thread Svend Sorensen

On 11/26/06, Dr. Volker Zell wrote:


A new version of 'openldap/libopenldap2_3_0/openldap-devel' has been uploaded 
to a server
near you.



Thanks for the update.  I appreciate it!

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



Request to update OpenLDAP package

2006-11-08 Thread Svend Sorensen

Could the Cygwin OpenLDAP package be updated to the latest 2.2 series
release (2.2.30)?

Thanks,
Svend

--
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: SanDisk U3

2006-10-25 Thread Svend Sorensen

On 10/24/06, Newton Robinson  wrote:

I see your point.  Has anyone created a distribution for a Flash Drive?  Has
anyone created a start script that will remount for any Windows system?  I
have seen a couple older posts talking about compressed executables (upx I
think), but no follow-ups.


I use the following bat files to set up the required Cygwin mounts.
The bat files must exist in a directory which contains a Cygwin
installation under cygwin.  For example, the set up could be:

Flash drive as F:
F:\install.bat - Set up user Cygwin mounts, backing up any existing mounts
F:\uninstall.bat - Remove Cygwin mounts and restore previous mounts
F:\run.bat - Run bash
F:\cygwin - Cygwin installation

The bat files do not assume any specific drive letter.

I have the install script set up to mount the directory containing the
scripts as /home/user, then run.bat sets HOME to /home/user.  The
user's Windows TEMP folder is mounted as /tmp, to reduce writes the
flash drive.

I had to rename the .bat files to .txt to get Gmail to accept them as
attachments.


> Svend Sorensen wrote:
> You can also install Cygwin to a flash
> drive.  Making it portable takes a few extra steps (basically you set
> up a bat file which adds the Cygwin mounts to the new computer).
@echo off
rem Cygwin installation script
rem
rem This script sets up the mount table for a Cygwin installation under
rem .\cygwin.  Existing mounts are backed up to %TEMP%\cygwin-mounts.  If
rem this file exists, it is not overwritten.  To force this script to run,
rem remove any existing cygwin-mounts file.
rem
rem All mounts are user mounts, which override system mounts.
rem
rem To undo the installation, run uninstall.bat.  Uninstalling should return
rem all Cygwin mounts to their previous settings.  However, this script does
rem not back up the previous setting for the cygdrive path.

set WD=%~dp0

set CYGWIN_ROOT=%WD%\cygwin
set CYGWIN_BIN=%CYGWIN_ROOT%\bin

rem If cygwin-mounts exists, installation has already been run
if not exist %TEMP%\cygwin-mounts (
rem Back up Cygwin mounts to file
%CYGWIN_BIN%\mount -m > %TEMP%\cygwin-mounts

rem Remove all user mounts
%CYGWIN_BIN%\umount -A

rem Mount standard Cygwin directories (binary, force, user)
%CYGWIN_BIN%\mount -b -f -u %CYGWIN_ROOT% /
%CYGWIN_BIN%\mount -b -f -u %CYGWIN_ROOT%\bin /usr/bin
%CYGWIN_BIN%\mount -b -f -u %CYGWIN_ROOT%\lib /usr/lib

rem Use user temp directory as /tmp
%CYGWIN_BIN%\mount -b -f -u %TEMP% /tmp

rem Use %WD% as home/user
%CYGWIN_BIN%\mount -b -f -u %WD% /home/user

rem Change the cygdrive path
%CYGWIN_BIN%\mount -b -u -c "/cygdrive"
)
@echo off
rem Cygwin uninstallation script
rem
rem This script removes current mounts and restores backed up mounts.  Backed
rem up mounts are restored from the file %TEMP%\cygwin-mounts (if it exists).
rem There must be a working Cygwin installation under %cd%\cygwin.
rem
rem This script is designed to undo the installation done by install.bat.

set WD=%~dp0

set CYGWIN_ROOT=%WD%\cygwin
set CYGWIN_BIN=%CYGWIN_ROOT%\bin

rem Restore backed up mounts (if a mount backup file exist)
if exist %TEMP%\cygwin-mounts (
rem Remove all user mounts
%CYGWIN_BIN%\umount -U

rem Remove the user cygdrive path
rem The previous setting for the the cygdrive path was not saved, so 
leave the
rem new setting intact.
rem %CYGWIN_BIN%\umount -u -c

rem Get POSIX path for mount command to use in backup script
for /F %%A in ('%CYGWIN_BIN%\cygpath "%CYGWIN_BIN%\mount"') do set 
MOUNT=%%A

rem Run backup script, with "mount" replaced with its full path
%CYGWIN_BIN%\sed "s:mount:%MOUNT%:" %TEMP%\cygwin-mounts | 
%CYGWIN_BIN%\sh

rem Remove backup script file
del %TEMP%\cygwin-mounts
)
@echo off
rem Start a bash login shell

set WD=%~dp0

set CYGWIN_ROOT=%WD%\cygwin
set CYGWIN_BIN=%CYGWIN_ROOT%\bin

rem Start a bash shell
rem SHELL defaults to /bin/sh
%CYGWIN_BIN%\env HOME=/home/user SHELL=bin/bash /bin/bash -l -i
--
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: Is "inetd" usable with cygwin?

2006-10-24 Thread Svend Sorensen

On 10/24/06, Dave Down wrote:


So, is "inetd" not usable with cygwin or is there somewhere that I can read
about how to set it up?  Does it conflict with windows network services?  I
can start the windows telnet server and log in from another computer that
way and the Xwindows features of cygwin are working fine, so I'd expect the
others like "ftpd" should be usable too.


See /usr/share/doc/Cygwin/inetutils-1.3.2.README for instuctions on
installing the inetd service.

--
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: SanDisk U3

2006-10-24 Thread Svend Sorensen

On 10/24/06, Newton Robinson wrote:


I have looked at the apps that are available and most are not something I am
interested in, however there were a few utilities such as PuTTY that did
interest me.  I was wondering if anyone was looking into a minimal CYGWIN
installation for U3.  I think it would be great to have BASH, text
processing, and other critical tools on the flash drive.



I don't see the benefit of U3.  You can put the standalone PuTTY
binaries on ANY flash drive.  You can also install Cygwin to a flash
drive.  Making it portable takes a few extra steps (basically you set
up a bat file which adds the Cygwin mounts to the new computer).

--
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: Cygwin ans screen

2006-07-20 Thread Svend Sorensen

On 7/19/06, Duane Krings  wrote:

Andrew Schulman wrote:
 > and it will mostly work.  You get a multiplexed screen.  But when you
 > detach a session most of the time you can't reattach to it, even
 > though the processes live on so you have to kill them by hand.  There
 > were some other minor problems that I forget right now.

The behavior I see is:
1) start screen in xterm #1 then detach
2) try to reattach in xterm #1 fails
3) reattach with xterm #2 works
4) try to reattach in xterm #1 still fails
or in general, the first terminal that tries to reattach to a running
screen session is forever locked out, but all subsequent terminals
will succeed.


Give Mark Edgar's patch[*] a try.  With it applied, screen behaves
better under Cygwin for me.  Reattaching from the same terminal and
multi-display mode both work.  There are still some problems, however.
Detaches sometimes get hung.  Opening a new terminal and running
'screen -list' will cause the hung detach to complete most of the
time.

[*] Mark Edgar's patch
http://gecko.gc.maricopa.edu/~medgar/screen.html

--
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: compiling screen 4.0.2

2006-05-22 Thread Svend Sorensen

On 5/22/06, Tyler Spivey wrote:

Hello. I took the suggestion of ripping out the fifo support in
configure. I did that, and compiled screen. I can create, and use, a
screen just fine, but when I detach and try to re-attach the screen it
fails. Is there anything I can do about this?


With the patch at ,
Screen seems to behave under Cygwin.  Detaching and reattaching works
as does multi-display mode.  I have only tested it under RXVT (no-X),
but the patch maintainer's comments make me believe it won't work
correctly under the Windows shell.

Apply the patch and then regenerate 'configure' to fix the fifo lockup.

--
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: 1.5.19: pdksh 5.2.14-3 tab-complete and shell metacharacters

2006-01-30 Thread Svend Sorensen
On 1/30/06, Igor Peshansky <[EMAIL PROTECTED]> wrote:
> Ugh, top-posting...  Reformatted.
>
> On Mon, 30 Jan 2006, Svend Sorensen wrote:
>
> > On 1/30/06, Igor Peshansky <[EMAIL PROTECTED]> wrote:
>
> <http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  Thanks.
>
> > > On Thu, 26 Jan 2006, Svend Sorensen wrote:
> > >
> > > > When I use pdksh to expand the name of a file with spaces or other
> > > > shell metachars in it, the filename is expanded without escaping the
> > > > metacharacters.
> > >
> > > Thanks for the report.  I've been able to reproduce this.  There's an
> > > upstream patch that fixes the issue, and I'm currently working on
> > > integrating that and other patches into the build to produce a new
> > > release (but no ETA yet).
> > >
> > > > The pdksh version strings are identical.
> > >
> > > This is unfortunate.  What is the patchlevel shown for the pdksh
> > > package on NetBSD?
> > >
> > > FWIW, I will include the full list of patches in the README for the
> > > new release.
> >
> > The NetBSD system I tested has pdksh-5.2.14nb1 installed.  There are
> > two patches in pkgsrc, one which removes a Makefile check for pdksh in
> > the /etc/shells file, and one which removes a declaration of errorno.
> > Other than that, it uses the vanilla pdksh-5.2.14.tar.gz sources.
>
> Hmm, this is extremely surprising, as 5.2.14 doesn't contain any code to
> quote shell metacharacters on tab completion.  Are you sure those are
> vanilla sources?  I know OpenBSD uses its own CVS repository for PDKSH --
> does NetBSD do this too?  Can you compare the tarball with
> <ftp://ftp.cs.mun.ca/pub/pdksh/pdksh-5.2.14.tar.gz>?

It turns out I was running NetBSD's base ksh, which must be a patched pdksh.

I tested the version of pdksh in pkgsrc, and it has no metacharacter
expansion.  The pkgsrc version of pdksh uses that source tarball you
mentioned.

> > I have attached the patches from pkgsrc.
>
> These patches don't seem to do anything interesting.
>
> The next release of PDKSH on Cygwin will be built with a metacharacter
> quoting patch (from Debian).  I'd still like to investigate this to see
> why it works for you on NetBSD without that patch...

NetBSD must patch their stock pdksh, which would make this a feature
request, not a bug report.

Should NetBSD modify their base KSH_VERSION reporting to show it is patched?

Thanks for your help, Igor.

--
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: 1.5.19: pdksh 5.2.14-3 tab-complete and shell metacharacters

2006-01-30 Thread Svend Sorensen
The NetBSD system I tested has pdksh-5.2.14nb1 installed.  There are
two patches in pkgsrc, one which removes a Makefile check for pdksh in
the /etc/shells file, and one which removes a declaration of errorno. 
Other than that, it uses the vanilla pdksh-5.2.14.tar.gz sources.

I have attached the patches from pkgsrc.

On 1/30/06, Igor Peshansky <[EMAIL PROTECTED]> wrote:
> On Thu, 26 Jan 2006, Svend Sorensen wrote:
>
> > When I use pdksh to expand the name of a file with spaces or other
> > shell metachars in it, the filename is expanded without escaping the
> > metacharacters.
>
> Thanks for the report.  I've been able to reproduce this.  There's an
> upstream patch that fixes the issue, and I'm currently working on
> integrating that and other patches into the build to produce a new release
> (but no ETA yet).
>
> > The pdksh version strings are identical.
>
> This is unfortunate.  What is the patchlevel shown for the pdksh package
> on NetBSD?
>
> FWIW, I will include the full list of patches in the README for the new
> release.
>
> Igor Peshansky, volunteer PDKSH maintainer for Cygwin
> --
> http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
> ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
>  |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
> '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
> "But no -- you are no fool; you call yourself a fool, there's proof enough in
> that!" -- Rostand, "Cyrano de Bergerac"
>


patch-aa
Description: Binary data


patch-ab
Description: Binary data
--
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/

1.5.19: pdksh 5.2.14-3 tab-complete and shell metacharacters

2006-01-26 Thread Svend Sorensen
When I use pdksh to expand the name of a file with spaces or other
shell metachars in it, the filename is expanded without escaping the
metacharacters.

On cygwin:

$ echo $KSH_VERSION
@(#)PD KSH v5.2.14 99/07/13.2
$ touch 'now & later'
$ ls now # hit [Tab]
$ ls now & later

On NetBSD:

$ echo $KSH_VERSION
@(#)PD KSH v5.2.14 99/07/13.2
$ touch 'now & later'
$ ls now # hit [Tab]
$ ls now\ \&\ later

The pdksh version strings are identical.


cygcheck.out
Description: Binary data
--
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: cd to directory in paste buffer : shell function

2006-01-13 Thread Svend Sorensen
On 1/13/06, zzapper <[EMAIL PROTECTED]> wrote:
> I often want to cd to a (DOS) path that I've copied from some Windows App.
>
> The following function (put in one of your startup files .bashrc .profile 
> etc)  saves a few clicks
> and is forward or backslash proof
>
> function cdp()
> {
> # cdp(aste)
> # description : Cd to path in paste buffer: convert from DOS if required
> # set -x
> getclip
> echo ''
> getclip|sed 's#\\#\/#g'|putclip
> cd $(getclip)
> }

The cygpath program will do the slash conversion for you:

cdclipboard()
{
unixpath=`cygpath -f /dev/clipboard`;

if [ -d "$unixpath" ]; then
cd "$unixpath"
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: encoding scripts (so that user can't see passwords easily)?

2005-12-06 Thread Svend Sorensen
On 12/4/05, nidhog <[EMAIL PROTECTED]> wrote:
> On 12/4/05, Christopher Faylor <[EMAIL PROTECTED]> wrote:
> > On Sun, Dec 04, 2005 at 12:20:57PM +0100, Tomasz Chmielewski wrote:
> > >I have a little open-source project, which eases Windows administration
> > >a bit.
> > >
> > >In some of the scripts, I use usernames and passwords (to get to a
> > >password-protected network share etc.).
> > >Because they are scripts, username and password is in plain.
> > >
> > >Although the script files are only readable by SYSTEM and
> > >Administrators, if a disk is stolen, someone could easily get the
> > >passwords by doing simple "grep -r password ./*".
> > >
> > >Do you know some tool which could "encode" scripts?
>
> instead of storing them plaintext, why don't you try encoding them via
> cryptographic hashes - md5, sha1, tiger and the like.

How is the script going to get the plaintext password if all it has is
a one way hash?

> while it's still vulnerable to bruteforce if they get your hashed
> passwords, you can mitigate the risk by requiring longer/more complex
> passwords.
>
> at least it's not as easy as grep'ping for the plaintext password left
> alone naked all out in the open.

--
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: OpenSSH w/cygwin

2005-10-27 Thread Svend Sorensen
On 10/27/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I'm new to Cygwin, wanting to use it to connect to a Unix server
> using SSH.  I see that there is a package for OpenSSH, but don't find
> it in the setup.exe window or anywhere else.

After you select a mirror, a category view of the available packages
comes up.  OpenSSH is under net/openssh.

--
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: AllVersions: Running Cygwin X w/ Registy Entries

2005-10-26 Thread Svend Sorensen
On 10/25/05, Igor Pechtchanski wrote:
> see a very nice example posted by
> Svend Sorensen <http://cygwin.com/ml/cygwin/2005-10/msg00864.html>).

The batch files I posted were lifted from "Cygwin on portable storage
media"[*].  He has some other good tips on running cygwin from a USB
drive on that website.  I think I had to modify the sed line to get it
to work.

* http://www.dam.brown.edu/people/sezer/software/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: AllVersions: Running Cygwin X w/ Registy Entries

2005-10-25 Thread Svend Sorensen
On 10/25/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>  Greetings
> I would like to be able to have a portable version of cygwin in my Flash 
> Drive.
> I have been able to do it but it requires that I enter some registry entries
> such as:
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/]
>

Here are the batch files I use.  In their current state, they must
exist in the parent directory of the cygwin root, which must be named
"cygwin".

install.bat backs up the current cygwin mount table, then creates a
new table for the removable device.  It uses the users Windows %TEMP%
dir for /tmp, because I wanted to minimize writes to the flash disk.

uninstall.bat removes the new mount table, and restores the backed up copy.

--begin install.bat--
@echo off

for /F %%A in ('cd') do set WD=%%A

cygwin\bin\mount -m | cygwin\bin\sed s/mount/"cygwin\/bin\/mount"/ >
%TEMP%\cygwin-mounts
cygwin\bin\umount -c
cygwin\bin\umount -A
cygwin\bin\mount --binary --force --user %WD%\cygwin /
cygwin\bin\mount --binary --force --user %WD%\cygwin\bin /usr/bin
cygwin\bin\mount --binary --force --user %WD%\cygwin\lib /usr/lib
cygwin\bin\mount --binary --force --user %TEMP%\ /tmp
--end install.bat--

--begin uninstall.bat--
@echo off

for /F %%A in ('cd') do set WD=%%A

cygwin\bin\umount -c
cygwin\bin\umount -A
cygwin\bin\sh %TEMP%\cygwin-mounts
cygwin\bin\rm %TEMP%\cygwin-mounts
--end uninstall.bat--

--
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: change the font size of rxvt

2005-09-21 Thread Svend Sorensen
On 9/21/05, wmaple <[EMAIL PROTECTED]> wrote:
>
> I used a command like "rxvt -fn fixedsys" to start rxvt. After starting rxvt, 
> I find that the font size of rxvt is too tiny. Is there a way to change the 
> font size of rxvt?

I don't think fixedsys is scaleable.  Try:

rxvt -fn 'Courier New-16'# Putty default font
rxvt -fn 'Lucida Console-14'# Another good console font

Also try changing the font sizes.

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



pdksh and vi-tabcomplete with spaces

2005-08-30 Thread Svend Sorensen
When I use pdksh to expand the name of a file with spaces or other
shell metachars in it, the filename is expanded without escaping the
metacharacters.

On cygwin:

$ cd Whiteboards & Photos/
$ echo $KSH_VERSION
@(#)PD KSH v5.2.14 99/07/13.2

On NetBSD:

$ cd Whiteboards\ \&\ Photos/
$ echo $KSH_VERSION
@(#)PD KSH v5.2.14 99/07/13.2

Has anyone else noticed this?  I couldn't find anything in the cygwin
list archives about it.

--
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: find -L

2005-08-29 Thread Svend Sorensen
It's 'find -L ./ -print',  From the man page:

SYNOPSIS
   find [-H] [-L] [-P] [path...] [expression]

(-H, -L, -P, goes before the path)

On 8/29/05, Hans Horn <[EMAIL PROTECTED]> wrote:
> Group,
> 
> I was trying to use cygwin's find with the -L (follow symlinks), but I'm
> getting:
> 
> > find ./ -L -print
> find: invalid predicate `-L'
> 
> The man page seems to be wrong about this.
> What is the option to do this that works?
> 
> H.
> 
> 
> 
> 
> --
> 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/
> 
>

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