#: 20168 S12/OS9/68000 (OSK)
01-Aug-94 08:16:26
Sb: #ispell and screen
Fm: Steve Wegert 76703,4255
To: Bob van der Poel 76510,2203 (X)
Bob,
I've been having a problem with Ispell and your version of screen. As I
originally thought the problem was with Ispell, I started the following
discussion over on Delphi so Ken could see it quickly. But we've since
discovered that it might be more important that you get involved.
Attached is the thread. Your comments would be appreciated!
88940 Sat 30-Jul-94 17:57 OSK Applications (8)
ispell and screen
From: SCWEGERT To: KSCALES
Ken,
I'm finding some difficulties using Ispell under screen. When I hit the '?' for
help in Ispell, the help message overwrites itself as if line feeds were turned
off.
Also, when attempting to quit Ispell, you're prompted whether you wish to save
the changes. Answering Yes .. all is well, but answering No, Ispell just beeps
and returns you to the prompt.
Any idea what's happening?
*- Steve -*
-*-
88946 Sat 30-Jul-94 23:28 OSK Applications (8)
RE: ispell and screen (Re: Msg 88940)
From: KSCALES To: SCWEGERT (NR)
Hi, Steve -
> I'm finding some difficulties using Ispell under screen. When I hit the
> '?' for help in Ispell, the help message overwrites itself as if line
> feeds were turned off.
Just tried it here using 'screen' on a standard 80x26 MM/1 'vsc' type 0 window,
and it worked OK. Guess we'll need to narrow things down a little bit. My
version of screen says that it's edition 7, CRC $F76802. I don't remember if
this is the original one from the database here, or if is one of Bob van der
Poel's updates. Hmmm... the date on it is 92/03/30, so it must be the
original.
'Screen' builds its own TERMCAP environment variable, which is a combination of
its ANSI emulator, plus characteristics from the original device (e.g., number
of lines and columns). Following are some of the relevant entries resulting
from a 'printenv' on my system: STY=w2 TERM=screen TERMCAP=SC|screen|VT
100/ANSI X3.64 virtual terminal|\
:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\
:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:ct=\E[3g:\
:do=\E[B:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\E[A:\
:li#26:co#80:us=\E[4m:ue=\E[24m:so=\E[3m:se=\E[23m:\
:sr=\EM:al=\E[L:AL=\E[%dL:dl=\E[M:DL=\E[%dM:dc=\E[P:\
:DC=\E[%dP:im=\E[4h:ei=\E[4l:ic=:IC=\E[%d@:kd=^N:kl=^B:\
:kr=^F:ku=^P: WINDOW=0 PORT=/tty00
Any other info you might be able to provide regarding your setup will help.
> Also, when attempting to quit Ispell, you're prompted whether you wish to
> save the changes. Answering Yes .. all is well, but answering No, Ispell
> just beeps and returns you to the prompt.
>
> Any idea what's happening?
Yes, you are the second person to comment on this. When I ported 'ispell', I
tried to make it a bit clearer to the user what would happen to the changes
entered during the session. I guess that I didn't completely succeed.
If you type 'x' to 'eXit', you receive the following prompt:
Exit, ABANDONING changes: ? Responding 'y' will terminate the program,
and abandon the changes. Responding 'n' indicates that you do not want to Exit,
and returns back to spellchecking mode.
Similarly, if you type 'q' to 'Quit', you receive this prompt:
Quit, saving changes: ? Responding 'y' will terminate the program
after saving the changes. Responding 'n' indicates that you do not want to
Quit, and returns back to spellchecking mode. It was not intended to mean
"Quit without saving the changes" -- that is what "eXit" does.
Sorry if you found this confusing. I think the '?' help screen provides a bit
of a clarification, but I can understand how you could mis-interpret the second
prompt.
Regards... / Ken
-*-
88957 Sun 31-Jul-94 12:42 OSK Applications (8)
RE: ispell and screen (Re: Msg 88946)
From: SCWEGERT To: KSCALES
> Just tried it here using 'screen' on a standard 80x26 MM/1 'vsc' type 0
> window, and it worked OK. Guess we'll need to narrow things down a
> little bit. My version of screen says that it's edition 7, CRC $F76802.
> I don't remember if this is the original one from the database here, or if
> is one of Bob van der Poel's updates. Hmmm... the date on it is 92/03/30,
> so it must be the original.
The version I'm using is edition 7 CRC $2AF2C3 .... which is the one Bob
uploaded to the OS9 Forum on CompuServe.
I'm running screen on a Wy50 terminal with the ANSI emulation board installed.
This is on an MM/1. Here are my relevant environment entries:
STY=t1 TERM=screen TERMCAP=SC|screen|VT 100/ANSI X3.64 virtual terminal|\
:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\
:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:ct=\E[3g:\
:do=\E[B:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\E[A:\
:ho=^^:le=^h:\
:li#24:co#80:us=\E[4m:ue=\E[24m:so=\E[3m:se=\E[23m:\
:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[0m:sr=\EM:al=\E[L:\
:AL=\E[%dL:dl=\E[M:DL=\E[%dM:cs=\E[%i%d;%dr:ks=\E=:\
:ke=\E>:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=^H:kd=\EOB:\
:kl=\EOD:kr=\EOC:ku=\EOA: WINDOW=1 PORT=/tty/scr0.0
> Any other info you might be able to provide regarding your setup will
> help.
I first thought it might be a problem with my tmode settings, but playing with
the lf parameter and setting it to nolf, I get the expected results of
_everything_ overwriting itself, not just the help file. Also did this with
pause/nopause just to convince myself screen was using these parameters
correctly.
Next, I saved a copy of the termcap created for screen and added it to my
termcap file. I exited screen and set my TERM environment variable to screen
and fired up Ispell. Worked just fine.
> Yes, you are the second person to comment on this. When I ported
> 'ispell', I tried to make it a bit clearer to the user what would happen
> to the changes entered during the session. I guess that I didn't
> completely succeed.
>
Ahhh ... a feature .... not a bug! :-) Ok ... I understand. Not being able to
see the help screen, I was thrown off by the different approach. Not a problem.
Since this involves the version Bob worked on, is he active here? Or should I
cross post this thread "over there"?
Thanks for the help!
*- Steve -*
-*-
88986 Mon 1-Aug-94 02:08 OSK Applications (8)
RE: ispell and screen (Re: Msg 88957)
From: KSCALES To: SCWEGERT (NR)
> The version I'm using is edition 7 CRC $2AF2C3 .... which is the one Bob
> uploaded to the OS9 Forum on CompuServe.
Jim Pottage dropped by on Sunday, and happened to come with a version of
'screen' he had obtained from Bob... again, Edition 7, but CRC $C63E9A. This
exhibited the same symptoms that you describe.
I dug out another one I received from Bob last fall. Edition 7, with CRC
$6ABBC0. Same problem that you reported.
> I'm running screen on a Wy50 terminal with the ANSI emulation board
> installed. This is on an MM/1. Here are my relevant environment entries:
>>>
Thanks for the info. I will spend a bit of time reviewing it. BTW, does the
help panel appear OK on the Wyse when you are not running 'screen'?
Do you have similar problems with anyother
is 'ispell' the only one?
> Since this involves the version Bob worked on, is he active here? Or
> should I cross post this thread "over there"?
No, Bob doesn't frequent these parts, so it may be best to cross-post on CIS.
Since I grab the messages there every week or two, I will also see the
discussions (though not as timely as here).
Regards... / Ken
-*-
88958 Sun 31-Jul-94 12:42 OSK Applications (8)
RE: ispell and screen (Re: Msg 88946)
From: SCWEGERT To: KSCALES
One more thing, Ken. (I didn't want to test this while I was composing my last
message in case things headed off to Mars)
I fired up Ispell on a normal MM/1 window, and tested the "?", worked just
fine. Cranked up screen on the same window, then executed Ispell and I have the
same problem with the help file.
Curious.
*- Steve -*
*- Steve -*
There is 1 Reply.
|