Sponsored Content
Full Discussion: Make my script press buttons
Top Forums Shell Programming and Scripting Make my script press buttons Post 302150812 by Zelp on Wednesday 12th of December 2007 07:08:45 PM
Old 12-12-2007
Make my script press buttons

I am having some problems trying to come up with way that my script can press <enter> for me.

I am surrounded by people who are not UNIX friendly, and I want my script to push Enter for me, without bothering the user to hit it.

Is that possible?
maybe with stty or something?

Been racking my brain on this, but can't figure it out. Any help is appreciated.
 

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
TZSELECT(1)                                                Debian Timezone Configuration                                               TZSELECT(1)

NAME
tzselect - view timezones SYNOPSIS
tzselect DESCRIPTION
This manual page explains how you can use the tzselect utility to view the installed timezone. It comes handy when you want to know what time it is in other countries, or if you just wonder what timezones exist. tzselect is called without any parameters from the shell. It shows a list of about one dozen geographic areas one can roughly recognize as continents. After choosing a geographic area by number, a list of countries and cities in this area will be shown. You can press the Enter key to reprint the list. To choose a timezone, just press the number left to it. If your input is invalid, the list will be reprinted. You may press Ctrl-C to interrupt the script at any time. Note that tzselect will not actually change the timezone for you. Use 'dpkg-reconfigure tzdata' to achieve this. FILES
/usr/share/zoneinfo/ SEE ALSO
hwclock(8) AUTHOR
Copyright 1998 Marcus Brinkmann <brinkmd@debian.org> Please see nroff source for legal notice. Debian 12 June 1998 TZSELECT(1)
All times are GMT -4. The time now is 03:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy