public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andy Koppe <andy.koppe@gmail.com>
To: Angelo Graziosi <angelo.graziosi@alice.it>
Cc: cygwin@cygwin.com
Subject: Re: MinTTY
Date: Fri, 02 Jan 2009 07:19:00 -0000	[thread overview]
Message-ID: <495DBFE5.7010805@gmail.com> (raw)
In-Reply-To: <495D303A.5010408@alice.it>

Angelo Graziosi wrote:
> I cannot insert the character : '~' (tilde, i.e. the 'home dir').
> Usually with my italian keyboard I use 'ALT GR'+ì (accented 'i'): this
> works with xterm, urxvt, rxvt; with Cygwin.bat I need ALT+ASCII code.

For characters beyond space MinTTY relies on Windows' keyboard layout 
mechanism, through the ToUnicode function. So I had a look at the 
Italian Windows keyboard layout and was quite surprised to find that it 
simply doesn't have a tilde. (They found space for two Euros though, on 
AltGr+E and AltGr+5.)

So what do you do when you need the tilde in other applications, e.g. 
for typing the bitwise-not operator in C?

X implement its own keyboard layout mechanism on top of lower-level 
Windows scancodes or virtual key codes, so apparently the Italian X 
keyboard layout does have a tilde on AltGr+ì.

I'm very reluctant to add locale-specific keyboard layout handling code 
to MinTTY and I think this issue would best be addressed by adding the 
tilde to the Windows keyboard layout, which would make it available 
across all Windows apps. Microsoft's Keyboard Layout Creator (MSKLC) 
available from http://www.microsoft.com/globaldev/tools/msklc.mspx is a 
free (as in beer) and convenient way to do that. I've whipped up an 
"Italian - Tilde" layout and will send that in a separate mail.

