From: Roberto Rosetti <rob.rosetti@gmail.com>
To: guile-user ML <guile-user@gnu.org>
Subject: How to flush history ?
Date: Sun, 02 Aug 2009 11:22:22 +0200 [thread overview]
Message-ID: <1249204942.25578.5.camel@ubuntu> (raw)
[-- Attachment #1: Type: text/plain, Size: 468 bytes --]
Hi all,
I'm wondering how to flush the recent readline history to a file. I need
this feature for an educational project.
The purpose is to permit the REPL user to save his entire history with a
simple command. Something like (flush-history <params>)
I've read something about (loggin logger) module but there are not
examples about hooks and coding.
I'm not a guile hacker,I'm still learning..
Thanks in advance.
--
Roberto Rosetti
OpenPGP Public key: 30575161
[-- Attachment #2: Type: text/html, Size: 832 bytes --]
next reply other threads:[~2009-08-02 9:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-02 9:22 Roberto Rosetti [this message]
2009-08-14 21:39 ` How to flush history ? Neil Jerram
2009-08-15 17:01 ` Roberto Rosetti
2009-08-26 21:38 ` Neil Jerram
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1249204942.25578.5.camel@ubuntu \
--to=rob.rosetti@gmail.com \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).