Opened 17 years ago
Closed 17 years ago
#1475 closed bug (fixed)
fortune doesn't work
Reported by: | bbjimmy | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications/Command Line Tools | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Type fortune in the terminal and get an error.
Attachments (3)
Change History (7)
by , 17 years ago
comment:1 by , 17 years ago
Replying to bbjimmy:
Type fortune in the terminal and get an error.
The fortune.c file I uploaded is a fix( sort of anyway ). fortune will now look for "\n%\n" instead of "#@#" as a delimiter. it also opens a file named default in /boot/beos/etc/fortunes/. this means that one of the included fortune files must be renamed default. It still does not allow a command line file selection. One of these days I might learn how to program in c or c++. until then i'll stay with basic and hac some c files by guess, trial and error.
comment:2 by , 17 years ago
Have tested this patch and it works if you rename one om the files to default..
So applaying this patch and renaming one of them (or make a link) and then I think we can close this one for now :)
comment:3 by , 17 years ago
Status: | new → assigned |
---|
comment:4 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I didn't actually use your patch, but thanks anyway! :-) Fixed in hrev23788.
rename Fortunes fo default ( beos compatable) aand fortune works again