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 current Solaris system configuration and installation guide. DESCRIPTION convert_to_Xdefaults is a shell script which uses sed(1) scripts to convert SunView1.x defaults to X Window (Xde- faults) defaults. convert_to_Xdefaults reads filename, con- verting 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 .Xde- faults. 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/convert_to_Xdefaults where $OPENWINHOME is the installation/mount point for XView ( /usr/openwin by default). SEE ALSO sed(1), textedit(1), vi(1) NOTES The OpenWindows environment may no longer be supported in a future release. You may want to migrate to CDE, the Common Desktop Environment.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |