On Tue, Aug 21, 2012 at 01:24:03AM +0200, Cyril Brulebois wrote:
> Hi Marco,
>
> Marco Sansottera <marco.sansottera@gmail.com> (21/08/2012):
> > Package: xterm
> > Version: 278-1
> > Severity: normal
> >
> > Dear Maintainer,
> > xterm crashes when started in Tektronix mode (-t option)
> > after pressing any key (Segmentation fault).
>
> thanks for the report, confirmed here. This trivial patch avoids the
> crash, but rendering is always bad:
The comment about rendering is obscure (running in tek4014 mode, the
display won't behave anything like vt100 - I don't see anything amiss
here).
> | --- a/input.c
> | +++ b/input.c
> | @@ -832,7 +832,7 @@ Input(XtermWidget xw,
> | {
> | #if OPT_I18N_SUPPORT && OPT_INPUT_METHOD
> | TInput *input = lookupTInput(xw, (Widget) xw);
> | - if (input->xic) {
> | + if (input && input->xic) {
The same fix was made upstream in work for #280 (current is #281).
fwiw, I've started on #282 changes,
but don't recall any regressions in #281.
--
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
Attachment:
signature.asc
Description: Digital signature