Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eq6cg-0000mn-6c for pgsql-bugs@arkaria.postgresql.org; Mon, 26 Feb 2018 00:26:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eq6ce-0006xe-JW for pgsql-bugs@arkaria.postgresql.org; Mon, 26 Feb 2018 00:26:28 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eq6ce-0006xS-9b for pgsql-bugs@lists.postgresql.org; Mon, 26 Feb 2018 00:26:28 +0000 Received: from mail-wr0-x22c.google.com ([2a00:1450:400c:c0c::22c]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eq6cX-00074x-BX for pgsql-bugs@lists.postgresql.org; Mon, 26 Feb 2018 00:26:24 +0000 Received: by mail-wr0-x22c.google.com with SMTP id u49so19436724wrc.10 for ; Sun, 25 Feb 2018 16:26:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=xsjMo/oNVHTYcrjut4QGelhng6uEa8hiBjIzQrmMv3Q=; b=NdWsII3hsb3cfpTWyGMrtA+MlD1HzFRs4zmI9VbLurojFnKVbP6tU2GQFCUMp/xtit G2KJHUbQ+5DTv9ztXS41rPbs4eSVhKWqZ2hRuEh7Y1p3PKuRuwm9i2wWvi/w8Wd9doAc U26ehm+FTXL84/m/x7Kr57EuTAMCvXUQWMpxtpXL9kYNkesCgTlrSQaynZm+EHAv6pn2 VvTKhCIkcQY0S//hNLocsetVEx39pal0dFASzgjCgb8nC5zB3rAakK2lTSPKhCmYBc6k uHtbtX+RX+o04xymEvmhYSzFWsBQPjCWklkVCvh2k3Bk9aBnbruFQy4TPNvzgV9G7XXe GQSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=xsjMo/oNVHTYcrjut4QGelhng6uEa8hiBjIzQrmMv3Q=; b=O37U0JUug36ynWvhljrlX6UTh3mFLD2PRUgQe2Fc/V+TwnWIZl76LK+VsW959gUrFb 9XjDbqcb3g9UbXOJqqEg4tjljpsRAcTd1RQanqp5WU8ficF/NczxIJ8v9oK062WU5qaa 0jpgm3wkdFmQDL+B1sIjuvMLB50Sg1swmEjYMIvfN5rcxpw4L8xjE14M0OjhGJx0hw8R LdAim8cSwrU2PqgNWvgRMSfXO0bH26SM3Tph+BiQuUMYaNLbLoBSWS2lvMM1yXgipfKc cYgjVbSn4SfHsy8AnkisoNxncnEutc1JSo2dckJNmYmCu7pXr/IHvrjW+ng8CkuvITyB gnyQ== X-Gm-Message-State: APf1xPAPgZEG9tX6tLqJaIj47vI//SpslAwq1WWiYhFjp1CizTy2jVL3 82oh227RHDLY2U3Tk8aozAX4Qw== X-Google-Smtp-Source: AH8x226l4HdfvAd6rvEgOg3P1K+iGbw/g02oVDZdXhjvHO+tR1M50Oy3MG6F8hIa6CnByqq63GmRyQ== X-Received: by 10.223.187.68 with SMTP id x4mr7275628wrg.80.1519604779330; Sun, 25 Feb 2018 16:26:19 -0800 (PST) Received: from [10.137.2.19] (ip-78-102-97-226.net.upcbroadband.cz. [78.102.97.226]) by smtp.gmail.com with ESMTPSA id m7sm4800112wrm.35.2018.02.25.16.26.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Feb 2018 16:26:18 -0800 (PST) Subject: Re: BUG #15086: Arrow keys do not work while using psql through SSH session To: rhemandaddy@googlemail.com, pgsql-bugs@lists.postgresql.org, PG Bug reporting form References: <151954891312.1459.12533013910617493016@wrigleys.postgresql.org> From: Tomas Vondra Message-ID: <5c4a050e-2fdb-dcbd-1687-b7a7a171f6c0@2ndquadrant.com> Date: Mon, 26 Feb 2018 01:26:15 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <151954891312.1459.12533013910617493016@wrigleys.postgresql.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 02/25/2018 09:55 AM, PG Bug reporting form wrote: > The following bug has been logged on the website: > > Bug reference: 15086 > Logged by: rheman pessek > Email address: rhemandaddy@googlemail.com > PostgreSQL version: 10.2 > Operating system: ubuntu server 16.04.3 > Description: > > Hi everyone. > I am not able to use arrow while using psql. So I cannot view previously > used commande > > I dont know what's wrong with my settings. > That seems very much like an issue with your shell/ssh, in which case psql is just an innocent victim. If the shell is filtering away some keys or something like that, there's nothing psql can do. FWIW I'm using psql over ssh pretty much every day, and I can't recall any such issues. Are the keys working in shell after you connect through ssh? Try disabling various profile tweaks and see if that helps. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services