Sponsored Content
Full Discussion: Make my script press buttons
Top Forums Shell Programming and Scripting Make my script press buttons Post 302150817 by Zelp on Wednesday 12th of December 2007 07:34:22 PM
Old 12-12-2007
i guess the PS3 prompt is waiting.

Code:
PS3="Select the item number:"

because in a select command it just sits and wait for you to choose, so i want it to automatically hit <enter> right when it gets back to the PS3 prompt after completeing the previous selection. This way it displays the full list of choices again.
 

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Trap key press in a script

How can I trap a character press in the shell script. For eg:- I have a script runinng a infinite loops , I will need to quit if q is pressed. I have seen the traping the signal , but they give option only for traping the defined interrupt signals. But those does not help me here. (3 Replies)
Discussion started by: praveenbvarrier
3 Replies

2. Shell Programming and Scripting

Bash script [Press Tab] Screen Blank..

Dear Member, OLD Question --> disable-completion not solved My bash Menu script ping process problem. If ping still running and users press SCREEN is Blank... Cant Members help me.. kill signal or others scripting for my case, btw i use Linux.. Thanks, Rico My Bash Script : ... (1 Reply)
Discussion started by: carnegiex
1 Replies

3. Shell Programming and Scripting

Press Any Key script sequence using bash - HELP

hi to all. im a newbie in unix shell scripts. i want to make a simple unix shell script using the bash shell that asks a user to press any key after a series of commands, or an x if he wishes to exit. here's a sample script that i made: #!/usr/bin/bash pause(){ /usr/bin/echo "\t\t Press... (3 Replies)
Discussion started by: booghaw
3 Replies

4. Shell Programming and Scripting

How to detect key press in cgi shell script?

I want to detect key pressed in my .cgi web page, but it does not work even I found the code in other web site. My code is : #!/bin/sh #================================================= # PATH defination # ================================================... (2 Replies)
Discussion started by: Shuinvy
2 Replies
DCTABLE(1)					    DICOM PS3 - Make tables of attribute values 					DCTABLE(1)

NAME
dctable - ACR/NEMA DICOM PS3 ... DICOM PS3 - Make tables of attribute values SYNOPSIS
dctable " inputfile1 [ inputfile2 ... ]" [ -ignorereaderrors ] [ -v|verbose ] [ -r|recurse ] [ -describe ] [ -nofilename ] [ -noembed- dedquotes ] [ -key|k elementname|(0xgggg,0xeeee) ] ... [ -input-nometa ] [ -input-ts uid ] [ -input-default ] [ -input-byte- order|-input-endian big|little ] [ -input-vr implicit|explicit ] DESCRIPTION
dctable reads the named dicom input files and creates a tab delimited table of the values of the selected attributes, with each value enclosed in double quotes. Binary attributes are written in hexadecimal with a preceding "0x". Numeric string attributes are written in decimal. The first column always contains the filenames. A header is a added only if the -describe option is specified. If a specified attribute is not present in a file, then it the corresponding entry in the table will be empty (i.e. two consecutive quotes" but this is not reported as an error. OPTIONS
The table of attribute values go to standard output, and the verbose output and errors go to standard error. The basic input switches are described in dcintro(1). Options specific to this program are: -describe Add a first line of output that is a header describing the attributes in each column. -nofilename Do not include the filename in the table. -noembeddedquotes Remove embedded quotes (") from within displayed values to allow them to be parsed consistenty later; also has the side effect of displaying numeric binary values as decimal rather than hexadecimal. -k|key elementname|(0xgggg,0xeeee) Add a key to the list of attributes to be extracted. The attribute may also be specified as a hexadecimal pair of the form (0xgggg,0xeeee), which also allows private attributes to be fetched. -r|recurse If any attribute is not found in the top level dataset, recurse through sequence attribute items until the first instance is found. This is a depth-first traversal, i.e., all children of the first item of a sequence are searched before the sibling items. -ignorereaderrors Attempt to extract key values even if errors encountered whilst parsing DICOM file. ENVIRONMENT
EXAMPLES
% dctable -k Rows -k Columns -describe test.dc3 "Filename" "Rows" "Columns" "test.dc3" "0x0100" "0x0100" FILES
SEE ALSO
dcintro(1),dckey(1) AUTHOR
Copyright (C) 2012. David A. Clunie. All rights reserved. BUGS
Attempts to extract sequences or OB,OW attributes may fail nastily. The order in which the attributes are extracted and written is not the same order as they are specified on the command line, and should not be depended on. DICOM PS3 28 March 2012 DCTABLE(1)
All times are GMT -4. The time now is 05:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy