Bash Window Geometry

Igor Peshansky pechtcha@cs.nyu.edu
Mon Feb 13 22:42:00 GMT 2006


On 2006年2月13日, Bubba Jones wrote:
> > ...
> > Alternatively, you could do:
> > rxvt -e /bin/bash --login --rcfile /cygdrive/h/.bashrc -i
> >
> > Thus combining your current configuration with the way you want it to
> > be...
>> Ahhh, most cool. That command with switches works from
> the cygwin bash prompt, but not from the DOS prompt,
> which tells me it wouldn't work from a batch file. The
> following does work from DOS:
>> h:\cygwin\bin\rxvt -e /bin/bash --rcfile /cygdrive/h/.bashrc -i
 ^
There should be no space between "--" and "rcfile", but I guess you know
that (it's hard to tell whether that was your mailer's linewrapping).
> But the following does not:
>> h:\cygwin\bin\rxvt -e /bin/csh --login --rcfile /cygdrive/h/.bashrc -i
 ^^^
> The difference being that "--login" breaks... Any idea why --login es
> no bueno? Is --login really needed?

Now, this is interesting... Why would you expect bash options to work for
csh?
If this really is a typo and
h:\cygwin\bin\rxvt -e /bin/bash --login --rcfile /cygdrive/h/.bashrc -i
does break for you from a DOS prompt, please run
h:\cygwin\bin\bash --login --rcfile /cygdrive/h/.bashrc -i
from the same DOS prompt and tell us what output it produces.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
 |\ _,,,---,,_	 pechtcha@cs.nyu.edu | igor@watson.ibm.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"
--
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/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /