Sponsored Content
Full Discussion: pause? where art thou?
Top Forums Programming pause? where art thou? Post 302073473 by 01000101 on Sunday 14th of May 2006 08:20:37 PM
Old 05-14-2006
pause? where art thou?

ok, im somewhat of an advanced programmer for the windows-side of C/C++, and the system command to pause the console is 'system("pause");'.... i just recently transfered over to Slackware 3.3 (yes, its old, but i <3 text), and pause is not the command for pausing the command line. is there any way to do this is *nix where the console pauses until the user hits anykey .... plz dont send my messages saying use cin>> or cin.getline() because thats not what im looking for... i want something similar to windows .com PAUSE.

Thnx
 

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to pause another process?

I guess I posted in wrong forum before. How do I pause another process and then restart it on linux? The other process doesn't listen for anything. Thanks for any help you can offer. Dane :confused: (1 Reply)
Discussion started by: daneensign
1 Replies

2. Programming

Waht does thou mean, old C code

ok... Take a look at the snippets below. What does it mean a construct like: void function() type var; { funct code... } hmmm.. i dont get it. my compiler either. void log_message(filename,message) char *filename; char *message; { FILE *logfile; logfile=fopen(filename,"a");... (5 Replies)
Discussion started by: heck
5 Replies

3. UNIX for Dummies Questions & Answers

pause() problems

well is gets stuck and i dont know why....... pid=fork(); if(pid==0) { pause(); write(1,"child",5); exit(0); } else { sleep(1); kill(pid,SIGCONT); write(1,"parent",5); wait(0); } all=1; (1 Reply)
Discussion started by: IdleProc
1 Replies

4. UNIX for Advanced & Expert Users

O argv, argv, wherefore art thou argv?

All of my machines (various open source derivatives on x86 and amd64) store argv above the stack (at a higher memory address). I am curious to learn if any systems store argv below the stack (at a lower memory address). I am particularly interested in proprietary Unices, such as Solaris, HP-UX,... (9 Replies)
Discussion started by: alister
9 Replies

5. Shell Programming and Scripting

Pause before exit

6) printf "\n GoodBye! \n\n"; exit ;; I am trying modify the above command to pause a couple of seconds before exiting, so a message can be displayed. Thank you :). (8 Replies)
Discussion started by: cmccabe
8 Replies
Dist::Zilla::Plugin::UploadToCPAN(3pm)			User Contributed Perl Documentation		    Dist::Zilla::Plugin::UploadToCPAN(3pm)

NAME
Dist::Zilla::Plugin::UploadToCPAN - upload the dist to CPAN VERSION
version 4.300020 SYNOPSIS
If loaded, this plugin will allow the release command to upload to the CPAN. DESCRIPTION
This plugin looks for configuration in your "dist.ini" or (more likely) "~/.dzil/config.ini": [%PAUSE] username = YOUR-PAUSE-ID password = YOUR-PAUSE-PASSWORD If this configuration does not exist, it can read the configuration from "~/.pause", in the same format that cpan-upload requires: user YOUR-PAUSE-ID password YOUR-PAUSE-PASSWORD If neither configuration exists, it will prompt you to enter your username and password during the BeforeRelease phase. Entering a blank username or password will abort the release. ATTRIBUTES
username This option supplies the user's PAUSE username. If not supplied, it will be looked for in the user's PAUSE configuration. password This option supplies the user's PAUSE password. If not supplied, it will be looked for in the user's PAUSE configuration. pause_cfg This is a hashref of defaults loaded from ~/.pause -- this attribute is subject to removal in future versions, as the config-loading behavior in CPAN::Uploader is improved. subdir If given, this specifies a subdirectory under the user's home directory to which to upload. Using this option is not recommended. upload_uri If given, this specifies an alternate URI for the PAUSE upload form. By default, the default supplied by CPAN::Uploader is used. Using this option is not recommended in most cases. AUTHOR
Ricardo SIGNES <rjbs@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Ricardo SIGNES. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-06-21 Dist::Zilla::Plugin::UploadToCPAN(3pm)
All times are GMT -4. The time now is 04:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy