This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Is it possible to pass parameters to rxvt?


Is it possible to pass a parameter to rxvt to start bash up in a specified
folder?

I suspect I don't know enough to construct the proper string.

I normally start rxvt from a keyboard shortcut to the command
D:\cygwin\bin\run.exe rxvt -name 17 -e /usr/bin/bash --login -i

which works fine.

I also have a registry entry to start cygwin in a specified folder from the
explorer context menu, set up so:
REGEDIT4

[HKEY_CLASSES_ROOT\Directory\shell\BashHere]
@="bash here"
[HKEY_CLASSES_ROOT\Directory\shell\BashHere\command]
@="D:\\cygwin\\bin\\bash.exe --login -c \"cd '%1' ; exec /bin/bash -rcfile
~/.bashrc\""

which also works fine, it's just that I'd rather invoke rxvt.

I have googled for it but not found anything obvious (but it is late Friday
afternoon here), if anyone can drop me a hint, even a better search
selection I'd appreciate it.

BTW while in the subject of registry hacking if there's any emacs fans out
there I find this rather useful too:
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\emacs]
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\emacs\command]
@="D:\\util\\emacs-21.3\\bin\\gnuclientw.exe \"%1\""

Hmm - the other editor I do this with is the Hessling editor (the), I was
wondering if there are any other users on list?

Bill
-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org

This e-mail transmission is strictly confidential and intended solely
for the person or organisation to whom it is addressed. It may contain
privileged and confidential information and if you are not the intended
recipient, you must not copy, distribute or take any action in reliance
on it. If you have received this email in error, please reply to the
sender as soon as possible and delete the message. Please note that we
are able to, and reserve the right to, monitor e-mail communications
passing through our network.

The views expressed in this email are not that of the company unless
specified within the message.

The inclusion of this footnote indicates that the mail message and any
attachments have been checked for the presence of known viruses.

If you have any comments regarding our policy please direct them to
postmaster@cox.co.uk
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]