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

 
 

bug #9749: Terminal emulation code is NOT portable.

Submitter:  None
Submitted:  Sat 24 Jul 2004 08:22:35 PM UTC
   
 
Category:  Terminal Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  Deek
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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.

Anonymous
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?

Anonymous
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.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

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
  • -email is unavailable- added by Deek (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-11-21 Deek StatusNone Fixed
        Assigned toNone Deek
        Open/ClosedOpen Closed
    2005-05-18 keturner Carbon-Copy- Added -email is unavailable-
    2005-05-18 keturner Attached File- Added Terminal_Solaris.diff, #2508
    2004-12-08 alexm CategoryNone Terminal

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code