Zeal help page

Creating a web page
Email filter
Problems with tf?
Configuring the statistics on your pages
Screen commands

Zeal policy


Creating a web page

Using your favorite ftp program, upload your web pages to the directory public_html in your home directory. If you want to be listed in the "Userpages" section of the main page, name your main page index.html, otherwise, name it index.htm.



Email filter

Need to filter out your email? Put the following text in a file called .procmailrc in your home directory.

KILLFILE=~/.killfile
LOGABSTRACT=no
LOGFILE=/dev/null

# does KILLFILE exist & is non-zero?
:0:
* ? test -f $KILLFILE && test -s $KILLFILE
{
  # process $KILLFILE
  :0
  * ? /usr/bin/fgrep -i -f $KILLFILE
  /dev/null
}

You will now want to make the file which holds which addrress to filter,
name it .killfile in your home directory. here is a sample killfile:

jerk@earthlink.net
hell.org

Now any mail from jerk@earthlink.net or hell.org will be filtered.



Tinyfugue problems?

The default .tfrc has your files being stored in a directory called tf-dir. If this directory doesn't exist, create it. Or you could edit the .tfrc and remove the cd ~/tf-dir line.


Configuring the statistics on your pages

By default, some pages will have statistics on the bottom, to remove these from your pages, create a file called .htaccess in your public_html directory which looks like this:

phpShowInfo off
phpLogging off

Screen commands
During a screen session, these are the commands:

  C-a ?		(help)		Show all keybindings.
  C-a c		(screen)	Create new windows.
  C-a SPACE	(next)		Advance to next window (with wraparound).
  C-a C-a	(other)		Toggle between the current and previously
				displayed windows.
  C-a 0		(select n)	Switch to window n=0 ... 9.
   ...
  C-a 9		
  C-a w		(windows)	Show a list of window names in the status line.
  C-a a		(meta)		Send a literal C-a/C-s/C-q to the
  C-a s		(xoff)		process in the window.
  C-a q		(xon)		For instance, emacs uses C-a and C-s.
  C-a l		(redisplay)	Redraw this window.
  C-a W		(width)		Toggle between 80 & 132 columns mode. 
  C-a L		(login)		Try to toggle the window's utmp-slot.
  C-a z		(suspend)	Suspend the whole screen session.
  C-a x		(lockscreen)	Execute /usr/bin/lock, $LOCKCMD or a 
				built-in terminal lock.
  C-a H		(log)		Log stdout of window n to screenlog.n.
  C-a C-[	(copy)		Start copy mode.  Move cursor with h,j,k,l.
				Set 2 marks with SPACE or y.  Abort with ESC.
				(C-[ is ESC.)  Preceeding second mark with
				an a appends the text to the copy buffer.
  C-a C-]	(paste)		Output copy buffer to current window's stdin.
  C-a <		(readbuf) 	Read the copy buffer from /tmp/screen-exchange.
  C-a >		(writebuf)	Write the copy buffer to /tmp/screen-exchange.
  C-a d		(detach)	Detach screen. All processes continue and may
				spool output to their pty's, but screen
				disconnects from your terminal.  
  C-a D D	(pow_detach)	Power detach.  Disconnect like C-a d but also
				kill the parent shell.
  C-a K		(kill)		Kill a window and send SIGHUP to its process
				group.  Per default this would be C-a C-k,
				but it is redefined
				(think of killing a whole line in emacs).
  C-a : 	(colon)		Online configuration change.

These are the commands from the UNIX prompt:

screen -r [pid.tty.host|tty.host]
  Reattach to a specific detached session. The terminal emulator
  reconfigures according to your $TERMCAP or $TERM settings.
  When you have multiple screens detached, you must supply the session
  name.

screen -R reattaches to a detached session or (if none) creates a new
  session.

screen -d [pid.tty.host|tty.host]
  Detach a screen session remotely. Has the same effect as typing 'C-a d'
  on the controlling terminal. 'screen -D' will power-detach.

screen -list
screen -ls
screen -wipe
  Show all available sessions and their status.  Use -wipe to remove
  DEAD sessions.

screen -h 200
  Starts a new screen session and sets the number of lines in the scrollback
  buffer to 200. The default is 100 lines.

If you need any other help, email me at kaz@zeal.net
I update this help page with the questions people ask, so ask away!