Scroll to navigation

TREK(6) Games Manual TREK(6)


trektrekkie game


trek [[-a] file]


trek is a game of space glory and war. Below is a summary of commands. For complete documentation, see Trek by Eric Allman.

If a filename is given, a log of the game is written onto that file. If the -a flag is given before the filename, that file is appended to, not truncated.

The game will ask you what length game you would like. Valid responses are “short”, “medium”, and “long”. You may also type “restart”, which restarts a previously saved game. You will then be prompted for the skill, to which you must respond “novice”, “fair”, “good”, “expert”, “commodore”, or “impossible”. You should normally start out with a novice and work up.

In general, throughout the game, if you forget what is appropriate the game will tell you what it expects if you just type in a question mark.


  • pture
  • oak up/down
  • omputer request; ...
  • mages
  • ck
  • mpulse course distance
  • rscan
  • ove course distance
  • hasers automatic amount
  • hasers manual amt1 course1 spread1 ...
  • orpedo course [yes] angle/no
  • course distance
  • est time
  • ields up/down
  • rscan [yes/ no]
  • atus
  • es/no
  • ndock
  • isual course
  • arp warp_factor


Eric Allman


The complete documentation, Trek by Eric Allman, is in /usr/share/doc/bsdgames/ which can be viewed using

cd /usr/share/doc/bsdgames
zcat | tbl | nroff -me | less -r

Or you can view a PDF version of the documentation, available here:

December 30, 1993 Debian