… | |
… | |
54 | #endif |
54 | #endif |
55 | |
55 | |
56 | #include <cstdio> |
56 | #include <cstdio> |
57 | #include <grp.h> |
57 | #include <grp.h> |
58 | |
58 | |
|
|
59 | #include "ptytty.h" |
|
|
60 | |
59 | ///////////////////////////////////////////////////////////////////////////// |
61 | ///////////////////////////////////////////////////////////////////////////// |
60 | |
62 | |
61 | /* ------------------------------------------------------------------------- * |
63 | /* ------------------------------------------------------------------------- * |
62 | * GET PSEUDO TELETYPE - MASTER AND SLAVE * |
64 | * GET PSEUDO TELETYPE - MASTER AND SLAVE * |
63 | * ------------------------------------------------------------------------- */ |
65 | * ------------------------------------------------------------------------- */ |
… | |
… | |
441 | } |
443 | } |
442 | |
444 | |
443 | return true; |
445 | return true; |
444 | } |
446 | } |
445 | |
447 | |
|
|
448 | // a "factory" *g* |
|
|
449 | rxvt_ptytty *rxvt_new_ptytty () |
|
|
450 | { |
|
|
451 | return new rxvt_ptytty_unix; |
|
|
452 | } |
|
|
453 | |
446 | /*----------------------- end-of-file (C source) -----------------------*/ |
454 | /*----------------------- end-of-file (C source) -----------------------*/ |
447 | |
455 | |