cosell@BBN-PROPHET.ARPA (01/13/86)
From: Bernie Cosell <cosell@BBN-PROPHET.ARPA> I'm doing some hacking on AmigaTerm (as posted a couple of weeks back) and one thing I wanted to do was real simple: make the window be full-width so I could get closer to 80 columns. Anyhow, I poked through the source and found the OpenWindow, found the NewWindow structure it uses and looked at the Flags settings. Needless to say, it was a long list of things (WINDOWDRAG, WOINDOWCLOSE, etc etc). I found WINDOWSIZING in the list and simply put "| SIZEBBOTTOM" after it. I notice two things: a) AmigaTerm still will not use the last three columns in the window. b) AmigaTerm continues to go all the way to the bottom of the window. Do I have to do something fancier to get the right thing to happen? It occurs to me that the width-problem might be because AmigaTerm is doing its *own* line wrapping, and so I can';t tell where Intuition really stops the window, but that still doesn't explain always going to the bottom of the window. Always confused... but appreciative of help... /Bernie ARPA: cosell@bbn-prophet USENET: bbncc5!cosell
mwm%ucbopal@BERKELEY.EDU (01/14/86)
From: Mike (I'll be mellow when I'm dead) Meyer <mwm%ucbopal@BERKELEY.EDU> You got the right answer - AmigaTerm is doing it's own wrap. Look in the function emit, near the bottom of the file. I've been hacking on AmigaTerm myself (changed default baud rate, put in more reasonable cr/lf treatment, working on UW protocols), and may try adding SIZEBBOTTOM myself. I'd be interested in hearing about anything else you put in (like, say, some form of terminal emulation!). Thanx, <mike