This is the mail archive of the
mailing list for the cygwin project.
Re: chere suggestion
- From: Igor Peshansky <pechtcha at cs dot nyu dot edu>
- To: Cary Jamison <Cary_Jamison at Symantec dot com>
- Cc: The Cygwin-Talk Maiming List <cygwin-talk at cygwin dot com>
- Date: Wed, 15 Feb 2006 19:49:48 -0500 (EST)
- Subject: Re: chere suggestion
- References: <005b01c6325a$aa389c40$a501a8c0@CAM.ARTIMI.COM> <43F386DB.firstname.lastname@example.org> <email@example.com> <Pine.GSO.firstname.lastname@example.org> <email@example.com>
- Reply-to: The Cygwin-Talk Maiming List <cygwin-talk at cygwin dot com>
- Reply-to: The Cygwin-Talk Malingering List <cygwin-talk at cygwin dot com>
As DaveK alluded to, this has gotten way off-topic for the main Cygwin
list. Redirecting to the cygwin talk list, where anything goes (beware of
On Wed, 15 Feb 2006, Cary Jamison wrote:
> Igor Peshansky wrote:
> >FWIW, I use the "Send To" menu with the following shortcut for vi:
> >C:\cygwin\bin\run.exe /bin/rxvt.exe -display :0 -T vim -vb -sr -sl 10000 -bg black -cr white -fg LightSteelBlue1 -j -fn "-b&h-lucidatypewriter-medium-r-normal-sans-0-0-14-14-m-0-iso8859-2" -e /usr/bin/vim
> >(I used to have more args there, but run now has a 20-argument
> >limit -- sigh!).
> I was able to add my own 'edit with xemacs' action, but couldn't get the
> cygpath right without calling a separate script. Plus, I had to add
> this action to every file type I wanted - a big pain! It doesn't look
> like yours is doing anything with the paths - does it just work?
Yes, it does. When the shortcut is in the "Send To" menu, using it is
just like dragging the file onto that shortcut -- i.e., the full windows
path is passed to the program. Plus, you don't need to associate it with
any files -- it's available for any file with just a right-click.
> I'll have to play with that some. How did you get it under the 'send
> to' menu?
Right-click on "Start" and choose "Explore". "Send To" is a folder that
should be right above "Start Menu". Just drag your shortcut there.
> P.S. Here's my first attempt:
> new action: Edit with xemacs
> Application: C:\cygwin\bin\run.exe C:\cygwin\bin\bash.exe --login -c
> 'wxemacs "%1" '
> which calls this simple script (wxemacs):
> arg=$(cygpath -am "$*")
> exec xemacs "$arg"
> I copied some of this from my xemacs shortcut, perhaps it's not all
> needed, but it's nice to have xemacs running with the full environment
Try simply putting the following
C:\cygwin\bin\run.exe C:\cygwin\bin\bash.exe --login -c xemacs
as a shortcut in the "Send To" menu. I don't use xemacs, though, so the
above is untested.
|\ _,,,---,,_ firstname.lastname@example.org | email@example.com
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"