2019-01-01 19:50:10 +00:00
|
|
|
#!/usr/bin/pdmenu
|
|
|
|
|
|
|
|
title:Cosmic Voyage
|
|
|
|
|
2019-01-03 01:31:54 +00:00
|
|
|
# desktop The space over which the menus appear.
|
|
|
|
# title The line at the top of the screen.
|
|
|
|
# base The line at the bottom of the screen.
|
|
|
|
# menu The normal color of text in a menu.
|
|
|
|
# selbar The selection bar in the menu, when over normal text.
|
|
|
|
# shadow The shadow of a window
|
|
|
|
# menuhot The color of text in a menu that is a hotkey.
|
|
|
|
# selbarhot The color of a hotkey when the selection bar is over it.
|
|
|
|
# unselmenu The color of a menu window that is not currently active.
|
|
|
|
|
|
|
|
# possible colors
|
|
|
|
# (bg valid) (fg only)
|
|
|
|
# black gray
|
|
|
|
# red brightred
|
|
|
|
# green brightgreen
|
|
|
|
# brown yellow
|
|
|
|
# blue brightblue
|
|
|
|
# magenta brightmagenta
|
|
|
|
# cyan brightcyan
|
|
|
|
# lightgray white
|
|
|
|
|
2019-01-01 19:50:10 +00:00
|
|
|
#Set a pleasing color scheme.
|
2019-01-03 01:31:54 +00:00
|
|
|
color:desktop:white:black
|
|
|
|
color:title:white:red
|
|
|
|
color:base:lightgray:red
|
|
|
|
color:menu:white:blue
|
|
|
|
color:selbar:white:red
|
|
|
|
color:shadow:gray:black
|
|
|
|
color:menuhot:yellow:blue
|
|
|
|
color:selbarhot:yellow:red
|
|
|
|
color:unselmenu:lightgray:black
|
2019-01-01 19:50:10 +00:00
|
|
|
|
|
|
|
#this is a comment
|
|
|
|
menu:main:Main Menu:Cosmic Voyage Menu System v1.0
|
2019-01-03 02:07:24 +00:00
|
|
|
show:Cosmic _Tools..::cosmic
|
|
|
|
show:_Communication..::comms
|
|
|
|
show:_Games..::games
|
|
|
|
nop
|
2019-01-10 02:04:11 +00:00
|
|
|
exec:_Wiki::/usr/local/bin/wiki
|
|
|
|
exec:_FAQ::/usr/local/bin/faq
|
2019-01-03 01:31:54 +00:00
|
|
|
nop
|
2019-01-03 02:07:24 +00:00
|
|
|
exit:E_xit
|
|
|
|
|
|
|
|
menu:comms:Communication:Reach out and touch someone
|
2019-01-10 02:04:11 +00:00
|
|
|
exec:_Mail (alpine)::/usr/bin/alpine
|
|
|
|
exec:_Mail (mutt)::/usr/bin/mutt
|
|
|
|
exec:_fellowsh::clear;/usr/local/bin/fellowsh
|
|
|
|
exec:_finger local users:truncate,edit:/usr/bin/finger "~user name:~@cosmic.voyage"
|
|
|
|
exec:_IRC (weechat)::/usr/local/bin/chat
|
2019-01-03 02:07:24 +00:00
|
|
|
group:_Talk
|
|
|
|
exec::makemenu: \
|
|
|
|
echo "menu:talk:Talk:Talk to other users"; \
|
2019-01-10 02:04:11 +00:00
|
|
|
for u in `/usr/bin/who | /usr/bin/cut -f 1 -d " "| /usr/bin/sort -u `; do \
|
|
|
|
echo "exec:$u::/usr/bin/talk $u"; \
|
2019-01-03 02:07:24 +00:00
|
|
|
done; \
|
|
|
|
echo "nop"; \
|
|
|
|
echo "exit:E_xit"
|
|
|
|
show:::talk
|
|
|
|
remove:::talk
|
|
|
|
endgroup
|
2019-01-01 19:50:10 +00:00
|
|
|
nop
|
|
|
|
exit:E_xit
|
|
|
|
|
|
|
|
menu:games:Games:Games and fun distractions
|
|
|
|
exec:_Dungeon Crawl Stone Soup::dcss
|
|
|
|
exec:_Space Invaders::/usr/games/ninvaders
|
|
|
|
exec:_Bastard Tetris::/usr/games/bastet
|
|
|
|
exec:_Nethack::/usr/games/nethack-console
|
|
|
|
exec:_Sudoku::/usr/games/nudoku
|
|
|
|
exec:_Zangband::/usr/games/zangband
|
|
|
|
exec:_Fortune:truncate:/usr/games/fortune | par -w 60
|
|
|
|
nop
|
|
|
|
exit:_Back to main menu..
|
|
|
|
|
|
|
|
menu:cosmic:Cosmic Tools:Tools related to the cosmic voyage story
|
2019-01-10 02:04:11 +00:00
|
|
|
exec:_QEC browser::/usr/local/bin/qec
|
|
|
|
exec:_Recent QEC Logs:truncate:/usr/local/bin/latest
|
2019-01-03 02:07:24 +00:00
|
|
|
nop
|
2019-01-10 02:04:11 +00:00
|
|
|
exec:_Log a new message::/usr/local/bin/log
|
|
|
|
exec:_Website regeneration:truncate:/usr/local/bin/web
|
2019-01-03 02:07:24 +00:00
|
|
|
nop
|
2019-01-10 02:04:11 +00:00
|
|
|
exec:_Author and Ship Lists:truncate,edit:/usr/local/bin/roster "~user or ship name (or blank for all):~"
|
|
|
|
exec:_Create a new ship:truncate,edit:/usr/local/bin/ship "~new ship name:~"
|
2019-01-01 19:50:10 +00:00
|
|
|
nop
|
|
|
|
exit:_Back to main menu..
|
|
|
|
|
2019-01-03 02:07:24 +00:00
|
|
|
|