X-Spam-Check-By: sourceware.org Date: Thu, 9 Feb 2006 10:15:12 -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: <20060208155227.28205.qmail@synacor.com> Message-ID: References: <20060206160030 DOT 10549 DOT qmail AT synacor DOT com> <20060206173428 DOT 19053 DOT qmail AT synacor DOT com> <20060208155227 DOT 28205 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 Wed, 8 Feb 2006, Bubba Jones wrote: > > ... > > While you're at it, . Thanks. > > Hmmm. That doesn't look like an option. I'll make a request and/or > change e-mail services... My hope is that if enough people bug those online services, some of them will cave in and fix this, and others will then follow suit. Slim, I know. :-) > > .. > > Heh. Two problems: (a) you're not starting a login shell > > Yeah, you're right. I'll fix that. > > > and (b) why do you have /cygdrive/h as your home? Sounds like your > > $HOME setting is inconsistent with your /etc/passwd... > > Good eye. I have my HOME set in my .bashrc. I'm using an > "organizational" computer. "They" "nazified" the systems, so I stuck > HOME on my network folder. When I do an "ls -l /etc/passwd", I get, "no > such file...". I'm not sure what "they" did, but "they" don't seem to > want to answer my questions about "their" cygwin configuration. I asked > to have vi included in the configuration, but no response... You do know that you can have your own mounts pointing to wherever *you* want (in effect, having a separate Cygwin installation)? If theirs is missing /etc/passwd, it's seriously broken anyway. I forget, did you ever attach the output of "cygcheck -svr" (as an uncompressed text attachment) as requested in the Cygwin problem reporting guidelines at ? If not, you should do it so that we have enough details about your installation(s) to try diagnosing the problems. > I decided to take matters into my own hands. I installed cygwin on my > network drive and specified vi and some other stuff, then set my PATH to > look at my installation after "their" installation. It seems to work > ok. I had to delete/move my cygwin1.dll so the system wouldn't freak > out. The system preferred the cygwin1.dll that is part of the system > config, not my config (I hope that makes sense...). Why not do the other way around? Remove their installation from the PATH, add yours, issue the following commands (assuming your Cygwin is installed in H:\cygwin): mount -ufb 'h:\cygwin' / mount -ufb 'h:\cygwin\bin' /usr/bin mount -ufb 'h:\cygwin\lib' /usr/lib That way your install would be completely independent from theirs. I'm assuming you installed Cygwin from one machine and use it from another, otherwise installing for "just me" would have set up the proper mount entries already. Again, the output of "cygcheck -svr" would have told us whether this is the case. > Do you see any problem with the /etc/passwd mismatch? Yes. Many things that rely on authentication and permissions will not work properly if certain usernames (including yours) are missing from /etc/passwd. Your /etc/group will also need to be up-to-date. > I installed rxvt. That solves the problem with the geometry thing. I > am in my happy place now :) . Until the problems start. Let's try preventing them. The first step would be to see what your and their installations look like (via the output of "cygcheck -svr"). > > > 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?). ...or using a terminal that lets you control the geometry (e.g., rxvt) as others mentioned. 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/