(Btw, the authority on all things Windows keyboards is MSKLC author 
Michael Kaplan, who blogs about it at 
http://blogs.msdn.com/michkap/archive/tags/Keyboards/default.aspx)

> Also the ALT+ASCII code from numeric pad does not work.

Sorry about that. I couldn't be bothered to implement that DOS relic 
when I replaced PuTTY's keyboard handling, mostly because it's a 
godawful user interface, even more so on laptops. It is still a Windows 
standard though; therefore I ought to make it work. Issue 17.

> Besides this, it would be nice if MinTTY were multi-tabs (mrxvt,
> konsole) and if an image could be loaded as background (like mrxvt...)

See issue 8 for why I won't implement tabs. I'm not keen on the 
background image either, but I've entered issue 18 for it.

> And for installation, the method suggested by Yaakov is the best!

Couldn't agree more.

Andy

--
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/

  reply	other threads:[~2009-01-02  7:19 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-01 21:06 MinTTY Angelo Graziosi
2009-01-02  7:19 ` Andy Koppe [this message]
2009-01-02  8:51   ` MinTTY Angelo Graziosi
2009-01-02  9:16     ` MinTTY Andy Koppe
  -- strict thread matches above, loose matches on Subject: below --
2019-09-18 21:50 Mintty Riley Gleason
2019-09-18 23:09 ` Mintty Andrey Repin
2019-09-19  7:14   ` Mintty Brian Inglis
2011-12-12  5:48 Latest cygwin.bat - need one Mike Brown
2011-12-12  6:31 ` Mike Brown
2011-12-12 15:45   ` Ken Brown
2011-12-12 17:45     ` Mike Brown
2011-12-12 20:28       ` Ken Brown
2011-12-12 21:24         ` Mike Brown
2011-12-12 21:30           ` Jeremy Bopp
2011-12-13  0:11             ` Gary Johnson
2011-12-13  1:38               ` Mike Brown
2011-12-13  2:07                 ` mintty Mike Brown
2008-12-29 18:32 MinTTY Andy Koppe
2008-12-29 23:07 ` MinTTY Reini Urban
2008-12-30  5:57   ` MinTTY Charles Wilson
2008-12-30 12:46     ` MinTTY Andy Koppe
2008-12-30 14:12       ` MinTTY Robert Pendell
2008-12-30 21:22         ` MinTTY Robert Pendell
2008-12-30 23:00           ` MinTTY Andy Koppe
2008-12-31 14:22             ` MinTTY Thorsten Kampe
2008-12-31 14:25           ` MinTTY Thorsten Kampe
2008-12-30 12:10   ` MinTTY Andy Koppe
2008-12-30 13:09 ` MinTTY Gary R. Van Sickle
2008-12-30 13:26   ` MinTTY Gary R. Van Sickle
2008-12-30 15:24     ` MinTTY Arun Biyani
2008-12-31 14:09       ` MinTTY Andy Koppe
2008-12-30 16:02     ` MinTTY Buchbinder, Barry (NIH/NIAID) [E]
2008-12-30 16:51       ` MinTTY Christopher Faylor
2008-12-30 23:44         ` MinTTY Andy Koppe
2008-12-31  1:06           ` MinTTY Christopher Faylor
2008-12-31  4:36             ` MinTTY Warren Young
2008-12-31  5:43               ` MinTTY Christopher Faylor
2008-12-31 14:45                 ` MinTTY Thorsten Kampe
2008-12-31 14:57               ` MinTTY Gary R. Van Sickle
2008-12-31 18:30                 ` MinTTY Andy Koppe
2008-12-31 14:40             ` MinTTY Thorsten Kampe
2008-12-31 17:29               ` MinTTY Christopher Faylor
2009-01-01 16:31                 ` MinTTY Thorsten Kampe
2009-01-01 17:17                   ` MinTTY Christopher Faylor
2009-01-01 18:22                     ` MinTTY Thorsten Kampe
2008-12-31 18:05               ` MinTTY Andy Koppe
2008-12-31 20:04                 ` MinTTY Buchbinder, Barry (NIH/NIAID) [E]
2009-01-01 16:37                   ` MinTTY Thorsten Kampe
2009-01-02 17:38                     ` MinTTY Buchbinder, Barry (NIH/NIAID) [E]
2009-01-04  5:02                       ` MinTTY Thorsten Kampe
2008-12-31  9:48           ` MinTTY Yaakov (Cygwin/X)
2008-12-31 18:23             ` MinTTY Andy Koppe
2009-01-01 16:58               ` MinTTY Yaakov (Cygwin/X)
2009-01-18  1:19             ` MinTTY Andy Koppe
2009-01-18  2:18               ` MinTTY Andy Koppe
2009-01-18  3:45                 ` MinTTY Yaakov (Cygwin/X)
2008-12-31  4:33         ` MinTTY Warren Young
2008-12-31  4:54           ` MinTTY Larry Hall (Cygwin)
2008-12-31  5:24             ` MinTTY Warren Young
2008-12-31 15:56               ` MinTTY Larry Hall (Cygwin)
2008-12-31  5:56           ` MinTTY Christopher Faylor
2009-01-01 18:04         ` MinTTY Christopher Faylor
2009-01-01 19:08           ` MinTTY Reini Urban
2009-01-02  4:40             ` MinTTY Christopher Faylor
2009-01-02 22:10           ` MinTTY Andy Koppe
2009-01-02 22:33             ` MinTTY Christopher Faylor
2009-01-02 22:54               ` MinTTY Andy Koppe
2008-12-31 14:43       ` MinTTY Gary R. Van Sickle
2009-01-01 11:52     ` MinTTY Gary R. Van Sickle
2009-01-01 16:55       ` MinTTY Yaakov (Cygwin/X)
2009-01-02  8:56       ` MinTTY Andy Koppe
2008-12-30 22:48   ` MinTTY Andy Koppe
2008-12-31 15:29     ` MinTTY Buchbinder, Barry (NIH/NIAID) [E]
2008-12-31 18:16       ` MinTTY Andy Koppe
2009-01-01 17:35 ` MinTTY Andy Koppe
2009-01-01 18:50   ` MinTTY Yaakov (Cygwin/X)

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=495DBFE5.7010805@gmail.com \
    --to=andy.koppe@gmail.com \
    --cc=angelo.graziosi@alice.it \
    --cc=cygwin@cygwin.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).