Need to clear the keyboard buffer


 
Thread Tools Search this Thread
Operating Systems AIX Need to clear the keyboard buffer
# 1  
Old 12-20-2011
Need to clear the keyboard buffer

I'm running a ksh script that requires user interaction, and said users (myself among them) may get a little trigger happy and get ahead of ourselves and accidentally key in the wrong responses to future prompts in the script.

Naturally, I'd like to prevent that, so how does one clear that buffer prior to the ensuing read command?
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Programming

Clear standard input buffer for C program in Linux

Hello friends! i am writing a code in which i take inputs (numbers) from user and count the total number of positive, negative and zeros entered. I need to clear my standard input buffer before scanf() command. My compiler is completely ignoring the fflush(stdin) command. its not even showing any... (1 Reply)
Discussion started by: Abhishek_kumar
1 Replies

2. UNIX for Dummies Questions & Answers

Problem getting vertical bar with British keyboard layout on US (physical) keyboard

Hi, I've got a bit of a ridiculous problem and wasn't sure where to post it. I need to use the vertical bar for piping in Bash but, as per the title, am using a UK layout on a US (physical) keyboard which doesn't have a key for it in the place I'd expect. I've tried using xbindkeys and Unicode... (7 Replies)
Discussion started by: crunchgargoyle
7 Replies

3. HP-UX

How to clear keyboard buffer

Hi, How can i clear the command. Suppose using esc k i retrieved teh command, but for some reason I want to clear and type fresh one... how can i do that. thx (2 Replies)
Discussion started by: bang_dba
2 Replies

4. Programming

Clear Serial Port Buffer Using iclear, iflush

Hello, I am having trouble clearing the serial port buffer using the iclear and iflush commands. The code runs without errors being returned, but when I check the buffer again there is still data. The only way I have so far is to read until there is nothing left in the buffer. Shouldn't one... (1 Reply)
Discussion started by: sammy-e
1 Replies

5. UNIX for Dummies Questions & Answers

command not clear

hi, i have an unix command which is as follows: ctmfw /work/CDFC/landing/ZORC.txt CREATE 0 60 1 10 240 I think a txt file called ZORC gets created in the mentioned directory, i am not sure what 0 60 1 10 240 is. Is my understanding correct and also let me know what those numbers denote?... (4 Replies)
Discussion started by: eljcmscrlk
4 Replies

6. Programming

how to clear/clean mbufs (network buffer space)?

When I worked with client-server (socket) programming, I encountered "the socket error# 10055" which means "No buffer space available". This might be a symptom of one or more applications that didn't return system resources (like memory) properly. Temporary solution was to reboot the machine to... (7 Replies)
Discussion started by: dipti
7 Replies

7. UNIX for Advanced & Expert Users

How can I map Unix keyboard for PC keyboard

A Solaris AXI 440 machine with Solaris 8 version. I have PC users who use an emulation to login to the Solaris server. How can I change the keyboard mapping of the Sun keyboard to fit to the PC keyboard ? Any comment will be appreciated. Thanks (1 Reply)
Discussion started by: simhab
1 Replies
Login or Register to Ask a Question
murmur-user-wrapper(1)					      General Commands Manual					    murmur-user-wrapper(1)

NAME
murmur-user-wrapper - User wrapper for murmurd. SYNOPSIS
murmur-user-wrapper [options] DESCRIPTION
Murmur is the server component of Mumble, a low-latency, high quality VoIP application. Murmur-wrapper is a wrapper script to make it eas- ier for normal users to set up their own, private murmur server. OPTIONS
-d "directory" Set directory to use. By default, the wrapper script uses $HOME/murmur -s Check if murmur process is running. -k Terminate running murmur process. -i Initialize only, do not start the server. -p "password" Specify password for the SuperUser account and exit. SuperUser is the mumble equivalent of root, a special user which bypasses all access restrictions. NOTES
To create your own private server, you first want to run murmur-user-wrapper -i Then edit ~/murmur/murmur.ini to set the various configuration settings. The most important is probably the port; unless you're the only murmur process running on this server, you'll need to change it. When you're happy with your settings, you need to set the password for SuperUser, which is your administrator account. murmur-user-wrapper -p <password> Once this is done, simply run murmur-user-wrapper to start the server. SEE ALSO
murmurd(1). AUTHOR
mumble and murmurd was written by Thorvald Natvig <slicer@users.sourceforge.net>. 2008 May 09 murmur-user-wrapper(1)