Re: [Factor-talk] Dollar amounts

2014-09-03 Thread mr wzrd
Then again, once one has got gpg working, with the commands saved in the terminal history, it is easier just to hit the up arrow a few times, recall the last working command, and hit enter ... Speaking of which, does the listener support command history?

Re: [Factor-talk] how to calculate count of days

2014-09-03 Thread Georg Simon
Am Tue, 2 Sep 2014 19:09:45 -0700 schrieb Alex Vondrak ajvond...@gmail.com: Thank you. ... That is, if it weren't for the GMT bit, you could just say `2014-08-31 ymdtimestamp ago durationdays`. In fact, that would make a nice ymdword: `: days-ago ( timestamp -- days ) ago durationdays

Re: [Factor-talk] Dollar amounts

2014-09-03 Thread Georg Simon
Am Wed, 03 Sep 2014 04:20:06 -0400 schrieb mr wzrd wzr...@gmail.com: Speaking of which, does the listener support command history? What I know is that it remembers the current session. Ctrl+P previous Ctrl+N next --

Re: [Factor-talk] Dollar amounts

2014-09-03 Thread mr wzrd
On 09/03/2014 04:25 AM, Georg Simon wrote: Am Wed, 03 Sep 2014 04:20:06 -0400 schrieb mr wzrd wzr...@gmail.com: Speaking of which, does the listener support command history? What I know is that it remembers the current session. Ctrl+P previous Ctrl+N next Is there a way to map Ctrl+P to

Re: [Factor-talk] Dollar amounts

2014-09-03 Thread mr wzrd
On 09/03/2014 04:25 AM, Georg Simon wrote: Am Wed, 03 Sep 2014 04:20:06 -0400 schrieb mr wzrd wzr...@gmail.com: Speaking of which, does the listener support command history? What I know is that it remembers the current session. Ctrl+P previous Ctrl+N next /Danke schön/ this is what I

Re: [Factor-talk] Dollar amounts

2014-09-03 Thread John Porubek
On Wed, Sep 3, 2014 at 4:20 AM, mr wzrd wzr...@gmail.com wrote: Speaking of which, does the listener support command history? You can wrap the console version of the listener with rlwrap which gives you persistent command history (very useful!). See

Re: [Factor-talk] Dollar amounts

2014-09-03 Thread mr wzrd
On 09/03/2014 11:39 AM, John Porubek wrote: On Wed, Sep 3, 2014 at 4:20 AM, mr wzrd wzr...@gmail.com wrote: Speaking of which, does the listener support command history? You can wrap the console version of the listener with rlwrap which gives you persistent command history (very useful!). See

Re: [Factor-talk] Dollar amounts

2014-09-03 Thread John Benediktsson
The command line listener does not have keybindings for history or searching, you can get that two ways: 1) using ``rlwrap ./factor`` which has the effect of adding history and emacs ctrl-a/k/d/n/p keybindings 2) using ``./factor -run=readline-listener`` which has a per-session history, emacs

Re: [Factor-talk] how to calculate count of days

2014-09-03 Thread John Benediktsson
Perhaps simpler would be just converting to GMT first: today gmt 2014-08-31 ymdtimestamp time- durationdays On Wed, Sep 3, 2014 at 1:22 AM, Georg Simon georg.si...@auge.de wrote: Am Tue, 2 Sep 2014 19:09:45 -0700 schrieb Alex Vondrak ajvond...@gmail.com: Thank you. ... That is, if

Re: [Factor-talk] how to calculate count of days

2014-09-03 Thread John Benediktsson
Oh, I see -- you want to compare a date in local time with a date in GMT without considering the timezone difference. Your solution seems okay, albeit a little complicated by trying to undo the notion of timezones. Perhaps as you play with it a bit , you might have some idea of improvements to