Ending Assignment 3.

From: <>
Date: Mon Mar 6 14:44:04 -0500 2006

When does the program end? Is ctrl-d is the only way to end the program?

  No, you can also intr, which is usually mapped to ctrl-c. For this
  program either one will do because no further output is expected.

  Type "stty -a" to see what the eof and intr signals are mapped to.

    $ stty -a
    speed 38400 baud; rows 0; columns 0; line = 0;
    intr = ^C; quit = ^\; erase = ^H; kill = <undef>; eof = ^D; eol = <undef>;
    eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
    lnext = ^V; flush = ^O; min = 1; time = 0;
    -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
    -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr
    icrnl ixon -ixoff -iuclc -ixany -imaxbel
    opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0
    tab3 bs0 vt0 ff0
    isig icanon iexten -echo echoe echok -echonl -noflsh -xcase
    -tostop -echoprt echoctl echoke

    $

  You can also use stty to change the mappings; see the stty man page
  for details.

How do you want us to handle this exit scenario? Can you explain?

  Exit the program with no further processing.
Received on Mon Mar 06 2006 - 14:44:04 EST

This archive was generated by hypermail 2.2.0 : Tue Mar 21 2006 - 10:28:01 EST