Join us on Discord!
You can help CodeWalrus stay online by donating here.

CTF Format [pc]

Started by kotu, February 15, 2017, 03:00:57 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

kotu

A couple of years ago I invented a file format called .CTF format - standing for 'control text format'

It is designed to be used for control systems and anything where detail or safety are important

It is based on RTF.... here is an example of the raw data in the file
{{ctfxtree}
{treedata '0' 'example 1'}
{treedata '0' 'example 2'}
{treedata '0' 'example 3'}
{treedata '1' '[_info_]'}
{treedata '1' '[_todo_]'}
}

{{ctf '1'}{c3}THIS IS A HEADING
/p {cx}this text is in blue this text is in blue this text is in blue this text is in blue
/p this text is in blue this text is in blue this text is in blue this text is in blue
/p this text is in blue this text is in blue this text is in blue this text is in blue
/p this text is in blue this text is in blue this text is in blue this text is in blue
/p
/p {c2}THIS IS A HEADING
/p {cx}this text is in green this text is in green this text is in green this text is in gr
/p this text is in green this text is in green this text is in green this text is in gr
/p this text is in green this text is in green this text is in green this text is in gr
/p this text is in green this text is in green this text is in green this text is in gr
/p
/p {c1}THIS IS A HEADING
/p {cx}this text is in red this text is in red this text is in red this text is in red this
/p this text is in red this text is in red this text is in red this text is in red this
/p this text is in red this text is in red this text is in red this text is in red this
/p this text is in red this text is in red this text is in red this text is in red this
/p
/p THIS IS A HEADING
/p this text is in black this text is in black this text is in black this text is in bl
/p this text is in black this text is in black this text is in black this text is in bl
/p this text is in black this text is in black this text is in black this text is in bl
/p this text is in black this text is in black this text is in black this text is in bl
/p
/p
/p                                                                                      This page is best.
/p
/p }

{{ctf '2'}{cx}THIS IS A HEADING
/p this text is in blue this text is in blue this text is in blue this text is in blue
/p this text is in blue this text is in blue this text is in blue this text is in blue
/p this text is in blue this text is in blue this text is in blue this text is in blue
/p this text is in blue this text is in blue this text is in blue this text is in blue
/p
/p THIS IS A HEADING
/p this text is in green this text is in green this text is in green this text is in gr
/p this text is in green this text is in green this text is in green this text is in gr
/p this text is in green this text is in green this text is in green this text is in gr
/p this text is in green this text is in green this text is in green this text is in gr
/p
/p THIS IS A HEADING
/p this text is in red this text is in red this text is in red this text is in red this
/p this text is in red this text is in red this text is in red this text is in red this
/p this text is in red this text is in red this text is in red this text is in red this
/p this text is in red this text is in red this text is in red this text is in red this
/p
/p THIS IS A HEADING
/p this text is in black this text is in black this text is in black this text is in bl
/p this text is in black this text is in black this text is in black this text is in bl
/p this text is in black this text is in black this text is in black this text is in bl
/p this text is in black this text is in black this text is in black this text is in bl
/p
/p
/p                                                                                      This should be ok.
/p
/p                                                                                      Ink!
/p
/p                                                                                      Mention mono preview.
/p
/p                                                                                      Paper vs Screens.
/p
/p                                                                                      This is second best.
/p }

{{ctf '3'}{cx}THIS IS A HEADING
/p {c3}this text is in blue this text is in blue this text is in blue this text is in blue
/p this text is in blue this text is in blue this text is in blue this text is in blue
/p this text is in blue this text is in blue this text is in blue this text is in blue
/p this text is in blue this text is in blue this text is in blue this text is in blue
/p {cx}
/p THIS IS A HEADING
/p {c2}this text is in green this text is in green this text is in green this text is in gr
/p this text is in green this text is in green this text is in green this text is in gr
/p this text is in green this text is in green this text is in green this text is in gr
/p this text is in green this text is in green this text is in green this text is in gr
/p {cx}
/p THIS IS A HEADING
/p {c1}this text is in red this text is in red this text is in red this text is in red this
/p this text is in red this text is in red this text is in red this text is in red this
/p this text is in red this text is in red this text is in red this text is in red this
/p this text is in red this text is in red this text is in red this text is in red this
/p {cx}
/p THIS IS A HEADING
/p this text is in black this text is in black this text is in black this text is in bl
/p this text is in black this text is in black this text is in black this text is in bl
/p this text is in black this text is in black this text is in black this text is in bl
/p this text is in black this text is in black this text is in black this text is in bl
/p
/p
/p                                                                                      This is hard to read and wastes lots of ink.
/p
/p                                                                                      But looks nice.
/p
/p                                                                                      Third best.
/p }

