Project

General

Profile

Ron test

So, it seems, indenting after a blank line  triggers the indenting regardless of whether or not one is in "Inline Code"
The next line indented
Basically the same except no "Inline Code" 
The next line indented
In the next code snippet, the following seem to be critical:
  1. indenting (by some random amount) the first line
  2. indenting (again, by some random amount) the first "{" (I don't understand why yet :)
  3. having no blank (or just " ") lines -- I fill with "@ @"
int
main( int argc
, char *argv[] ) {
struct timeval tv, tv0, dtv;
char str[80];
time_t local;

tprintf( "hello %ld\n", vsyscall(SYS_vgettimeofday,0,0) );

gettimeofday( &tv, NULL );
local = tv.tv_sec;
strftime( str, sizeof(str), " %T", localtime(&local) );
printf( "%s.%06ld tv.tv_sec=%ld\n", str, (long) tv.tv_usec, (long)tv.tv_sec );
tv0 = tv;

gettimeofday( &tv, NULL );
local = tv.tv_sec;
strftime( str, sizeof(str), "%Y.%m.%d %T", localtime(&local) );
printf( "%s.%06ld\n", str, (long) tv.tv_usec);

tv_sub( &dtv, &tv, &tv0 );
printf( " %6ld.%06ld\n", (long)dtv.tv_sec, (long)dtv.tv_usec );

return (0);
} /* main */
In the next code snippet, the following seem to be critical:
  1. indenting (by some random amount) the first line
  2. indenting (again, by some random amount) the first "{"
  3. having no blank (or just " ") lines -- I fill with "@ @"
  4. "*" followed by any character (ie "/", which ends a comment) needs to be changed to "**/@ @*"
  5. indented "{" need to have extra indenting (how much, I don't know yet)
  6. don't worry about a final (i.e. at the end of the snippet) "*/"
int
main( int argc
, char *argv[] ) {
struct timeval tv, tv0, dtv;

if (true) { /* another block (indented) */
local = tv.tv_sec;
strftime( str, sizeof(str), " %T", localtime(&local) );
printf( "%s.%06ld tv.tv_sec=%ld\n", str, (long) tv.tv_usec, (long)tv.tv_sec );
}

return (0);
} /* main */

Now, you can add links (or maybe not :(:

int
main( int argc
, char *argv[] ) {
struct timeval tv, tv0, dtv;

if (true) // more info { /* another block (indented) */
local = tv.tv_sec; // source:"subdir0/testfile0#L2"
strftime( str, sizeof(str), " %T", localtime(&local) );
printf( "%s.%06ld tv.tv_sec=%ld\n", str, (long) tv.tv_usec, (long)tv.tv_sec );
}

return (0);
} /* main */

this is
a
test (of a block quote)
where this line has spaces at the beginning and extra spaces within

A blank line stops the "block quote"
The 2 git repos can be fetched:

git clone ssh://p-rontest@cdcvs.fnal.gov/cvs/projects/rontest                   
git clone ssh://p-rontest@cdcvs.fnal.gov/cvs/projects/rontest-rontest-git-repo-2

Link to secondary repo file: source:rontest-git-repo-2|Makefile
this should also work (it's more basic): source:subdir0/testfile0#L2
OR Makefile

Link to README v0_0 in primary repo: README
Link to README v0_1 in primary repo: README
Download/wget via https://cdcvs.fnal.gov/redmine/projects/rontest/repository/revisions/v0_1/raw/README

This is supposedly raw html. And I know that
in raw html, that, basically, fill mode is on. So
if I make
a lot of
short lines (some with
spaces at the beginning of the line), they
should get
concatenated.

I wonder if you can have (wiki) links in the supposedly raw html

Some more lines
this is indented in the source

This is indented after a blank line

Now out of the supposedly raw html and into the inline Code env:
@ this is the
inline code env

with    blank lines
and extra spaces in the beginning and within.
This may be the way to put code into the wiki which has links!!!!!!!
@

Oh, it seems that a blank line followed by a line that begins with
spaces is significant. Also, for inline code, the inline part is

  • on one line
  • and just between the signs (and there cannot be a space between the first and the first word of the inlining.

Need a line to stop list??

   // lets see if I'm right
for (unsigned ii=0; ii<10; ++ii)
{
    printf( "ii=%u\n", ii );     // see repo: @source:some/file#L120@
}
// previous line was just spaces

Now out of the supposedly raw html and into the inline Code env:
@ this is the
inline code env

with    blank lines
for and extra spaces in the beginning and within.
This may be the way to put code into the wiki which has [[ron_test_link]]!!!!!!!
@

inline code
inline code
inline code
inline code
inline code


A inline code

@
B inline code

B inline code

B inline code

B inline code
@

gif image file
Some text after image.
Search cannot find text in gif images.