Re: Text editor with shell integration

2010-05-10 Thread Luc Hermitte
{#param[*]}]="$1" fi ;; Which can be used this way: $ cyg-wrapper.sh /cygdrive/c/WINDOWS/system32/runas.exe --slashed-opt --cyg-verbose=2 -user:pipo "$@" However, a little bit more work is necessary. The first argument to the function/alias shal

Re: Text editor with shell integration

2010-05-07 Thread Luc Hermitte
ters that must not be handled as pathnames that need translation, you can simply play with $(cygpath -l "$@") as others have already told you. HTH, -- Luc Hermitte http://lh-vim.googlecode.com/ http://hermitte.free.fr/vim/ -- Problem reports: http://cygwin.com/problems.html F

Re: Can not start UltraEdit using cygwin path

2006-10-17 Thread Luc Hermitte
..) For this sole purpose, I'm maintaining a generic wrapper for win32 native applications we wish to start from cygwin (cyg-wrapper.sh, check my signature) NB: I've been reported a bug lately. It seems tied to a bug/regression in cygpath 1.42 which seems to have forgotten a 0-terminal

Re: Starting gvim from Windows

2006-03-18 Thread Luc Hermitte
im plus a _vimrc_nix for *nix specific settings (key rebindings (that will be updated soon thanks to feddback from vim-ml), ...) I've never used cygwin-version of vim, but it should not be any different. -- Luc Hermitte http://hermitte.free.fr/cygwin/ -- Unsubscribe info: http://cygw

Re: Permission denied on Windows XP

2005-01-19 Thread Luc Hermitte
, the script seems to work well. > But during running the same message happens. > > I don't want to format my note-pc. Is there any good idea? Are you using Agnitum Outpost Firewall ? Is so find another firewall that does not leak ressources. HTH, -- Luc Hermitte -- Unsubscribe in

Re: Not what I expected at first startup :0

2004-10-24 Thread Luc Hermitte
a familar way, start applications graphicaly untill I got > used to working the shell cmd line. vim is great. Some prefer emacs... Other prefer more flashy programs... -- Luc Hermitte -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: cygwin implementation of fork() eating all resourses?

2004-09-05 Thread Luc Hermitte
* On Mon, Sep 06, 2004 at 08:42:56AM +0400, Artem Gluhov <[EMAIL PROTECTED]> wrote: > After 5 minutes running this script i got a windwows XP > error: not enough system resourses. You have Agnitum Outpost, haven't you ? If so, uninstall it and choose another firewall. HTH,

Re: Bug: "cygpath -w ." returns ".\" instead of "."

2004-07-01 Thread Luc Hermitte
SEDIR/out.txt" > > touch "$FILE" > #-- use -m instead of -w > I'm using the latest cygwin v1.5.10-3 on NT2k. Don't know cygpath > version...sorry. cygpath -v -- Luc Hermitte http://hermitte.free.fr/cygwin/ -- Unsubscribe info: http://cygwin.com/ml/#u

Re: ls -l | less shows "escape" chars

2004-07-01 Thread Luc Hermitte
Hello, * On Thu, Jul 01, 2004 at 09:06:16AM -0400, geneSmith <[EMAIL PROTECTED]> wrote: > Also, my less man page is totally messed up. All other man pages seem > to work. I have export PAGER='less -R' in my .bashrc HTH, -- Luc Hermitte -- Unsubscribe info:

Re: find the path for cygwin root from windows script

2004-06-17 Thread Luc Hermitte
However, this solution requires that cygwin directories are visible from your $PATH. In other words, you won't really need to know where they are installed. -- Luc Hermitte -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problem

Re: mutt and ssmtp on Cygwin on Windows Server 2003 'child exited 127'

2004-05-19 Thread Luc Hermitte
ssage. is when Hamster is not running -- as ssmtp can't reach the SMTP server it must send the messages to. But I'm not sure it is of any help here. -- Luc Hermitte -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html D

Re: How to start windows version gvim for cygwin correctly?

2004-05-12 Thread Luc Hermitte
e scripts I use. If I had to choose between cygwin directories, I would use /usr/local/bin as I install non-cygwin-standard stuff into /usr/local/ -- understand, the stuff I've compiled like mutt, a colored version of abook, irssi, w3m, librairies, ... HTH, -- Luc Hermitte -- Unsubscr

Re: How to start windows version gvim for cygwin correctly?

2004-05-11 Thread Luc Hermitte
win, but it should not solve your problem which is probably specific to vim. Unless Are your environment variables ($HOME, $VIM, $VIMRUNTIME) different within cygwin and windows ? If so, fix this. [1] http://hermitte.free.fr/cygwin/#Win32 -- Luc Hermitte -- Unsubscribe info: http://cygw

Re: How to start windows version gvim for cygwin correctly?

2004-05-11 Thread Luc Hermitte
> using the default _viminfo in "D:\Program Files\vim\" This is a safe setting IMHO. > Do you have any idea about make gvim use the default _viminfo file > without writing a new file in my cygwin home directory? Once you have found where your _vimrc is stored, set the option v

Re: Scripts for calling Internet Explorer,Explorer,Word,Access,Excel from Cygwin

2004-05-09 Thread Luc Hermitte
ature). BTW, until now, I was using << $COMSPEC /c start >> to launch a win32 application i did not want to be attached to the current shell. It no longer works (probably since the last time I patched XP). I can not rely on cygstart as it accept only a limited number of characters on its c

Re: Problem: fork: permission denied, after intensive use of scripts

