If you noticed the number in square brackets next to the process when you suspended it, you can also say "kill %n" where n is the number, e.g. kill %1. You then need to type fg (or bg) to continue the process, so it can die.
Russell ________________________________ From: [email protected] [[email protected]] on behalf of Jason Swails [[email protected]] Sent: 09 March 2011 15:16 To: Bruno DOUTRIAUX - Youmé-TECH Cc: [email protected] Subject: Re: Use Ctrl-C to kill the process rather than suspend it. You can run it in the foreground again using "fg" and then hit Ctrl-C, or just use the "kill" command with its PID to kill it. Good luck, Jason 2011/3/9 Bruno DOUTRIAUX - Youmé-TECH <[email protected]<mailto:[email protected]>> Hello, i was trying to install gcc45 using mac port but it hanged so i did ctrl z and it stopped then i redid sudo port install gcc45 and then i had a lock. how can i unlock it ? imac-de-meriem-lentz:~ harlock59$ sudo port -d install gcc45 DEBUG: Found port in file:///opt/local/var/ macports/sources/rsync.macports.org/release/ports/lang/gcc45<http://rsync.macports.org/release/ports/lang/gcc45> DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/gcc45<http://rsync.macports.org/release/ports/lang/gcc45> DEBUG: OS Platform: darwin DEBUG: OS Version: 9.8.0 DEBUG: Mac OS X Version: 10.5 DEBUG: System Arch: powerpc DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf<http://rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf> DEBUG: 'universal_variant no' specified, so not adding the default universal variant DEBUG: Requested variant darwin is not provided by port gcc45. DEBUG: Requested variant macosx is not provided by port gcc45. DEBUG: Executing variant powerpc provides powerpc Waiting for lock on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/work/.macports.gcc45.state -- ------------------------------------------------------------------ Bruno DOUTRIAUX EI Youmé-TECH Artisan Auto-Entrepreneur 03 27 41 13 54 (fixe) 06 58 60 39 53 (gsm) Technicien Dépannages Informatique www.youmetech.fr<http://www.youmetech.fr/> www.depannage-informatique-valenciennes.fr<http://www.depannage-informatique-valenciennes.fr/> ----------------------------------------------------------------- _______________________________________________ macports-users mailing list [email protected]<mailto:[email protected]> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032
_______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
