Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cv2Xdefs(1) — Dell System V Release 4 Issue 2.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sunview(1)

sed(1)

textedit(1)

vi(1)



CONVERT_TO_XDEFAULTS(1)   UNIX System V(11 June 1990)   CONVERT_TO_XDEFAULTS(1)


NAME
      converttoXdefaults - convert Sunview1 defaults into equivalent
      Xdefaults


SYNOPSIS
      converttoXdefaults [ filename ]

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

DESCRIPTION
      converttoXdefaults is a shell script which uses sed(1) scripts to
      convert SunView1.x defaults to X Window (Xdefaults) defaults.
      converttoXdefaults 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:

      converttoXdefaults $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


10/89                                                                    Page 1







CONVERT_TO_XDEFAULTS(1)   UNIX System V(11 June 1990)   CONVERT_TO_XDEFAULTS(1)


              !/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)





























Page 2                                                                    10/89





Typewritten Software • bear@typewritten.org • Edmonds, WA 98026