hmm, interesting this is cumbersome, but maybe you could suspend the ssh session (<return>, ~, ctrl-Z), say "screen", and then resume it (fg)?
alternatively, someone who knows the internals could explain why it is that "screen" at the command-line behaves differently from "screen" at the screen prompt. On 10/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > > just the bare command "screen", when run within screen, creates a new > > > window int he same dir as the window in which you typed it (i'm not > > > sure what that window's "default directory" (the thing edited by > > > chdir) is) > > > > > > is that what you want? > > > > > > > Thank you for your answer > > > > well, the problem is when, for example, I'm on a remote box via ssh, I > > don't want to issue screen at the prompt, since this would start a screen > > (or open a new window) on the remote box, and that's not really what I > > want. > > > > I'd need something like the 'exec' command but which would take the > > environment from the shell of the current window, not the parent shell > > > > _______________________________________________ > screen-users mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/screen-users > -- Aaron Davies [EMAIL PROTECTED] _______________________________________________ screen-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/screen-users
