cutview detects changes in the contents of the current selection or cutbuffer0 and stores them in a buffer, which also displays the contents on the screen. The user can specify a number of buffers to be used, thus providing a history mechanism for cut operations. Buffers can be locked, so that later cut operations will not overwrite them, and since the contents of the buffers are saved in a file, the user can store data there long term. The contents of the buffers can be edited within the window via the text edit widget, or with the user's favorite editor, or sent to a printer by selecting a menu item. The number of buffers can be increased or decreased dynamically.
I have been using cutview in an additional manner: as a post-it type of application. By being able to lock and save the contents of buffers, cutview provides a quick way to save notes (even better since you can get the data into it by cutting it, not typing it!). You can also use cutview to store sets of commands you frequently use.
cutview uses both selections (the current method for sharing selected text), and the cut buffer, the older mechanism used for sharing selected text. By using both, cutview propagates the information from one mechanism to another transparently to the user.
xcat is a simple program that takes stdin (standard input) and puts the contents into cutbuffer0 (cutview would then copy the data to the current selection).
xecho is a simple program that takes the current contents of cutbuffer0 and copies it to stdout (standard out).
Building and Installing:
cutview can built using ANSI C or K&R C compilers. The most difficult part is ensuring proper paths for headers and libraries. Also, different versions of Motif may require different libraries to be specified as link arguments.
To build cutview, type 'make'. This will execute a script that will determine your environment and build cutview as well as the tools xcat and xecho.
cutview can be installed anywhere in your path (the default is /usr/local/bin).
cutview can be built using lesstif (http://www.lesstif.org) or OpenMotif (http://www.opengroup.org/openmotif/). Both work but OpenMotif seems to provide better behavior.
What's New in This Release:
· The program will now work with GNOME.
· Pull-down menus are now used instead of pop-up menus.