unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Rusi <rustompmody@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Alt Putty
Date: Fri, 28 Aug 2015 20:13:11 -0700 (PDT)	[thread overview]
Message-ID: <7d5814af-8ae7-4f52-81e7-15bf7413de73@googlegroups.com> (raw)
In-Reply-To: <mailman.106.1440791227.19560.help-gnu-emacs@gnu.org>

On Saturday, August 29, 2015 at 1:17:09 AM UTC+5:30, Bob Proulx wrote:
> Rusi wrote:
> > By which I mean that there must be some putty setting to make Alt behave like
> > well like Alt :-).
> > google was not much helpful
> 
> Works for me.  Using putty.exe and emacs in the standard text console
> mode and Alt works like Meta by default.  It does this by prefixing
> the key with ESC.  That is Alt-x on the putty.exe keyboard produces
> "ESC x" sent over the serial data stream.  This can be easily seen by
> typing into 'od -tx1 -c' (finish with C-d eof) and looking at the
> data.  Command line applications such as bash and emacs interpret "ESC
> x" as M-x and behave appropriately.
> 
> I looked over my putty.exe configuration dialog screens but didn't see
> an explicit option to enable or disable this.  I know I have not done
> anything specific in this regard.  It is a feature I use almost every
> time I have ever used putty.exe and I have never needed to configure
> it explicitly.  It has always worked by default.
> 
> Therefore I conclude that it must be something in your environment
> that is *preventing* this from working.  I'd say it works for other
> people.  You will need to debug your environment and see why it
> doesn't work for you.
> 
> Bob

Looking at things like:
http://blog.sanctum.geek.nz/putty-configuration/

I gather I need to set up a suitable terminfo (on server):

# apt-get install ncurses-term

And then set the $TERM to putty (not the default xterm) on the putty side

[Not on office-machines now so just talk ATM]

Right now tried opening an xterm and typing Alt-x
I get  this (captured with emacs -nw)


             position: 1 of 1 (0%), column: 0
            character: ø (displayed as ø) (codepoint 248, #o370, #xf8)
    preferred charset: unicode (Unicode (ISO10646))
code point in charset: 0xF8
               script: latin
               syntax: w 	which means: word
             category: .:Base, L:Left-to-right (strong), h:Korean, j:Japanese, l:Latin
             to input: type "C-x 8 RET HEX-CODEPOINT" or "C-x 8 RET NAME"
          buffer code: #xC3 #xB8
            file code: #xC3 #xB8 (encoded by coding system utf-8-unix)
              display: terminal code #xC3 #xB8

Character code properties: customize what to show
  name: LATIN SMALL LETTER O WITH STROKE
  old-name: LATIN SMALL LETTER O SLASH
  general-category: Ll (Letter, Lowercase)
  decomposition: (248) ('ø')

There is an overlay here:
 From 1 to 1
  face                 highlight


There are text properties here:
  fontified            t


  parent reply	other threads:[~2015-08-29  3:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-28 11:10 Alt Putty Rusi
2015-08-28 12:47 ` Eli Zaretskii
     [not found] ` <mailman.78.1440766065.19560.help-gnu-emacs@gnu.org>
2015-08-28 13:07   ` Rusi
2015-08-28 13:27     ` Rusi
2015-08-28 19:47       ` Bob Proulx
     [not found]       ` <mailman.106.1440791227.19560.help-gnu-emacs@gnu.org>
2015-08-29  3:13         ` Rusi [this message]
2015-08-29  7:30           ` Eli Zaretskii
     [not found]           ` <mailman.123.1440833460.19560.help-gnu-emacs@gnu.org>
2015-08-29  7:36             ` Rusi
2015-08-29  7:56               ` Eli Zaretskii
     [not found]               ` <mailman.125.1440835031.19560.help-gnu-emacs@gnu.org>
2015-08-30  2:35                 ` Rusi
2015-08-28 13:41     ` Eli Zaretskii
2015-08-28 13:48       ` Jude DaShiell
     [not found]       ` <mailman.86.1440769745.19560.help-gnu-emacs@gnu.org>
2015-08-28 14:14         ` Rusi
     [not found]     ` <mailman.84.1440769306.19560.help-gnu-emacs@gnu.org>
2015-08-28 14:11       ` Rusi

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7d5814af-8ae7-4f52-81e7-15bf7413de73@googlegroups.com \
    --to=rustompmody@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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).