This file is
    ftp://ftp.cs.bham.ac.uk/pub/dist/poplog/doc/pcwindowspoplog.tips
Aaron Sloman 4 Aug 1999

TIPS for PC Windows Poplog users
================================

Posted to comp.lang.pop 4 Aug 1999

Stephen Isard <S.IsardDeleteThis@ed.ac.uk> writes:

> Date: Wed, 04 Aug 1999 14:22:27 +0100
> Organization: Edinburgh University
> ...

> I don't think winpop11 is capable of popping up another window, but by
> using <enter>output you should be able to get the output into a
> different ved buffer in the same window.

You can have two files visible at a time, with the screen split in
the middle, but in the same window. "ESC w" toggles between split
screen and single screen.

You can have more than two files in the editor, and use "ESC e" or
"ENTER rb" to change the one that is viewed in the window
or sub-window.

If you have a high resolution screen and wish to have more than two
(horizontally divided) windows for ved you can use LIB WINDOWS,
originally written for users of large dumb terminals. Do
    ENTER lib windows
(Ignore the warning signs about unavailable unix features!)

Then to find out how to drive it do
    ENTER help windows

E.g.
    ENTER newmap , , ,

will create a division into four windows. There are far more options
available, described in the HELP WINDOWS file.

(LIB WINDOWS does not compile in Poplog V15.53 because it attempts
to redefine vedrefreshwindow. I have installed a new version which
avoids this problem in:

ftp://ftp.cs.bham.ac.uk/pub/dist/poplog/bugfixes/lib/ved/windows.p

by replacing vedrefreshwindow with Vedrefreshwindow.)

===================================================================

Here are some additional tips that may be useful for people using
PCWindows Poplog, e.g. in case the function keys don't work.
(These tips should also work on Unix systems, and in Xved)


USEFUL KEY SEQUENCES
    (the ^ refers to the control or Ctrl key)

^G          = ENTER
ESC Return  = REDO Command (like the "-" keypad key)
ESC ^G      = Switch Status (like the "+" keypad key)

^P          = charuP (Move up)
^N          = chardowN
^B          = charleft (Backwards)
^F          = charright (Forwards)
^J          = nextline (go to beginning of next line)

ESC f       = word right (word Forward)
ESC b       = word left (word Backward)

ESC m       = Mark start of range MARKLO
ESC M       = Mark end of range MARKHI
ESC C       = Mark the current procedure ENTER mcp   (NOT ESC c)

ESC g       = Go to start of marked range MARKFIND
ESC G       = Go to end of marked range ENDRANGE

ESC c       = compile current procedure
ESC d       = compile current line
^D          = compile marked range (= ENTER lmr)

ESC q       = quit current file
                (if changed and writable will ask for confirmation)
ESC e       = select a file currently in VED.

Delete options (two keys):
^K ^B       = Delete word to left of cursor WORDLEFTDELETE
^K ^F       = Delete word to right of cursor WORDRIGHTDELETE
^K ^A       = Delete line to left of cursor CLEARHEAD       (or ^U)
^K ^E       = Delete line to right of cursor CLEARTAIL
^K ^K       = Delete current line LINEDELETE
^K ^D       = Delete marked range = ENTER d

Window operations:
ESC w       = switch between using half screen and full screen for
              current file. Don't use this in Xved (See TEACH WINDOW)
ESC x       = Switch to previous window (last one accessed in Ved)
^L          = Refresh window

"ENTER rb" is useful to "rotate buffers" if you have several files
in VED. The ENTER rb command lets you cycle round them all easily,
in combination with REDO.

There's lots more information in HELP VEDKEYS
=======================================================================

The startup file in PC windows Poplog is not necessarily in
a good place. It starts up in one of the poplog system directories.

You probably don't want to create any of your own files there.
So create another directory somewhere e.g. D:\MYPOP, and after
starting up poplog do this:

    ENTER cd d:\mypop

or whatever. Then if you do

    ENTER ved myfile.p

it will create (or read) the file in the new directory, not where it
might corrupt the poplog system.

======================================

