This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

loading VT100 Font in stand alone program


Hi Everybody,

I have written a program "kuplot" that runs inside an X-window terminal through a script:

#!/bin/sh
if( /bin/ps | /bin/grep XWin ); then
   export DISPLAY=':0';
   /bin/xterm -rightbar -sb -pob -title "kuplot secondary window"  -e /bin/kuplot;
else
   /bin/rm -f /tmp/.X*-lock
   /bin/xinit "/bin/xterm" -rightbar -sb -pob -title "kuplot primary window exit last"
-e /bin/kuplot -- "/usr/bin/XWin" :0 -multiwindow -logfile /dev/null;
fi

If I start this script from within CYGWIN (both 64 and 32 bit) the VT menu appears at
the top of my Xterm, and I can change the font size.

If I start the program from the desktop  icon, I do get the VT100 menu, but an error
message of:

/bin/xterm: cannot load font
'misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'

and a similar message if I try to change the font size.

The program was installed into a separate folder at C:\Program files (x86)
and within this I have folders
bin        ! quite a few of the /bin/*dll and /bin/*exe
etc/X11    ! exact recursive copy of /etc/X11 in cygwin including fonts/* (only gzipped
filesthough?)

usr/share/terminfo ! exact recursive copy
/usr/share/X11     ! exact recursive copy

I seem to be missing the proper link to the VT100 fonts , where would I have to look for
that?
Other functionality of the VT Options like switching to a blinking cursor work fine.

Thanks

Reinhard Neder


-- 
Prof. Dr. Reinhard Neder
Kristallographie und Strukturphysik
Universität Erlangen
Staudtststr. 3; 91058 Erlangen
tel. +49-9131-8525191
fax  +49-9131-8525182


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]