Professional Web Applications Themes

exec make buildworld - FreeBSD

Is it possible to do a ssh conection then do exec make buildworld on the remote system close the conection and do a conection again later and get the output from make buildworld again ?...

  1. #1

    Default exec make buildworld

    Is it possible to do a ssh conection then do exec make buildworld on
    the remote system close the conection and do a conection again later
    and get the output from make buildworld again ?
    Gert Guest

  2. #2

    Default Re: exec make buildworld

    On Apr 4, 2005 6:07 AM, Gert Cuykens <com> wrote: 

    Doh i forgot the important part again, without using screen :)
    Gert Guest

  3. #3

    Default Re: exec make buildworld

    On Mon, Apr 04, 2005 at 06:16:14AM +0200, Gert Cuykens wrote: 
    >
    > Doh i forgot the important part again, without using screen :)[/ref]

    # make buildworld >& log.file &
    # logout

    Later:

    # more log.file

    --
    Jonathan Chen <org.nz>
    -----------------------------------------------------------------------
    "I love deadlines. I like the whooshing sound they make as they fly by"
    - Douglas Adams
    Jonathan Guest

  4. #4

    Default Re: exec make buildworld

    Jonathan Chen wrote: 
    >>
    >>Doh i forgot the important part again, without using screen :)[/ref]
    >
    >
    > # make buildworld >& log.file &
    > # logout[/ref]


    It's kinda strange, but it didn't work for me yesterday.
    The build stopped as soon as I logged out, I used
    Ctrl-D instead of logout though.

    What I find more comfortable is
    # at + 1 minute
    make buildworld
    Ctrl-D

    Some time after I have new mail, containing all the
    output (stdout and stderr) from the task. That's cute.

    Best wishes,
    Andrew P.
    Andrew Guest

  5. #5

    Default Re: exec make buildworld

    On Apr 4, 2005 12:03 PM, Andrew P. <ru> wrote: 
    > >
    > >
    > > # make buildworld >& log.file &
    > > # logout[/ref]
    >
    > It's kinda strange, but it didn't work for me yesterday.
    > The build stopped as soon as I logged out, I used
    > Ctrl-D instead of logout though.
    >
    > What I find more comfortable is
    > # at + 1 minute
    > make buildworld
    > Ctrl-D
    >
    > Some time after I have new mail, containing all the
    > output (stdout and stderr) from the task. That's cute.
    >[/ref]

    i think it did not work because you have to do "exec make buildworld >
    log.file & logout" dont know did not try it yet :)

    Is ctrl+D the same as close exit or logout or does it stand for detach
    and run in the background ? If i do ctrl +D in a terminal doing
    nothing ? Will the terminal be runing forever in the background doing
    nothing untill i kill it ?
    Where can you find a list of csh ctrl commands ?
    Gert Guest

  6. #6

    Default Re: exec make buildworld

    On Apr 4, 2005, at 1:54 PM, Gert Cuykens wrote: 

    Cntl-D when read as input means EOF. The shell reads commands until it
    reaches the end of the shell script, or the end of user input, and then
    exits. Cntl-D thus behaves similar to exit or logout.

    [ EOF really is a state of mind, not a character. ]
     

    Your shell will exit.
     

    Nope. Your terminal window will notice the child shell process go
    away, and will do the same thing.
     

    These aren't specific to csh, but see "stty -a".

    --
    -Chuck

    Charles Guest

  7. #7

    Default Re: exec make buildworld

    On Apr 4, 2005 8:03 PM, Charles Swiger <com> wrote: 
    >
    > Cntl-D when read as input means EOF. The shell reads commands until it
    > reaches the end of the shell script, or the end of user input, and then
    > exits. Cntl-D thus behaves similar to exit or logout.
    >
    > [ EOF really is a state of mind, not a character. ]

    >
    > Your shell will exit.

    >
    > Nope. Your terminal window will notice the child shell process go
    > away, and will do the same thing.

    >
    > These aren't specific to csh, but see "stty -a".
    >[/ref]

    what does stty stand for ?

    signal text terminal y... ?

    FX-53U stty -a
    speed 38400 baud; 24 rows; 80 columns;
    lflags: icanon isig iexten echo echoe echok echoke -echonl echoctl
    -echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo
    -extproc
    iflags: -istrip icrnl -inlcr -igncr ixon -ixoff -ixany imaxbel -ignbrk
    brkint -inpck ignpar -parmrk
    oflags: opost onlcr -ocrnl -oxtabs -onocr -onlret
    cflags: cread cs8 -parenb -parodd -hupcl -clocal -cstopb -crtscts
    -dsrflow -dtrflow -mdmbuf
    cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
    eol2 = <undef>; erase = ^H; erase2 = ^H; intr = ^C; kill = ^U;
    lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
    status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;
    FX-53U

    So ^D stand for end of file, what does this mean time = 0; ?
    Gert Guest

  8. #8

    Default Re: exec make buildworld

    On Apr 4, 2005, at 2:14 PM, Gert Cuykens wrote: 

    If you want a complete description, read the manpage.

    --
    -Chuck

    Charles Guest

Similar Threads

  1. make buildworld errors
    By luke in forum FreeBSD
    Replies: 3
    Last Post: March 21st, 04:00 PM
  2. make buildworld
    By RYAN in forum FreeBSD
    Replies: 3
    Last Post: March 11th, 09:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139