Mail Archives: cygwin/2006/02/06/12:45:23
On Mon, 6 Feb 2006, Bubba Jones wrote:
> On Mon, 6 Feb 2006 12:13:43 -0500 (EST) Igor Peshansky <pechtcha AT XX DOT XXX DOT XXX> wrote:
While you're at it, <http://cygwin.com/acronyms/#PCYMTNQREAIYR>. Thanks.
> > On Mon, 6 Feb 2006, Bubba Jones wrote:
> >
> > > Is it possible to tell the bash prompt where I want it positioned on
> > > my desktop? Using X Windows I specify size and location with
> > > "--geometry". Is there anything comparable under MS Windows?
> >
> > First off, <http://cygwin.com/acronyms/#PCYMTWLL>. Thanks.
>
> I think my mailer might be goofed... I don't see an option for that.
> I'll fix it the ole fashioned way though with a manual CR/LF :) .
Good enough. :-) You might want to complain to Anheuser-Busch about this
and the quoting, though...
> > Now, if you're starting bash from a shortcut (e.g., the one Cygwin
> > installation puts on your desktop), you can change shortcut parameters
> > to put the window anywhere you want (Properties->Layout->Window
> > position).
>
> Thanks, but I'm looking for something like the "--geometry"
> feature of X. I want several bash windows on my desktop in
> strategic locations when I double-click a .bat. I'm guessing
> that a .bat file can contain several calls to bash with the
> geometry pre-defined.
Yeah, I thought of adding that bash itself has no control over its
geometry -- after all, it's just a shell. The geometry is specified by
the window that contains the shell (be it a console window or an
application window). There may be a launcher program that sets those
(after all, if a shortcut can do it, there must be a command-line way,
right?), but I don't know of any.
> Right now my cygwin.bat file contains:
>
> @echo off
> cd \
> C:\Cygwin\bin\bash --rcfile /cygdrive/h/.bashrc -i
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Heh. Two problems: (a) you're not starting a login shell, and (b) why do
you have /cygdrive/h as your home? Sounds like your $HOME setting is
inconsistent with your /etc/passwd...
> Is there any way to have the call to bash set geometry?
As I said above, not to bash itself, but there might be a way of
controlling the position of the console window using some Windows means
(maybe a program in the Windows Resource kit?).
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT 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/
- Raw text -