From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: Page Up/Down Issues With Emacs in Terminal Date: Wed, 06 Jul 2016 03:52:19 +0200 Organization: Aioe.org NNTP Server Message-ID: <86lh1fjzxo.fsf@student.uu.se> References: <86d1mrlney.fsf@student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1467770133 11240 80.91.229.3 (6 Jul 2016 01:55:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Jul 2016 01:55:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 06 03:55:28 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bKc3k-0005kO-8k for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Jul 2016 03:55:28 +0200 Original-Received: from localhost ([::1]:58891 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKc3j-0000as-Ag for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Jul 2016 21:55:27 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 42 Original-NNTP-Posting-Host: EoOtCC1fCYcttx6jjhWUlA.user.gioia.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:g1tC4+KEaK16AJtheCgaci3RWQc= Mail-Copies-To: never X-Notice: Filtered by postfilter v. 0.8.2 Original-Xref: usenet.stanford.edu gnu.emacs.help:218392 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110701 Archived-At: 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 -