Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!jade!mica!spencer From: spencer@mica.UUCP Newsgroups: comp.sys.amiga Subject: Re: Font & window questions Message-ID: <2781@jade.BERKELEY.EDU> Date: Thu, 12-Mar-87 16:58:34 EST Article-I.D.: jade.2781 Posted: Thu Mar 12 16:58:34 1987 Date-Received: Sat, 14-Mar-87 06:43:01 EST References: <8703120319.AA03253@ingres.Berkeley.EDU> Sender: usenet@jade.BERKELEY.EDU Reply-To: spencer@mica.BERKELEY.EDU (Randy Spencer) Organization: University of California, Berkeley Lines: 59 In article <8703120319.AA03253@ingres.Berkeley.EDU> hatcher@INGRES.BERKELEY.EDU (Doug Merritt) writes: >I recently discovered some holes in my understanding of the Amiga; answers >to these questions will be appreciated. > >1) I used "setfont" to change my CLI font, and this worked fine. Unfortunately >the font change does not carry over to the vt100 screen. How can I change >the font for other programs like this? (The setfont in question came from >trantor archives, and was posted in October) This has to do with the fact that when you use preferences you already can set your font specifically. You could have choosen to use a 60 column font, if the programmer doesn't watch out he will find that the screen that looked really good in an 80 column font is a mess with the 60 columns. So people are starting to remember to specifiy the font that they want when they open a window or screen. If you want a different font in VT100, just change the source and re-compile (love that PD). > >2) It occurred to me that it would be nice to have windows on top of >arbitrary screens, like putting a clock on top of the screen used by vt100. >I haven't found a way to do this, and I suspect that this shows that there >is something fundemental about windows and screens that I don't understand. To put your own clock on top of VT100's screen you would have to have the two programs message pass between themselves and have VT100 give the clock program a pointer to its screen structure. Thus, it is possible, but you have to do it on both ends. Actually maybe you could get the pointer from IntuitionBase, but what do you do when VT100 exits? The screen goes away and there is this clock with no where to put its window. This is why I took GFXmem and rewrote it to open a screen at position 202 down and call screen to front every 10 seconds or so. This way my clock and memory graph stay infront of _everything_, including PopCLI unfortunately (I'll fix that, I will!). Now that I have MoreRows, I am putting a close gadget on the program (since I can finally get the pointer down below VT100. While we are talking VT100, I have always wondered when I am dragging the VT100 window down so I can get to the VT100 screen gadget to send it to the back, why Dave (hello, Dave?) doesn't open a backdrop window like Amiga MicroEmacs, so that I can get to the screen without moving the window. Also, that would give us a full title bar, so couldn't we just (I'm talking 1.2 here) open the window 1 pixel down? It works, my previously mentioned program works completely below line 200. Just a question. > >Can anybody explain what's going on with these two issues? I thought I just did... > Thanks, > Doug Merritt ucbvax!ingres!hatcher No problem, I had a blast! -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Randy Spencer P.O. Box 4542 Berkeley CA 94704 (415)284-4740 I N F I N I T Y BBS: (415)283-5469 Now working for |||||||||||::::... . . BUD-LINX But in no way |||||||||||||||::::.. .. . Officially representing ||||||||||||:::::... .. ....ucbvax!mica!spencer s o f t w a r e spencer@mica.berkeley.edu -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-