From: Igor Peshansky <pechtcha@cs.nyu.edu>
To: Bubba Jones <iambubba@budweiser.com>
Cc: cygwin@cygwin.com
Subject: Re: Bash Window Geometry
Date: Mon, 06 Feb 2006 17:55:00 -0000 [thread overview]
Message-ID: <Pine.GSO.4.63.0602061238580.16620@access1.cims.nyu.edu> (raw)
In-Reply-To: <20060206173428.19053.qmail@synacor.com>
On Mon, 6 Feb 2006, Bubba Jones wrote:
> On Mon, 6 Feb 2006 12:13:43 -0500 (EST) Igor Peshansky <pechtcha@XX.XXX.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@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/
next prev parent reply other threads:[~2006-02-06 17:45 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-06 16:05 Bubba Jones
2006-02-06 17:15 ` Igor Peshansky
2006-02-06 17:45 ` Bubba Jones
2006-02-06 17:55 ` Igor Peshansky [this message]
2006-02-06 17:56 ` Reid Thompson
2006-02-06 18:10 ` Reid Thompson
2006-02-08 15:54 ` Bubba Jones
2006-02-09 15:51 ` Igor Peshansky
2006-02-13 22:37 ` Bubba Jones
2006-02-06 17:56 ` Corinna Vinschen
2006-02-06 22:08 ` Hannu E K Nevalainen
2006-02-08 16:46 ` Bubba Jones
2006-02-08 18:59 "rxvt -e bash" From Batch File Eric Blake
2006-02-09 10:25 ` Chris Taylor
2006-02-13 22:30 ` Bash Window Geometry Bubba Jones
2006-02-13 22:42 ` Igor Peshansky
2006-02-14 0:57 ` Chris Taylor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.GSO.4.63.0602061238580.16620@access1.cims.nyu.edu \
--to=pechtcha@cs.nyu.edu \
--cc=cygwin@cygwin.com \
--cc=iambubba@budweiser.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).