Top List Search Help RSS Login

How to start Tgif on remote login terminalの変更点

  • 追加された行はこのように表示されます。
  • 削除された行はこのように表示されます。
!!! How to start Tgif on remote login terminal
{{category Data analysis servers(anam* and anah*)}}

When you start "Tgif", a drawing tool, on analysis servers remotely 
logged in from your terminal PC, it may fail to start with following message.

 Error messages:
    Fatal Error in OpenFont(): Cannot open the Default(Msg)Font
    '-*-courier-medium-r-normal-*-14-*-*-*-*-*-iso8859-1'.
    Tgif aborted.

In this case, trying to following either procedure may solve this problem.

  A. Install 75dpi ISO-8859-1 fonts to your terminal PC.
or
  B. If your Linux distribution of terminal PC is Ubuntu 11.x or 12.x, 
     following procedure 
     
   1. Edit ~/.Xresources and remove comment out of lines in tgif section 
      as follows. 
      If file ".Xresources" is not in your home directory,
      copy /etc/X11/ja_JP.eucJP/app-defaults/Tgif to ~/.Xresources.
        % cp /etc/X11/ja_JP.eucJP/app-defaults/Tgif  ~/.Xresources
    
     ! To get around font problems... If all you have are
     ! -*-fixed-medium-r-normal--%d-* fonts, you can set
     ! Tgif.HasAlternateDefaultFonts to "true" and use the following.
     ! This will all fonts with the -*-fixed-medium-r-normal--%d-* fonts.
     ! (You should probably set Tgif.DefFixedWidthFont and
     ! Tgif.DefFixedWidthRulerFont.)
     !
     Tgif.HasAlternateDefaultFonts: true
     Tgif.Times-Roman: -*-fixed-medium-r-normal--%d-*
     Tgif.Times-Bold: -*-fixed-bold-r-normal--%d-*
     Tgif.Times-Italic: -*-fixed-medium-r-semicondensed--%d-*
     Tgif.Times-BoldItalic: -*-fixed-bold-r-semicondensed--%d-*
     Tgif.Courier: -*-fixed-medium-r-normal--%d-*
     Tgif.Courier-Bold: -*-fixed-bold-r-normal--%d-*
     Tgif.Courier-Oblique: -*-fixed-medium-r-semicondensed--%d-*
     Tgif.Courier-BoldOblique: -*-fixed-bold-r-semicondensed--%d-*
     Tgif.Helvetica: -*-fixed-medium-r-normal--%d-*
     Tgif.Helvetica-Bold: -*-fixed-bold-r-normal--%d-*
     Tgif.Helvetica-Oblique: -*-fixed-medium-r-semicondensed--%d-*
     Tgif.Helvetica-BoldOblique: -*-fixed-bold-r-semicondensed--%d-*
     Tgif.NewCenturySchlbk-Roman: -*-fixed-medium-r-normal--%d-*
     Tgif.NewCenturySchlbk-Bold: -*-fixed-bold-r-normal--%d-*
     Tgif.NewCenturySchlbk-Italic: -*-fixed-medium-r-semicondensed--%d-*
     Tgif.NewCenturySchlbk-BoldItalic: -*-fixed-bold-r-semicondensed--%d-*
     Tgif.Symbol: -*-fixed-medium-r-normal--%d-* 
   
   2. Execute xrdb like as 
       % xrdb -merge ~/.Xresources 
   
   3. Re-login analysis servers from your terminal PC and start Tgif.