2004-04-18 Thread Luc Hermitte
start anything and receive messages like > fort: permission denied. > It looks like PIDs that were used once cannot be reused. > Does anyone know the solution? I know a firewall that causes such problems : Agnitum Outpost Firewall. If you are using this firewall, don't look anywher

Re: Problem when compiling c++ using gcc

2004-03-20 Thread Luc Hermitte
ude directory => g++ -I$NS2/include -o ping ping.cpp Anyway, these questions are not relative to cygwin, but to GCC and other *nix command-line compilers. => - man gcc - find a tutorial about makefiles, compiling under unices, etc... HTH, -- Luc Hermitte -- Unsubscribe info: http

Re: GVIM

2004-03-17 Thread Luc Hermitte
nt to gvim, like /etc/Muttrc for instance. I wrote cyg-wrapper.sh for this purpose. http://hermitte.free.fr/cygwin/#Win32 HTH, -- Luc Hermitte -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: htt

Re: Converting Dos Slashes to Unix Slashes

2004-03-14 Thread Luc Hermitte
pper.sh (Vim tip #381 BTW) which does several other useful things. http://hermitte.free.fr/cygwin/#Win32 -- Luc Hermitte -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/

Re: memory leaks in fork(?)

2004-01-30 Thread Luc Hermitte
t Firewall ... try uninstall it a use another firewall. On this new machine, (where XP has been reinstalled from scratch), I'm no longer using AOF, but Kerio. Since then, I don't need to reboot every two days or every half-make-configure. So far, the hyppothesis of a ressource leak in AOF

Re: Mutt + Cygwin on the go

2003-12-25 Thread Luc Hermitte
on=HTML Text; nametemplate=%s.html text/html; w3m -dump %s; copiousoutput; description=HTML Text; nametemplate=%s.html (don't forget in the muttrc: alternative_order text/enriched text/plain text ) And BTW, I have no problem with cygstart with pdf and rtf documents. Merry Christmas

Re: Solved: Windows 2k crash while processing big bash script

2003-09-23 Thread Luc Hermitte
t on the firewalled machine. > P.S. I think it's will be a good idea to store information about > trouble with outpost firewall at FAQ or "Known problems"... Unless someone experiment the same problem but with another configuration, it is good idea. Regards, -- Luc

Re: win2k "resource" exhaustion problem - no Cygwin programs will run

2003-09-11 Thread Luc Hermitte
Outpost and I'm experimenting this problem. [BTW, Rampage was evoked as a possible workaround, but it had no positive effect on my system.] HTH, -- Luc Hermitte -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html D

Re: Win2k and cygwin memory leak

2003-08-14 Thread Luc Hermitte
ory leak > is exactly where is leads down the path to character assassinations. Could we say that cygwin relies on a faulty library developped by Microsoft ? And that nobody has identified the faulty library ? -- Luc Hermitte PS: don't mistake me, Cygwin is a wonderful projec

Re: Win2k and cygwin memory leak

2003-08-08 Thread Luc Hermitte
ow yet. In a month or two, I'll try to remember how gdb works and check this out -- I'll probably need assitance from people not having the problem as I'm not able to compile big program. By the mean, time I have some open-source stuff I've developped to fix before unha

Re: ORB

2003-04-05 Thread Luc Hermitte
n, but it is available on many different systems -- unices, Windows, etc. HTH, -- Luc Hermitte -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: Cannot fork: Resource temporarily unavailable

2003-03-21 Thread Luc Hermitte
ident" programs like anti-viruses, firewalls, etc. But the problem still remains: there is a limit that stop us from using cygwin to accomplish more or less critical things like recompiling some programs. Regards, -- Luc Hermitte -- Unsubscribe info: http://cygwin.com/ml/#unsubscr

fork: permission denied (again)

2003-03-13 Thread Luc Hermitte
d again: "fork: permission denied". Does anybody has a clue ? a link ? a workaround that I can use ? I guess the solution lies within fork() implementation and how bash uses it ... but I can't tell more. Note: I use a Windows XP machine -- monthes ago, I was able to recompile mutt-

Re: Does Mutt work now?

2003-02-23 Thread Luc Hermitte
Mutt 1.4. I guess I must upgrade to the version 1.5. -- Luc Hermitte http://hermitte.free.fr/cygwin/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http:

Re: NT wrappers

2003-02-14 Thread Luc Hermitte
e released a wrapper for Win32 native (command-line) tools. It can not guess arguments you don't know, but will enable you to specify as many arguments you wish to specify. And it also converts all the pathnames given and it follows symbolic links. I'm not sure it is the

[ANN] Re: cyg-wrapper.sh

2002-12-17 Thread Luc Hermitte
fine too, but "--cyg-env-convert=HOMEPATH" does not have any consequences... As well as "(unset HOMEPATH;gvim)". I guess that HOMEPATH got a special traitment from cygwin or bash. Does list of directories needs to be converted also ? I know PATH appears correctly converted from Vim.

[ANN] Re: cyg-wrapper.sh

2002-12-12 Thread Luc Hermitte
t win32 native applications may also use. -- Luc Hermitte -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

[ANN] Re: cyg-wrapper.sh

2002-12-08 Thread Luc Hermitte
ing xargs. I haven't spent enough time to find to something that works. -- Luc Hermitte -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

[ANN] cyg-wrapper.sh

2002-12-05 Thread Luc Hermitte
l expression to designate such applications ? I tend to use "native win32 applications/programs", but I'm not sure it is really correct in English. [2] This form has been privileged because of the MsWindows 9x series. -- Luc Hermitte -- Unsubscribe info: http://cygwin.