pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Boban Acimovic <acim@mbl.is>
To: pgsql-admin@postgresql.org
Subject: Re: Settings using PuTTy
Date: 13 Dec 2001 17:28:39 +0000
Message-ID: <1008264519.28162.12.camel@acim.mbl.is> (raw)
In-Reply-To: <200112131702.MAA12302@www.wgcr.org>
References: <3BFE200C.AA5197AD@geyer.kabeljournal.de>
	<94184755384.20011213135228@unileon.es>
	<200112131702.MAA12302@www.wgcr.org>

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




view thread (7+ messages)  latest in thread

Message-ID: <1008264519.28162.12.camel@acim.mbl.is>
Permalink:  ../1008264519.28162.12.camel@acim.mbl.is/
Also on:    postgresql.org/message-id/1008264519.28162.12.camel@acim.mbl.is

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: acim@mbl.is
  Subject: Re: Settings using PuTTy
  In-Reply-To: <1008264519.28162.12.camel@acim.mbl.is>
  References: <3BFE200C.AA5197AD@geyer.kabeljournal.de> <94184755384.20011213135228@unileon.es> <200112131702.MAA12302@www.wgcr.org> <1008264519.28162.12.camel@acim.mbl.is>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox