X-Spam-Check-By: sourceware.org Date: Mon, 6 Feb 2006 12:45:00 -0500 (EST) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: Bubba Jones cc: cygwin AT cygwin DOT com Subject: Re: Bash Window Geometry In-Reply-To: <20060206173428.19053.qmail@synacor.com> Message-ID: References: <20060206160030 DOT 10549 DOT qmail AT synacor DOT com> <20060206173428 DOT 19053 DOT qmail AT synacor DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Mon, 6 Feb 2006, Bubba Jones wrote: > On Mon, 6 Feb 2006 12:13:43 -0500 (EST) Igor Peshansky wrote: While you're at it, . 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, . 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/