help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Page Up/Down Issues With Emacs in Terminal


From: Emanuel Berg
Subject: Re: Page Up/Down Issues With Emacs in Terminal
Date: Wed, 06 Jul 2016 03:52:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Dmitry Alexandrov <321942@gmail.com> writes:

> They do. Even more: they work as expected in
> a modern GNU Emacs that is running on Linux®
> Console (I’ve just tested it on Debian
> GNU/Linux Jessie).

Is the Linux "R" Console something I haven't
heard of or is it the old Linux virtual
terminals (VTs), i.e. the ttys (teletypewriters)
you get for example after

    $ sudo chvt 1 # or 2 etc.

?

Because here the keys do work in the console
(verify this with showkey(1)) but in Emacs they
don't - however one can get them as described
in this tutorial [1] to assign them Emacs
defuns - tho why anyone would want to use those
keys beats me...

> Why the false friend? If OP is using some
> terminal multiplexer that’s exactly what we
> have to know. That is the most probable
> cause, actually, since: a) I strongly guess,
> he is using Linux® Console; b) PgUp / PgDn
> should work out of a box there.

It is a false friend because it gives the same
answer in X as in the Linux VTs if tmux is used
in both places, however setting up the
terminal and in particular the keys are not
the same despite TERM being the same...

[1] http://user.it.uu.se/~embe8573/tty-emacs-keys.txt

-- 
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
                   - so far: 56 Blogomatic articles -                   


reply via email to

[Prev in Thread] Current Thread [Next in Thread]