[comp.windows.x] Shell in an X-Window

klee@gilroy.pa.dec.com (Ken Lee) (06/20/89)

In article <18116@paris.ics.uci.edu>, dbainbri@ics.uci.edu (David Bainbridge) writes:
> Is it possible to open a shell in an X-window, or is the only way to accomplish
> this to use xterm. 

Well, if xterm can do it, you can, too.  Of course, xterm is a huge program, so you probably don't want to rewrite it.  A quick and dirty way to include a shell in one of your (sub)windows would be to hack xterm to take a window ID as an argument, 

dbainbri@ics.uci.edu (David Bainbridge) (07/23/89)

Is it possible to open a shell in an X-window, or is the only way to accomplish
this to use xterm.  if xterms is the only way, how is it poosible to 
get the window id of the xterms, so it can be reparented.  Or better yet
how can you set the parent of xterm when it is being created.

thanks
david.

ps. No widgets or toolkit solutions please, as I am not using these.
_______________________________________________________________________________
|  					|				      |
|        University Of California       |  dbainbri@ics.uci.edu		      |
|                Irvine                 |				      |
|_______________________________________|_____________________________________|

dheller@cory.Berkeley.EDU (Dan Heller) (07/23/89)

In article dbainbri@ics.uci.edu (David Bainbridge) writes:
> Is it possible to open a shell in an X-window, or is the only way to accomplish
> this to use xterm.  if xterms is the only way, how is it poosible to 
> get the window id of the xterms, so it can be reparented.  Or better yet
> how can you set the parent of xterm when it is being created.
> 
> ps. No widgets or toolkit solutions please, as I am not using these.

Maybe David doesn't want a toolkit solution, but I know I would.
I have heard that there is an xterm widget, but it's not advertized.
Can someone substantiate this and also discuss future support of it?

Dan Heller	<island!argv@sun.com>

kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) (08/03/89)

> Is it possible to open a shell in an X-window.

I know of not way to do this with or without a toolkit.  There is nothing
on the Core distribution that supports this type of operation, short
of ripping apart xterm to get the code that you would need.


						Chris D. Peterson     
						MIT X Consortium 

Net:	 kit@expo.lcs.mit.edu
Phone:   (617) 253 - 9608	
Address: MIT - Room NE43-213

janssen@holmes (Bill Janssen) (08/06/89)

In article <18116@paris.ics.uci.edu>, dbainbri@ics (David Bainbridge) writes:
>Is it possible to open a shell in an X-window...

Not just a shell, perhaps, but a full terminal emulator would be nice.

Bill

--
 Bill Janssen        janssen.pa@xerox.com      (415) 494-4763
 Xerox Palo Alto Research Center
 3333 Coyote Hill Road, Palo Alto, California   94304