CONVERT_TO_XDEFAULTS(1)

NAME
convert_to_Xdefaults - convert Sunview1 defaults into equivalent Xdefaults

SYNOPSIS
convert_to_Xdefaults [ filename ]

AVAILABILITY
Available with the OpenWindows Application Environment. For information about installing OpenWindows, refer to the OpenWindows Installation Manual.

DESCRIPTION

convert_to_Xdefaults is a shell script which uses sed(1) scripts to convert SunView1.x defaults to X Window (Xdefaults) defaults. convert_to_Xdefaults reads filename, converting SunView1 defaults into their equivalent Xdefaults for XView. Defaults that are no longer supported or are not recognized as standard SunView1 defaults are commented out with a '!' (exclamation point) at the beginnning of the default entry. The output of conversion is directed to standard output (stdout). The defaults file used should be located in your $HOME directory and should be named .Xdefaults.

EXAMPLES
For an example of how this command works, run the script on your Sunview1 defaults file: convert_to_Xdefaults $HOME/.defaults > $HOME/.Xdefaults When the script is complete, edit the resulting file ( $HOME/.Xdefaults ) and remove any unconverted entries and/or make modifications suggested in the file by the script. Remove the comments and the ! sign.

SAMPLES
SunView1 defaults entries ...

	/Text/Auto_indent       	"True"
	/Text/Extras_menu_filename      "/home/blinky/bob/.text_extras_menu"
	/Scrollbar/Thickness		"20"
	 /Mail/Set/folder		"/home/blinky/bob/mail_folder"
	/Text/Multi_click_timeout	"100"

are converted to the Xdefault...

        Text.AutoIndent:        	True
        Text.ExtrasMenuFilename:        /home/blinky/bob/.text_extras_menu
        !/Scrollbar/Thickness		"20"
        !/Mail/Set/folder		"/home/blinky/bob/mail_folder"
        !OpenWindows.MultiClickTimeout:
         ! (now in tenths of seconds rather than millisecs)  100

Note that the /Scrollbar/Thickness and /Mail/Set/folder entries were NOT converted, but were left in the file as comments. Whenever possible, instructions are included in the file for discrepancies between the two types of defaults. For instance, the comment, "now in tenths of seconds" is useful information about the value of the OpenWindows.MultiClickTimeout default. Comments and instructions should both be completely removed from the file.

FILES
$OPENWINHOME/bin/xview/convert_to_Xdefaults where $OPENWINHOME is the installation/mount point for XView ( /usr by default).

SEE ALSO

sunview(1), sed(1), textedit(1), vi(1)