From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: Page Up/Down Issues With Emacs in Terminal Date: Thu, 7 Jul 2016 10:47:47 +0600 Message-ID: References: <86lh1flpzz.fsf@student.uu.se> <86zipuj0ww.fsf@student.uu.se> <37ca21a2-8218-41c0-acd4-98696c7f8746@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1467866929 1837 80.91.229.3 (7 Jul 2016 04:48:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Jul 2016 04:48:49 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Brandeis King Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 07 06:48:43 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 1bL1Ex-00033N-KL for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Jul 2016 06:48:43 +0200 Original-Received: from localhost ([::1]:37503 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bL1Et-0006I6-IQ for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Jul 2016 00:48:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bL1EP-0006Hp-1e for help-gnu-emacs@gnu.org; Thu, 07 Jul 2016 00:48:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bL1EO-0008O9-Ag for help-gnu-emacs@gnu.org; Thu, 07 Jul 2016 00:48:09 -0400 Original-Received: from mail-lf0-x22b.google.com ([2a00:1450:4010:c07::22b]:34230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bL1EO-0008O2-39 for help-gnu-emacs@gnu.org; Thu, 07 Jul 2016 00:48:08 -0400 Original-Received: by mail-lf0-x22b.google.com with SMTP id h129so3829498lfh.1 for ; Wed, 06 Jul 2016 21:48:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=3V00jEZi9g2Um4JIzs8Rc3aKfkshB2Bjezcm7tv+vfU=; b=yqGzSsRh8aqkJHvoi4QYuWYOicgIHrBMkyNkMC1b8wEKFC/xLsD9wrIsFWyQZnbVHW TkM3ashqY8DDxAxgOJwf5M6oykFzF6bzLAUzkGRx+XGJFNTYVMmGtQMCFPT2JUevaD1Q D04DoDtqjEjzqsyBkYGGr1eODIroMX2Ah+IR8OmFnb2ICenZYLzzDC5DAtuRCtVoRO6d 0PBJ6AFFIzzpRAd9RMa/xM/5glrTCtXGTY/VZvGwrSsWB40dq53fi3ggnzXNqF1G3eRX r/VrBwPgmZEtjbBoH3gYY1KsBxrZaRE9i5OTuFQGb22YSmSBkZTWEyHfm0r6aBtzV80z Y+Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=3V00jEZi9g2Um4JIzs8Rc3aKfkshB2Bjezcm7tv+vfU=; b=GUDLH03sspjYyu3Jhrw12wdFonA22sfV02tMsg+xiHryutvtA/QOpK7ClzIaZ5dD7a rLxYwGXwpacYTznecN5Ia0l1K06TUjkv3tatCpzrr+IFjv4VAlJrsP3/QayjrK+zzPOX dJ/HFGMTT4U83dFK+nbnAMKa9ljj+KoJTJ9aSBL3jhB1NgyHP3QCspga6iePSlzn60dF qylhN+Z9aijYbkHiQn+tjWXaORN4LjJOxZOGk4g1vWCkVw83vx2gXS5x0JdKMrC4DRH2 7upZ8S8cY88s6xyCb8MZeZsOIExy14tsD4IJ1Fdy41s+IyTRtvpM/I5cucE8B9rllFXI O+Xg== X-Gm-Message-State: ALyK8tI2qma45/2ENT+2ogU0Vx0i2uAPQX0+10PjSM+yKTlArqKAQMFcHnyJaWArcedk+STZNncX6kMme3w65Q== X-Received: by 10.46.0.78 with SMTP id 75mr6795265lja.48.1467866886810; Wed, 06 Jul 2016 21:48:06 -0700 (PDT) Original-Received: by 10.114.182.164 with HTTP; Wed, 6 Jul 2016 21:47:47 -0700 (PDT) In-Reply-To: <37ca21a2-8218-41c0-acd4-98696c7f8746@googlegroups.com> X-Google-Sender-Auth: k7gjCZ75VgluD5brVqdr5hlN61Q X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::22b 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:110714 Archived-At: On Thu, Jul 7, 2016 at 1:40 AM, Brandeis King w= rote: > I tried "emacs -Q -nw" again today, and the page up/down buttons do work = as expected. So then the problem is in most probably in your init file. > In answer to previously asked questions, term is "screen-256color" -- thi= s is set in my Xresources file That=E2=80=99s a bad idea. You are lying to tmux that its underlying termin= al is screen-like, while it is in fact xterm-like. Additionally, other programs, if you run them outside tmux, will misbehave. Normally, tmux sets the TERM variable for processes running within its session. It uses "screen" by default, but you can control it with this line in your .tmux.conf: set -g default-terminal "screen-256color" > Input-Decode Map variable holds: > Value: (keymap > (27 keymap [=E2=80=A6] > (91 keymap > (53 keymap > (126 . > [prior])) > (54 keymap > (126 . > [next])) These are the decoding sequences for Page Up and Page Down. When you start Emacs with your customizations, you can look for these. If they are not there, find what deletes them. Also, see if you are binding M-[ or ESC [ to anything. If you do, many function keys, including Page Up and Page Down, will probably stop working.