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 th

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" ymd>timestamp time- duration>days On Wed, Sep 3, 2014 at 1:22 AM, Georg Simon wrote: > Am Tue, 2 Sep 2014 19:09:45 -0700 > schrieb Alex Vondrak : > > Thank you. > > > ... > > > > That is, if it weren't for the GMT b

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 key

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 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 > http://

Re: [Factor-talk] Dollar amounts

2014-09-03 Thread John Porubek
On Wed, Sep 3, 2014 at 4:20 AM, mr wzrd 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 http://fun-factor.blogspot.com/2009/10/system-wide-factor.

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 : 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 needed, but am just u

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 : 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 the up arrow, and

Re: [Factor-talk] Dollar amounts

2014-09-03 Thread Georg Simon
Am Wed, 03 Sep 2014 04:20:06 -0400 schrieb mr wzrd : > 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 -- Slashdot TV.

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 : Thank you. > ... > > That is, if it weren't for the GMT bit, you could just say > `"2014-08-31" > ymd>timestamp ago duration>days`. In fact, that would make a nice > ymd>word: `: > days-ago ( timestamp -- days ) ago duration>days ;` > Bu

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] Dollar amounts

2014-09-03 Thread mr wzrd
On 09/03/2014 12:00 AM, mr wzrd wrote: Was thinking about the fact that some GUI's are wrappers around an existing command-line utility. On linux, brasero and cdrecord are one example. Then was thinking about man pages and the fact that some have been converted from their original text for