delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/08/17:55:15

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:to:message-id:subject
:mime-version:content-type:content-transfer-encoding:references;
q=dns; s=default; b=u1skxlHPtTSd3Pql8fJE2LhpeaF5ksk8KBO4B9jobVM
1rAufJS6v7jJhQ2f1f9ODPHtOGjukE92A0LDB3tM3HWwyvaOUj+S32zvG1bIguja
yDAeB9WfeD6W8FK7+tE7oLxIIV6GuAMDW0d6RGRCw/IWfSlb2fvv1ii0Dl7WwRtw
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:to:message-id:subject
:mime-version:content-type:content-transfer-encoding:references;
s=default; bh=mLv0cjJmZXXFOYeQbC4LHBjS75g=; b=tw7rnJmV2SoMKBD/m
rzykUu0n4gppydhg0/p2ETRxILCmdRGURZalOJ3iOUG7ftsGO/rtLyu2k1lRkzK6
vWGFesjyLjVLx6hC+7Jy6IGX1p36SbQxILs9I51tzt6BUufQJvihRgbv3H2boMIY
xwGtrwx7CsrOuyAiYs01GV77n0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=XY, bars, partly, scroll
X-HELO: nm33-vm1.bullet.mail.ne1.yahoo.com
Date: Mon, 8 Aug 2016 21:51:57 +0000 (UTC)
From: Brent <yhbrent AT yahoo DOT com>
Reply-To: Brent <yhbrent AT yahoo DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-ID: <308637801.11319327.1470693117361.JavaMail.yahoo@mail.yahoo.com>
Subject: chere mintty window position
MIME-Version: 1.0
References: <308637801 DOT 11319327 DOT 1470693117361 DOT JavaMail DOT yahoo DOT ref AT mail DOT yahoo DOT com>

Hello.

I recently did a clean reinstallation of 32 bit cygwin, and as part of that, downloaded the chere package so that I could get Windows Explorer context menu bash here support.

I like my cygwin bash terminal windows to come up maximized by default.

So, my usual procedure the first time that I use the context menu bash here feature is to:
1) click on mintty's Windows square button in the top right to maximize the window
2) right click inside mintty --> Options... --> Window --> click on Current Size button

Doing that this time ALMOST works.  When I try the context menu bash here feature now, the mintty window does come up greatly enlarged.  BUT it is not correctly centered!  It actually is shifted to the right by ~5 or so pixels!  That means that the right side scroll bars, for example, are partly going off the right side of the screen.  This is very annoying.

Is this a known bug with mintty?

Is there a fix?

I have one guess.  This mintty page
    https://mintty.github.io/mintty.1.html
says that it supports a
    -p, --position X,Y
options, so something like
    -p 0,0
should do the trick.  The question is how can I supply an option like that to mintty when it is opened by chere from a Windows Explorer context menu.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019