======= Updates ======= 06-12-2014 16-01-2015 06-02-2015 14-02-2015 15-02-2015 17-02-2015 ============= Updates notes ============= Mainly updating of editor text formating menu-items on whole text or selected text... Updates are done against the earlier release of filegarden in http://redstone.sourceforge.net/software/dump/15082008/ dated around late 2009 with updates from http://redstone.sourceforge.net/software/dump/BINARIES_2011/ dated late 2011. Tested on ubuntu kernel-release 2.6.15-23-386, fedora 2.6.29.4-167.fc11.i586 and slax 7, dsl 4.11 Should work but if encountering problems , you can email me at alred2@lycos.com ... ============= Updated files ============= FileGarden ==> copy it to /opt/redstone/FileGarden directory Unit1.pas Unit3.pas ==> you dont need them as its the Unit source for FileGarden cdrom1:APASS_cdromStr ==> copy it to your [HOME]/redstone/resource directory XFGMemoAWK%Center align XFGMemoSCRIPT%Capitalise vowels XFGMemoSCRIPT%Center align padding http://redstone.sourceforge.net/software/etc/_DjVu_EXTRACT ===> copy them to /opt/redstone/mainlib/resource directory or your [HOME]/redstone/resource directory PClass_Command_RedStone_01.so ==> copy it to /opt/redstone/mainlib directory PClass_Command_RedStone.pas ==> you dont need it as its the source for PClass_Command_RedStone_01.so ========================= samples configurations :: -------------------------------------------------------------------- Updating your "xfg.conf" which resides in [HOME]/redstone/FileGarden -------------------------------------------------------------------- .... .... [Example] Print editor lines to ps=%GetCustomCommand%XFGMemoInsertAtLine%GetValue%XFGMemoInsertXFGCommandTag Get files from web dir=%GetCustomCommand%XFGMemoInsertAtLine%GetValue%XFGMemoInsertXFGCommandTag ... ... [Format ...] Wrap=%GetCustomCommand%DoXFGMemoWrap Capitalise vowels=%GetCustomCommand%DoXFGMemoSCRIPT%sed -f %SCRIPTFILE% Delete leading whitespace=%GetCustomCommand%DoXFGMemoSCRIPT%sed 's/^[ \t]*//' Center align padding=%GetCustomCommand%DoXFGMemoSCRIPT%awk -v wcL=$(wc -L < %MEMOIN%) -v D=%INPUTDLG% -f %SCRIPTFILE% Center align=%GetCustomCommand%DoXFGMemoAWK%0 Insert line number=%GetCustomCommand%DoXFGMemoLineNumbering Exclude duplicates=%GetCustomCommand%DoXFGMemoExludeDuplicates Delete line with occurrence of characters=%GetCustomCommand%DoXFGMemoDeleteLineOfStrings Add text from the start=%GetCustomCommand%DoXFGMemoAppendLeftWith ... ... [Insert ...] HTML page format=%GetCustomCommand%XFGMemoInsertFormat%XFGMemoInsertHTMLFormat SGML page format=%GetCustomCommand%XFGMemoInsertFormat%XFGMemoInsertSGMLFormat LaTeX page format=%GetCustomCommand%XFGMemoInsertFormat%XFGMemoInsertTeXFormat -------seperator2=1 HTML editor tag ...=%CREATENEW% SGML editor tag ...=%CREATENEW% LaTeX editor tag ...=%CREATENEW% ----------seperator23=1 ls currentdir=%GetCustomCommand%XFGMemoInsert%ls -a echo=%GetCustomCommand%XFGMemoInsert%echo "XFG FileGarden1.2.4D" GUID=%GetCustomCommand%DoXFGMemoInsertGUID Generate UUID=%GetCustomCommand%XFGMemoInsert%uuidgen .... .... ------------------------------------------------------------------------------------- Updating your "XFGMemoInsertXFGCommandTag " which resides in [HOME]/redstone/resource ------------------------------------------------------------------------------------- [Command] ... Get ps/pdf from web dir=xterm -hold -e 'any2djvu -r 400 -a -c -o 1 -f 2 htp://example1.net %XFGMemoInsertExecuteThisCommand_LN%' ... ... ======= End ... ======= Added val %GET_USER_RESOURCE_PATH% and %GET_APP_DATA_DIR% for application and script dialog configurations example :: %GET_USER_RESOURCE_PATH%file_1 ===> ~/redstone/resource/file_1 %GET_APP_DATA_DIR%file_2 ===> ~/redstone/FileGarden/data/file_2 Added val %StripPathFromOutputFileName% for application and script dialog configurations with filename not applicable if supplied with a directory path example :: %StripPathFromOutputFileName%%out %StripPathFromOutputFileName%&out %StripPathFromOutputFileName%!out Added val %NoCheckFileExist% for application and script dialog configurations with filenames not exist or searchable on local disk or current directory example :: %NoCheckFileExist%$in %NoCheckFileExist%!in %NoCheckFileExist%%in %NoCheckFileExist%&in The menu-item 'Center align' shown above comes with a value of 0 which disable padding with desired strings for the alignment while a value of 1 enable it Can have a look at :: http://sed.sourceforge.net/sed1line.txt http://www.pement.org/awk/awk1line.txt May or may not do some minor further updating within this same directory . If found anything , please let me know . The above should work but if encountering problems , you can email me at alred2@lycos.com ... .