Received: from pascal.mbl.is (pascal.mbl.is [193.4.96.33]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fBDHSdm66520 for ; Thu, 13 Dec 2001 12:28:39 -0500 (EST) (envelope-from acim@mbl.is) Received: from acim.mbl.is (3-244.mbl.is [192.168.3.244]) by pascal.mbl.is (8.11.6/linuxconf) with ESMTP id fBDHSdB00332 for ; Thu, 13 Dec 2001 17:28:39 GMT Subject: Re: Settings using PuTTy From: Boban Acimovic To: pgsql-admin@postgresql.org In-Reply-To: <200112131702.MAA12302@www.wgcr.org> References: <3BFE200C.AA5197AD@geyer.kabeljournal.de> <94184755384.20011213135228@unileon.es> <200112131702.MAA12302@www.wgcr.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/0.99.0 (Preview Release) Date: 13 Dec 2001 17:28:39 +0000 Message-Id: <1008264519.28162.12.camel@acim.mbl.is> Mime-Version: 1.0 X-Archive-Number: 200112/94 X-Sequence-Number: 2817 BTW, I am using OpenSSH server (Solaris 6, 7, 8) and client (Linux - KDE - konsole) and I have the same problem with psql. So, this is not specific to PuTTy. This must be possible to fix completely with TTY settings, but I never had time to check this further out. Besides, I am not using psql so often. I didn't figure out how to get backspace and arrow keys to work correctly, but I can help you to be able to delete at least. In .bashrc (this file is in the home directory of your user on remote machine) add this line: stty erase ^? This will make Ctrl-h to behave just like backspace. This is old UNIX delete key used by vi as well. The right solution is to fix psql to behave just like other modern UNIX console software. Regards, Boban Acimovic www.mbl.is