ButtonLSDoc.tioga
Copyright Ó 1992 by Xerox Corporation. All rights reserved.
Bier, September 6, 1990 2:42 pm PDT
Chauser, May 27, 1992 6:04 pm PDT
ButtonLS
CEDAR 10.1 %
ButtonLS
Directory Listings with Embedded Buttons
Eric A. Bier
Ó Copyright 1990 Xerox Corporation. All rights reserved.
Abstract: ButtonLS has the same functionality and switches as the standard LS command that prints file and directory names in the Cedar commander. However, ButtonLS adds a small box next to each file name. Clicking on this box opens the file. To use the buttons that ButtonLS produces, you must have ButtonApplications running (do "Require Cedar ButtonApplications ButtonApplications") and you must turn on activity in the typescript (use the "buttons on" command).
Created by: Doug Wyatt
Maintained by: Doug Wyatt, Eric A. Bier <Bier:PARC:Xerox>
Keywords: embedded buttons, documents as user interfaces, directory listing, browser, active documents, Tioga, Commander
XEROX  Xerox Corporation
   Palo Alto Research Center
   3333 Coyote Hill Road
   Palo Alto, California 94304

1. Using ButtonLS
ButtonLS works just like the LS command (see /R/CommanderCommandsDoc.tioga), except that next to each file name is a button. Clicking on this button should open the corresponding file.
You must perform two steps to get the buttons made by ButtonLS to actually open files. In the first place, you must start ButtonApplications:
Require Cedar ButtonApplications ButtonApplications
In the second place, you must turn on button activity in the typescript in which you perform the listing. To do this, type the command
buttons on
to the typescript.
Enjoy!
 -- Eric