From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 12 11:21:24 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2C4B16A41F for ; Wed, 12 Oct 2005 11:21:24 +0000 (GMT) (envelope-from nuno.antunes@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7996443D45 for ; Wed, 12 Oct 2005 11:21:24 +0000 (GMT) (envelope-from nuno.antunes@gmail.com) Received: by zproxy.gmail.com with SMTP id 40so105977nzk for ; Wed, 12 Oct 2005 04:21:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=OMtPpvONCiTZatETw1v2G1l/rfty7et/hqdahd5iYYdIPW/w8MgpHZ3/IwwOx4xmT1qZcOLDD3Mr5qMVaUX805Fhu6hw1RQm9OOqtC0imW+RGckjfz8o97P5VjlNmF/JxLDn15VpYdhwzwXHdwq+dsHhs7YtpgQOzvD2jP2r5ck= Received: by 10.36.247.71 with SMTP id u71mr603020nzh; Wed, 12 Oct 2005 04:21:23 -0700 (PDT) Received: by 10.36.196.9 with HTTP; Wed, 12 Oct 2005 04:21:23 -0700 (PDT) Message-ID: <262949390510120421yc7a0c50p4286753a01401a6a@mail.gmail.com> Date: Wed, 12 Oct 2005 12:21:23 +0100 From: Nuno Antunes To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: How to redisplay a libedit command line? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Oct 2005 11:21:25 -0000 Hi, I'm trying to add support for command line editing to ngctl via libedit. Mo= st work is done, but I need to have the command line redrawn after printing whatever data is received on the control or data socket of ngctl. I've searched but can't seem to find how to redraw the line. Is there a libedit "internal" way of doing this, or do I have to retrieve the current = line content and then re-print it manualy? Please excuse me if this is not the correct mailing list for this question. Thanks, Nuno Antunes