unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1482: cleanup: term.c dead code
@ 2008-12-03  6:33 Dan Nicolaescu
  2011-07-10 13:00 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Dan Nicolaescu @ 2008-12-03  6:33 UTC (permalink / raw)
  To: bug-gnu-emacs


These terminal types are not supported by terminfo, so probably they are
long dead.  This code can be cleaned up whenever cleanups are allowed.

  /* Special handling for certain terminal types known to need it */

  if (!strcmp (terminal_type, "supdup"))
    {
      terminal->memory_below_frame = 1;
      tty->Wcm->cm_losewrap = 1;
    }
  if (!strncmp (terminal_type, "c10", 3)
      || !strcmp (terminal_type, "perq"))
    {







^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#1482: cleanup: term.c dead code
  2008-12-03  6:33 bug#1482: cleanup: term.c dead code Dan Nicolaescu
@ 2011-07-10 13:00 ` Lars Magne Ingebrigtsen
  2011-07-10 15:45   ` Dan Nicolaescu
  2011-07-10 16:26   ` Andreas Schwab
  0 siblings, 2 replies; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-07-10 13:00 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: 1482

Dan Nicolaescu <dann@ics.uci.edu> writes:

> These terminal types are not supported by terminfo, so probably they are
> long dead.  This code can be cleaned up whenever cleanups are allowed.
>
>   /* Special handling for certain terminal types known to need it */
>
>   if (!strcmp (terminal_type, "supdup"))
>     {
>       terminal->memory_below_frame = 1;
>       tty->Wcm->cm_losewrap = 1;
>     }
>   if (!strncmp (terminal_type, "c10", 3)
>       || !strcmp (terminal_type, "perq"))
>     {

I think cleaning up this now would be OK, but how do we know that these
three terminal types aren't supported?  Is there a list somewhere?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#1482: cleanup: term.c dead code
  2011-07-10 13:00 ` Lars Magne Ingebrigtsen
@ 2011-07-10 15:45   ` Dan Nicolaescu
  2011-07-10 15:59     ` Lars Magne Ingebrigtsen
  2011-07-10 16:26   ` Andreas Schwab
  1 sibling, 1 reply; 8+ messages in thread
From: Dan Nicolaescu @ 2011-07-10 15:45 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: 1482

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Dan Nicolaescu <dann@ics.uci.edu> writes:
>
>> These terminal types are not supported by terminfo, so probably they are
>> long dead.  This code can be cleaned up whenever cleanups are allowed.
>>
>>   /* Special handling for certain terminal types known to need it */
>>
>>   if (!strcmp (terminal_type, "supdup"))
>>     {
>>       terminal->memory_below_frame = 1;
>>       tty->Wcm->cm_losewrap = 1;
>>     }
>>   if (!strncmp (terminal_type, "c10", 3)
>>       || !strcmp (terminal_type, "perq"))
>>     {
>
> I think cleaning up this now would be OK, but how do we know that these
> three terminal types aren't supported?  Is there a list somewhere?

/etc/termcap or the terminfo datatbase, none of them has these...





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#1482: cleanup: term.c dead code
  2011-07-10 15:45   ` Dan Nicolaescu
@ 2011-07-10 15:59     ` Lars Magne Ingebrigtsen
  2011-07-10 17:47       ` Dan Nicolaescu
  0 siblings, 1 reply; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-07-10 15:59 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: 1482

Dan Nicolaescu <dann@gnu.org> writes:

> /etc/termcap or the terminfo datatbase, none of them has these...

Could /etc/termcap files on other OSs have these?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#1482: cleanup: term.c dead code
  2011-07-10 13:00 ` Lars Magne Ingebrigtsen
  2011-07-10 15:45   ` Dan Nicolaescu
@ 2011-07-10 16:26   ` Andreas Schwab
  2011-07-10 17:57     ` Dan Nicolaescu
  1 sibling, 1 reply; 8+ messages in thread
From: Andreas Schwab @ 2011-07-10 16:26 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: Dan Nicolaescu, 1482

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

>>   if (!strcmp (terminal_type, "supdup"))

RFC734

>>       || !strcmp (terminal_type, "perq"))

http://www.bitsavers.org/pdf/perq/PERQ_Brochure.pdf

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#1482: cleanup: term.c dead code
  2011-07-10 15:59     ` Lars Magne Ingebrigtsen
@ 2011-07-10 17:47       ` Dan Nicolaescu
  0 siblings, 0 replies; 8+ messages in thread
From: Dan Nicolaescu @ 2011-07-10 17:47 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: 1482

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Dan Nicolaescu <dann@gnu.org> writes:
>
>> /etc/termcap or the terminfo datatbase, none of them has these...
>
> Could /etc/termcap files on other OSs have these?

Doubtful, AFAIK /etc/termcap on GNU/Linux is the most comprehensive of its kind.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#1482: cleanup: term.c dead code
  2011-07-10 16:26   ` Andreas Schwab
@ 2011-07-10 17:57     ` Dan Nicolaescu
  2011-07-11 15:16       ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Dan Nicolaescu @ 2011-07-10 17:57 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: Lars Magne Ingebrigtsen, 1482

Andreas Schwab <schwab@linux-m68k.org> writes:

> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>
>>>   if (!strcmp (terminal_type, "supdup"))
>
> RFC734
>
>>>       || !strcmp (terminal_type, "perq"))
>
> http://www.bitsavers.org/pdf/perq/PERQ_Brochure.pdf

Thank you!

Then it's quite safe to get rid of these.  They are so old and obscure
that they can't have a significant number of users (If they didn't make
it to /etc/termcap in the '80s/'90's it means they were not used much).  
We stopped supporting a lot of old systems a number of years ago, so IMO
these should go the same way.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#1482: cleanup: term.c dead code
  2011-07-10 17:57     ` Dan Nicolaescu
@ 2011-07-11 15:16       ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-07-11 15:16 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: 1482, Andreas Schwab

Dan Nicolaescu <dann@gnu.org> writes:

> Then it's quite safe to get rid of these.  They are so old and obscure
> that they can't have a significant number of users (If they didn't make
> it to /etc/termcap in the '80s/'90's it means they were not used much).  
> We stopped supporting a lot of old systems a number of years ago, so IMO
> these should go the same way.

I agree.  I've now removed the code in question.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-07-11 15:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-03  6:33 bug#1482: cleanup: term.c dead code Dan Nicolaescu
2011-07-10 13:00 ` Lars Magne Ingebrigtsen
2011-07-10 15:45   ` Dan Nicolaescu
2011-07-10 15:59     ` Lars Magne Ingebrigtsen
2011-07-10 17:47       ` Dan Nicolaescu
2011-07-10 16:26   ` Andreas Schwab
2011-07-10 17:57     ` Dan Nicolaescu
2011-07-11 15:16       ` Lars Magne Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).