My web searches suggest that using the psql command line I'm limited to moving the cursor one character at a time. Is there a way to use a small editor, e.g., joe on linux, to move by words or to the begining and end of the line?
The PGDG prebuilt packages are built with libreadline. Thus, if that's how you installed psql, Home, End, Ctrl-Left, Ctrl-Right and Ctrl-w should work.