bugThe Backbone Project - Bugs: bug #9749, Terminal emulation code is NOT...


bug #9749: Terminal emulation code is NOT portable.

Submitted by:  None
Submitted on:  Sat 24 Jul 2004 08:22:35 PM UTC  
Category: TerminalSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Jeff Teunissen <Deek>
Open/Closed: Closed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 18 May 2005 04:51:58 AM UTC, comment #3:

Terminal from a few days ago still does not build on Solaris, so i assume this hasn't been done. this patch implement forkpty, as well as changing $TERM from "linux" to "xtermc" (linux does not make sense on Solaris because there is no terminfo entry for it) and adding -liconv. some of this should probably be done in an autoconf script rather than with a mess of #ifdefs. this forkpty code is not Solaris-specific, and should work on any SVR4 system.

Kate Turner <keturner>
Mon 27 Sep 2004 04:48:58 AM UTC, comment #2:

Whoops. That last comment was from me, tmcintos at avalon net.

Mon 27 Sep 2004 04:47:01 AM UTC, comment #1:

Indeed. forkpty exists only on Linux and BSD, as far as I know. It seems to be a fairly portable API, though its companion login_tty() is not. I have implemented a forkpty() function (and a few other changes) for IRIX so that I can run Terminal.app under that OS; I can provide this code if someone wants to integrate it [aside: am I the only one trying to run GNUstep on IRIX 6.5, because it seems there are a lot of long-standing minor bugs and build issues that remain to be fixed]. It should not be difficult to do the same for Solaris, but I would guess that this pty issue has been solved (many times) before--does anyone know of a library that addresses this issue? A Google search turned up references to SSH--perhaps there is some code there that could be reused?

Sat 24 Jul 2004 08:22:35 PM UTC, original submission:

The code in TerminalView.m is not portable, because there is no forkpty(3) function [at least] in Solaris.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #2985:  Terminal_Solaris.diff added by keturner (5KiB - application/octet-stream - implement forkpty())


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by Deek (Updated the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 21 Nov 2013 11:46:37 PM UTCDeekStatusNone=>Fixed
      Assigned toNone=>Deek
    Wed 18 May 2005 04:58:09 AM UTCketurnerCarbon-Copy-=>Added -unavailable-
    Wed 18 May 2005 04:52:00 AM UTCketurnerAttached File-=>Added Terminal_Solaris.diff, #2508
    Wed 08 Dec 2004 12:18:44 AM UTCalexmCategoryNone=>Terminal

    Back to the top

    Powered by Savane 3.1-cleanup1