FC5T2 problems: gnome-terminal, emacs and evolution

Charles Curley charlescurley at charlescurley.com
Tue Jan 17 20:30:20 UTC 2006


On Tue, Jan 17, 2006 at 02:55:55PM +0000, William John Murray wrote:
>  Hello all,
>           Some new problems for FC5T2 upgrade from FC4.

> *)  emacs is broken. Probably an upgrade issue. I just get empty squares 
> where
> each letter should be. Its a font-server issue: if I run the emacs on the
> FC5T2 machine sending output to another screen all is well
> Warning: Cannot convert string 
> "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1" to type FontStruct
> 

I can confirm this one, under twm and a minimal X installation. It
only applies to the text frame. The Gnome pull-down menu headers are
there ("File", "Edit", etc.). However, running emacs via SSH with X
forwarding on another server (FC4 as updated) works just fine.

I tried selecting another font with xfontsel. That gave the same
results. Emacs omplained that it could not convert either the
helvetica string or the one I supplied
(-*-fixed-*-o-*-*-*-*-*-*-*-60-iso8859-14, and again,
-*-fixed-*-r-*-*-*-100-75-75-*-60-iso8859-8).

However, it tries to convert a font other than what I gave it:

--------------------------------------------------
Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1" to type FontStruct
--------------------------------------------------

In spite of that, emacs picked up enough of the metrics of the font to
resize itself properly.

xfontsel warns: "Missing charsets in String to FontSet conversion". I
don't recall seeing that before.

In the process of working on that one, I found that xfontsel has a
problem not refreshing the sample panel of its display. Go to "slant",
and select "o", and the display will refresh. Take another window
(e.g. xclock), and move it and drop it (release the mouse button) on
top of the xfontsel display panel. Now move it away. The display
refreshs. Go to "slant", select "r", and the display fails to
refresh. Take another window (e.g. xclock), and move it and drop it on
top of the xfontsel display panel. Now move it away. The display fails
to refresh.


Here is a quick & dirty .emacs to work on the problem. Substitute the
font of your choice.

--------------------------------------------------
; temp for font debugging.

(progn (message "Setting X11 windowing 800x600")
       (setq default-frame-alist
	     (append default-frame-alist
		     '((top . 10) (left . -20)
		       (width . 80) (height . 34)
		       (background-color . "Gray94")
		       (foreground-color . "Black")
		       (cursor-color	 . "red3")
		       (font . "-*-fixed-*-r-*-*-*-100-75-75-*-60-iso8859-8")
		       (user-position t)
		       )))

  ;;; Set the default font and frame size for the initial frame.
       (setq initial-frame-alist
	     '((top . 10) (left . -15)
	       (width . 80) (height . 34)
	       (background-color . "Gray94")
	       (foreground-color . "Black")
	       (cursor-color	. "red3")
	       (user-position t)
	       ))
       )

--------------------------------------------------

Have either of these been bugzillaed?

Kickstart file for my test machine:

--------------------------------------------------
# Time-stamp: <2006-01-17 11:20:28 root 192.168.1.14-kickstart>

# Kickstart file automatically generated by anaconda w/ changes by C^2
# This is Jhereg's kickstart file.

install
text
nfs --server=charlesc --dir=/crc/isos/fc5
lang en_US.UTF-8
langsupport --default=en_US.UTF-8
keyboard us
# xconfig --noprobe --card "SiS 6326" --videoram 15296 --resolution 1024x768 --depth 24 --defaultdesktop gnome
# --videoram 4096 --hsync 31.5-37.9 --vsync 50-70 --resolution 800x600 --depth 16 --defaultdesktop gnome
xconfig --driver "sis" --videoram 15296 --hsync 31.5-37.9 --vsync 50.0-61.0 --resolution 1024x768 --depth 24
network --device eth0 --bootproto dhcp
rootpw --iscrypted $1$E6293Ob23RDqRfxVsDsBB.2EA.MuSh/
firewall --enabled --port=22:tcp
selinux --disabled
authconfig --enableshadow --enablemd5
timezone America/Denver
bootloader --location=mbr --driveorder=hda
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --linux --drives=hda
part /boot --fstype ext3 --size=50 --asprimary
part swap --size=256

# leave the DOS partition intact.
part /mnt/dosc --onpart hda1 --fstype vfat --noformat
part / --fstype ext3 --size=100 --grow

%packages
@ language-support
kernel
grub
e2fsprogs

@ emacs
# @ gnome-desktop
@ base-x
dosfstools
mutt
xorg-x11-xauth
sg3_utils
mkisofs
xorg-x11-twm

%post --nochroot

# Mount the nfs share for all this stuff.
mkdir /mnt/sysimage/mnt/nfs /mnt/sysimage/mnt/zip

# set yum up properly
mv /mnt/sysimage/etc/yum.repos.d /mnt/sysimage/etc/yum.repos.d.au
cp -rp /mnt/source/yum.repos.d /mnt/sysimage/etc
# cp -rp /mnt/sysimage/etc/yum.repos.d/fedora-extras.repo /mnt/sysimage/etc/yum.repos.d

cp -rp /mnt/source/jhereg/root/bin /mnt/sysimage/root/bin
cp -rp /mnt/source/stuff/* /mnt/sysimage/usr/local/bin/
echo '. /usr/local/bin/mkcd' >> /mnt/sysimage/etc/bashrc

--------------------------------------------------

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-test-list/attachments/20060117/1d10d90c/attachment.sig>


More information about the fedora-test-list mailing list