{{ctf '0'}{c2}The Information Principle
/p {cx}  - can extra information be added with italics?
/p
/p
/p {c3}The Importance Principle
/p {cx}  - everything on the page will be important
/p   - the format forces rapid file creation - no underline
/p
/p
/p {c1}What Will It Be Used For?
/p {cx}  - air traffic control
/p   - nuclear power stations
/p   - military
/p   - gambling systems
/p   - any control system
/p   - and basic notes
/p
/p
/p
/p {s}                   >
/p {/s}{c2}ACTIVE{c3}PRINT
/p {cx} - ink spares need to be kept in this model
/p  - {c3}doctors{cx} do not use this much
/p
/p {s}                   >
/p {/s}CTF is not for writing stories
/p
/p }

{{ctf '0'}{c2}CRUSHING STABILITY
/p
/p     - 'like' a rock -  with a light sweat fragrance
/p {cx}
/p
/p {c3}node redirection - X3 (paste as sibling, paste as child, move)
/p {cx}
/p {c1}research_
/p
/p
/p
/p {c3}CONTROL TEXT EDITOR {c2}- v 1.0
/p
/p {c3}NOTETAKER{c2} - v 1.2
/p {c1}
/p
/p }



To understand the format and its purpose fully you can read the help file I made which is at http://futurerave.uk/file/ctf_help.chm  (colour is used in a unique way in CTF and the help explains why, to do with different energy states)

I have not supplied an executable for this as the program is only in a prototype stage. This post is more to gauge anyone's opinions of the file format. It's actually quite a useful thing imo ..... but atm I just use it for basic notes

The help file only takes 5 minutes to understand and read.


  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

kotu

just thought i would add, this was not actually a piece of clever design, it was more of a random coincidence, which ended up serving more than one purpose

the way the format came about was...... i wanted to invent a custom text format, just for my own use, for making notes and things. i decided that the format i wanted was 4 colours (key red green blue), strikethrough, and nothing else

the rest of it came later  ;)
  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

Dream of Omnimaga

Hm interesting, I'll have to study your format thoroughly to understand it, though. I haven't used stuff other than plain text in years.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

kotu

it's all based around sequences of events, starting cool, peaceful, then becoming alert, then becoming extremely aware and active and capable of moving quickly and taking decisions. Blue -> Green -> Red

in actual life you could also have 3 inch by 6 inch cards in the separate colours to have by your desk for the different segments. this actually helps
  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

p2

so this is an alternative to Markdown Syntax (.md) which for example WIkipedia uses? :)
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

kotu

  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

p2

it appears to contain no text, at least it's shown as 4 empty documents on my laptop...  :-\
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

kotu

#7
oh yeah don't know why that is .... will paste the pages here.... please forgive me everyone as this will have to involve 3 or 4 topposts (which I secretly enjoy :trollface: )


Notetaker Introduction

_______________________
Notetaker Introduction
Welcome to the Notetaker help system.


Notetaker is a simple app designed for making notes, and more specifically, for editing CTF (control text format) files. This makes the app particularly useful when dealing with control systems, or any situation where safety and detail are paramount.

The formatting options for CTF files are extremely limited, to keep everything simple. For that reason CTF is sometimes referred to as 'controlled text format'.
[close]

What are CTF files?
____________________________________
What are CTF files?
They are very simple. They allow simple formatting of text. This includes 4 colours including black, and strikethrough. This is the only formatting the format allows.

What are they for?

The format is particularly useful when dealing with control systems, or any situation where safety and detail are paramount. They are used for making printouts, for example of safety detail or instructions, and for making checklists to be ticked off on the PC.

They are also useful for simple tasks like shopping lists and for simple notes.

The Information Principle
Can extra information really be added with italics? No.

The Importance Principle
Everything on the page will be important.

The format forces rapid file creation - no underline.

Bold
Non-bold keeps you calm.

Bold has you panicking around and keeps you panicking ie. 'the information is only here'. The bold font also conveys excessive importance and this goes against the importance principle, which says that all the text is important.

Colour
Caps is used for doing headings and colour is very direct - it directs you.

The three colours available are red, green and blue.

These colours correspond to different energy states. Red symbolises urgency. Blue and green indicate peaceful states.

Is there a focus on printing?
Yes.
[close]

What Could It Be Used For?
What Could It Be Used For?
- air traffic control

- nuclear power stations

- military

- gambling systems

- any control system

- and simple notes.

What does it look like?





What does it look like in black?




A third example



How should you use the colours in a control environment?
Blue - for things that were done or checked last night, 'everything is ok'

Green - keeps you awake - 'be alert'

Red - very important. NOW

BLUE AT THE TOP RED AT THE BOTTOM IN A SEQUENCE

YOU SHOULD ALWAYS INCLUDE A GREEN SECTION
[close]

Tips
________________________
Tips
- be prepared to run out of ink
[close]
  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

Powered by EzPortal