From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 321812168704 X-Google-Groups: supmua X-Google-Thread: 3030fda1bf,57cb6c651ff106d7,start X-Google-Attributes: gid3030fda1bf,domainid0,public,googlegroup X-Google-NewGroupId: yes X-Received: by 10.194.133.40 with SMTP id oz8mr5611373wjb.2.1414965826748; Sun, 02 Nov 2014 14:03:46 -0800 (PST) X-BeenThere: supmua@googlegroups.com Received: by 10.152.161.234 with SMTP id xv10ls98182lab.99.gmail; Sun, 02 Nov 2014 14:03:45 -0800 (PST) X-Received: by 10.112.38.101 with SMTP id f5mr2014649lbk.7.1414965825951; Sun, 02 Nov 2014 14:03:45 -0800 (PST) Return-Path: Received: from mout.web.de (mout.web.de. [212.227.17.11]) by gmr-mx.google.com with ESMTPS id ea4si2273913lbc.0.2014.11.02.14.03.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Nov 2014 14:03:45 -0800 (PST) Received-SPF: pass (google.com: domain of ruthard.baudach@web.de designates 212.227.17.11 as permitted sender) client-ip=212.227.17.11; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ruthard.baudach@web.de designates 212.227.17.11 as permitted sender) smtp.mail=ruthard.baudach@web.de Received: from localhost ([92.74.159.7]) by smtp.web.de (mrweb102) with ESMTPSA (Nemesis) id 0LqlSQ-1YFB4d1evi-00eQ3d for ; Sun, 02 Nov 2014 23:03:45 +0100 From: Ruthard Baudach To: supmua Subject: format hook output Date: Sun, 02 Nov 2014 23:03:41 +0100 Message-Id: <1414965471-sup-8188@ruthard-lappi> User-Agent: Sup/0.20.0 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=-1414965824-560386-16551-7195-1-=" X-Provags-ID: V03:K0:WJsL89HMzuGvcs0QKJfG+PAjF9cPvBuQFVAKv3PqDKU8quw+nVO gn3GvFoNnj1/tcfIdSzfafVRgaOE7ARcHJpyk22wMF/IQ3K/e54mwPIVBK7sZr4ptpIJDSH cn99h8IPhEtv785Tcu6kqhmdvt/cMYzeP1WMDs7aZSRpg84E/HPQQo/kzjAkPi1ACy+w+mo Xett+J80vNgErhYHqwffw== X-UI-Out-Filterresults: notjunk:1; --=-1414965824-560386-16551-7195-1-= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable If I puts or print something inside a hook, it is put on the bottom of sup. One problem is, that \n does only produce a "next line" and no "carraige return", a problem often occoring if you try to print to a curses controlled terminal. How do I output some information in a curses-compliant way from a hook? Or where would be a good starting point to search the code of sup? Regards, Ruthard -- = Please encrypt and sign emails. My PGP-Id: AC5AC6C2 --=-1414965824-560386-16551-7195-1-= Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJUVqpAAAoJEA852hysWsbCPdAIAK8KhUcqRNQD/Gb79mh/mapB k2FvnGAY+vJFV/YDkztLUOYope0ldsHOoMkeT50mGJ4y/7S8mdZNC1n9L73pLiDU 9Ck4KmJGEIUKaLSwKCdc5FnWlT/N+ZBNI3YkWMCP/Q4qj2A/d7uQJz7IXaFuC/yz wg+1mSH4iA0SwTt6bTyu6k+lqq55m67AlSzjuNh5o+j+tjRyQyWyJ76ZIsxW7uIf gdvtlrbwSVAaMj4smV/GgnztdkimwfpjljsKg6zn1sWd1KuGhDigL/rUE2ZbN+0z lFMZKYIsg8I0gOVe4e1FAzNdr63jvqF2aaP5wWgJoaqZG61tdu+wFj9Rk1QF+ho= =BGaa -----END PGP SIGNATURE----- --=-1414965824-560386-16551-7195-1-=--