View Issue Details

IDProjectCategoryView StatusLast Update
0000636LDMud 3.3Implementationpublic2009-05-25 09:55
Reporterzesstra Assigned Tozesstra  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionwon't fix 
Platformi686OSMacOS XOS Version10.5.x
Product Version3.3.718 
Target Version3.3.719 
Summary0000636: Wrong *****TRUNCATED**** message and fixed MAX_LINES in cat()
DescriptionI saw two issues in the efun cat():
1) the efuns adds the message *****TRUNCATED**** to the player, if the requested number of lines exceeds MAX_LINES (50). Due to an off-bye-one error the message gets also added, if no output is missing (e.g. a file has MAX_LINES lines and all are printed to the user - there is still a *****TRUNCATED****.)
2) MAX_LINES should be at least compile-time configurable. Right now there is no possbility to change it in config.h/configure.
TagsNo tags attached.

Relationships

related to 0000637 resolvedzesstra LDMud 3.5 RfC: Remove the efun cat() 

Activities

Gnomi

2009-05-18 07:44

manager   ~0001109

3) Non-english-speaking MUDs should have a chance to change the text.

zesstra

2009-05-18 08:49

administrator   ~0001110

Ok, there was a suggestion to remove the efun (write/tell_object() + read_file() is nearly the same). Anybody strongly against this?

Largo

2009-05-18 14:27

reporter   ~0001111

Good idea.

zesstra

2009-05-25 09:55

administrator   ~0001151

Ok. Because we decided to trash this efun in 0000637, I close this as WONTFIX.

Issue History

Date Modified Username Field Change
2009-05-18 07:40 zesstra New Issue
2009-05-18 07:40 zesstra Status new => assigned
2009-05-18 07:40 zesstra Assigned To => zesstra
2009-05-18 07:44 Gnomi Note Added: 0001109
2009-05-18 08:49 zesstra Note Added: 0001110
2009-05-18 14:27 Largo Note Added: 0001111
2009-05-25 09:54 zesstra Relationship added related to 0000637
2009-05-25 09:55 zesstra Note Added: 0001151
2009-05-25 09:55 zesstra Status assigned => closed
2009-05-25 09:55 zesstra Resolution open => won't fix