Thanks for the patch link. I had to regenerate it, and I'm wondering if I missed something. The patch as I added it (attached below) does get rid of the warning from date, but all the other errors still seem to be there and Firefox still displays only a blank page, as do Links and W3M. Errors on the arc tty are very similar:
reference to undefined identifier: _ranked-stories*
As to Lynx I found this forum doesn't support it either, and I'm not sure I blame it. I tried logging in from my Zaurus, only to get an error about invalid content length. I'm annoyed with Lynx more than the forum. It's been around long enough.
+(def uname nil
+ (let val (tostring (system "uname"))
+ (subseq val 0 (- (len val) 1))))
+
(def date ((o time (seconds)))
- (let val (tostring (system (string "date -u -r " time " \"+%Y-%m-%d\"")))
+ (let val (tostring (system
+ (string
+ "date -u "
+ (if
+ (is (uname) "Linux")
+ ;; Linux wants -d and an interval
+ (string "-d \"" (- 1 (since time))
" seconds\"")
+ ;; BSD wants -r and epoch seconds
+ (string "-r " time))
+ " \"+%Y-%m-%d\"")))
(cut val 0 (- (len val) 1))))
(def count (test x)
Edit: Fixed the newlines. >_> I hope I didn't screw up the patch.
Edit #2: Or not. What kind of forum is this? One that likes proper <p> tags... Okay, I could live with that but honestly, what kind of coding-discussion forum does that make it?
ordinary text you want to put in a single
paragraph
(indent two spaces
(to get code)
(that is readable)
(make sure
(to put empty lines before and after)))
Points 1 & 2 also apply to Source Mage GNU/Linux, and for point 5, man pages are good for most packages and for the system these days, there is a developing wiki maintained by the distro, and documentation that may be missing is made up for by the helpfulness of the people in the IRC channel.
Point 3 largely applies in that building every package you install is far more automated than in LFS, and most of the "spells" (ports, packages) are kept up to date regularly (Gnome included), and it's very easy to update any that may have been forgotten, or to add missing packages. It took me about 5 minutes to clone the mzscheme spell to "mzscheme352" for Arc use. OTOH you still have to deal with the behemoth that is the Linux kernel configuration. I cheated; I got hold of a Debian kernel and used it as a base for make oldconfig, later tweaking a little.
Ah, I guess my bit-twiddling background is showing, because I don't like to think of strings as single entities. Symbols exist for that and are more efficient all-round, if I understand right.