think tank forum

ttf development » idea: ttf command line program or bbs

dannyp's avatar
14 years ago
link
dannyp
dʎuuɐp
$
$ttf dannyp
Password:

{{clear screen}}








i'm extremely interested in squalor.








{{any key to continue}}

ttf>ls

1. general discussion
- stick it here if it doesn't fit
2. music and entertainment
- songs, lyrics, shows, movies, and culture
3. news and politics
- news articles, surveys, current events, policy
4. philosophy and religion
- should be fairly obvious..
5. technology
- hardware, networking, operating systems, and appliances
6. art and poetry
- digital photography to poetry to life (it's the art that you make)
7. ttf development
- ideas, suggestions, bugs, and coding

ttf>cd gd
ttf>pwd
~/ttf/general_discussion
https://www.thinktankforums.com/forum.php?forum_id=1
ttf>ls

title author posts views
01. ► one line only! lucas 780 6320
02. a different ttf dannyp 25 309
03. ► dairy free diet Chiken 20 159
04. ► what happened? lucas 425 3247
05. ► school updates lucas 244 1803
06. ► argyle lucas 38 291
07. ► end of season sales lucas 18 209
08. ► It was a good day! DaGr8Gatzby 282 2261
09. ► Name Change Weasley 7 73
10. awesome things done today pt 6 bluet 161 1215
11. Request Thread DaGr8Gatzby 37 284
12. ► plans v asemisldkfj 130 1056
13. ► terrible things done today Étrangère 282 2362
14. High. phi_ 48 426
15. free stuff nestor 176 8857

ttf>cd 01
ttf>ls

01. lucas <3 theory 3 years ago
half way home.

02. phi_ The Grandest Man in the Universe. 3 years ago
Slacking off.

03. lucas <3 theory 3 years ago
enough to curse any man who can't appreciate the depth of the ocean
[...]
{{any key for next page}}
ttf>p non-polar yet supreme polarity.
ttf>
ttf>ls -n

[...]
FC. phi_ The Grandest Man in the Universe. 1 month ago
"Only hacks like O. Henry and Agatha Christie confused narrative art with "telling a good story" in Spielberg's sense."

FD. Étrangère talks like one of the guys but doesn't smile that way 1 month ago
talks like one of the guys but doesn't smile that way

FE. dannyp birth, travel, bmt, socal, bmt, socal, travel, death. moments ago
non-polar yet supreme polarity.
ttf>quit
$

<3 I know this is incomplete but I tried to make this pretty comprehensive as quickly as possible!

===========

The following are analogs of the unix commands for use with the ttf program:

cd



NAME
cd - change working forum directory
SYNOPSIS
cd [forum directory [gd|me|np|pr|t|ap|td|1-7]]

DESCRIPTION
forum directory is an absolute or relative pathname which becomes the new work-
ing directory.
[...]



ls



NAME
ls - list directory contents

SYNOPSIS
ls [-n]

DESCRIPTION
For each named directory, ls displays text and directories contained within
that directory, as well as any requested, associated information.

The options are as follows:

-n Display newest posts
[...]


p



NAME
p - post text or a filename

SYNOPSIS
p [*.txt][{Text}] ['forum directory/thread'|url]

DESCRIPTION
The p command posts text to a given directory or url.
[...]


passwd



NAME
passwd - modify a user's password

SYNOPSIS
passwd [user]

DESCRIPTION
passwd changes the user's ttf password. First, the
user is prompted for their current password. If the current password is
correctly typed, a new password is requested. The new password must be
entered twice to avoid typing errors.
[...]


pwd



NAME
pwd - return working forum directory name

SYNOPSIS
pwd

DESCRIPTION
The pwd utility prints the absolute pathname and url of the current working di-
rectory to the standard output.
[...]


who



NAME
who - display who is logged in

SYNOPSIS
who [-q]
who am i

DESCRIPTION
The who utility displays a list of all ttf users currently logged on, showing
for each user the login name.
[...]



ttf files:

.log/postlog200910151821
.ssh/authorized_keys
ttf
ttf.conf
posts/
phi_'s avatar
14 years ago
link
phi_
... and let the Earth be silent after ye.
I like!

But I can't imagine what sort of coding would be required to parse the site and format for cli...
lucas's avatar
14 years ago
link
lucas
i ❤ demo
i'm guessing it would be incredibly easy.

cool idea!
nny's avatar
14 years ago
link
nny
M̮͈̣̙̰̝̃̿̎̍ͬa͉̭̥͓ț̘ͯ̈́t̬̻͖̰̞͎ͤ̇ ̈̚J̹͎̿̾ȏ̞̫͈y̭̺ͭc̦̹̟̦̭̫͊̿ͩeͥ̌̾̓ͨ
I've been writing in python using their curses module recently. it's far easier than C code. very well abstracted.
dannyp's avatar
14 years ago
link
dannyp
dʎuuɐp
I just recently had a lot of nostalgia for BBS's, even though this is more like a command line idea, BBS mentality was behind it. I just don't know how the coding goes for those applications really so I couldn't sketch it up easily.

Anyone around on BBS's back in the day?
lucas's avatar
14 years ago
link
lucas
i ❤ demo
i would put everything in the php scripts on the ttf server. all the local script would do is send curl requests and print the response verbatim.
lucas's avatar
14 years ago
link
lucas
i ❤ demo
i suppose the response could be in xml or json.
nny's avatar
14 years ago
link
nny
M̮͈̣̙̰̝̃̿̎̍ͬa͉̭̥͓ț̘ͯ̈́t̬̻͖̰̞͎ͤ̇ ̈̚J̹͎̿̾ȏ̞̫͈y̭̺ͭc̦̹̟̦̭̫͊̿ͩeͥ̌̾̓ͨ
Actually points for the guy who interfaces thinktankforums into a fuse filesystem
bluet's avatar
14 years ago
r2, link
bluet
http://omploader.org/vMmtjbw

http://codepad.org/ko2ZCIOq

http://codepad.org/CPR9Bk27
lucas's avatar
14 years ago
link
lucas
i ❤ demo
nice. i'll strip all the html/css crap and output in xml. then your script can be even cleaner.
bluet's avatar
14 years ago
link
bluet
I actually use this for TTF now. :)
Chiken's avatar
14 years ago
link
Chiken
Don't Let Your Walls Down
i strangely want to give this a try.
dannyp's avatar
14 years ago
link
dannyp
dʎuuɐp
hahahha YES!!!
bluet's avatar
14 years ago
link
bluet
http://omploader.org/vMmtmdA
bluet's avatar
14 years ago
link
bluet
http://ciew.wingedleopard.net/clittf/ttf.py
bluet's avatar
14 years ago
link
bluet
The above script fixes some bugs seen in the screenshot.
dannyp's avatar
14 years ago
link
dannyp
dʎuuɐp
bump: fucking awesome
bluet's avatar
14 years ago
link
bluet
Anyone still using this?
dannyp's avatar
14 years ago
link
dannyp
dʎuuɐp
yeah!