05-14-2010
You might want to read the above.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
I recently discovered the ! command. I think it's great that !cd ? will match the last command that began with cd ?. However, for ! to be particularly useful to me (for now anyway) it would be nice if there was a tab completion option available (as with the cd command). Does anyone know... (3 Replies)
Discussion started by: x-375HK-x
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Is there a way to turn on tab completetion on Solaris 10? (2 Replies)
Discussion started by: annointed3
2 Replies
3. UNIX for Dummies Questions & Answers
Hello all
How do you configure unix terminal to list files as you tab complete. I'm using a unix terminal at work and when i first started tab complete on a folder would list all matches if there were more than one.
eg.
monkey.xml
mon.xml
monkeyboy.xml
in one folder if i cd into... (2 Replies)
Discussion started by: GNUless
2 Replies
4. Shell Programming and Scripting
Is it possible to set up my .cshrc so that a single tab attempts to autocomplete, while a double tab gives a list of all possible options. In other words, I want it to work like bash in this regard.
Thanks! (3 Replies)
Discussion started by: James McMurray
3 Replies
5. HP-UX
hello,
i'm a linux zealot (fedora), so i know a some about unix. the company i work for uses HP-UX though and there are a few quirks i'd like smooth out by making them work more like my beloved redhat type systems...=)
right now they have all users using ksh and completion is done by hitting... (4 Replies)
Discussion started by: clockworks
4 Replies
6. Shell Programming and Scripting
Is there a way to link a script in my ~/bin with file extension priority for tab completion?
for example, if the script I have could only look at .tex files, and I have 6 files in the same directory with the same name, but different extensions:
index.tex index.dvi index.toc ... etc...
it... (0 Replies)
Discussion started by: pyramation
0 Replies
7. Shell Programming and Scripting
hi guys,
i am new to HP unix , i am doing Solaris , i am just asking is there any thing like "bash" in hp unix including tab completion? (8 Replies)
Discussion started by: dagigg
8 Replies
8. UNIX for Advanced & Expert Users
I'm running Mac OS, using the latest version of zsh.
I've noticed that I have funny tab-completion behavior when inside a screen session.
Specifically, once I press tab, the first part of my command seems to be duplicated before the completion results are inserted.
For example, if I type... (14 Replies)
Discussion started by: marshaul
14 Replies
9. Windows & DOS: Issues & Discussions
Hi,
I am using cygwin on windows machine. Tab completion works as expected in almost all areas, except for when I use tilda (~) to access files/dir under my home dir. When i type 'cd ~/' and hit TAB nothing happens, no completion options are given.
I can type just 'cd' and it will change to... (4 Replies)
Discussion started by: centerback
4 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I'm having a problem with tab completion at the bash command line. For some reason, whenever I type g<tab>, the terminal will freeze up for 5-10 seconds before asking me if I want to display all 325 possibilities. I thought that maybe it's because of the high number of commands, but I have... (4 Replies)
Discussion started by: Raz716
4 Replies
LEARN ABOUT DEBIAN
io_canread
io_canread(3) Library Functions Manual io_canread(3)
NAME
io_canread - return a file descriptor that can be read from
SYNTAX
#include <io.h>
int64 io_canread();
DESCRIPTION
io_canread returns the next file descriptor that can be read from. You have to have used io_wantread() on the file descriptor earlier, and
you have to have called io_wait() or io_waituntil().
These functions then keep an internal data structure on which descriptors were reported readable by the operating system.
Please note that there is no guarantee that there still is data that can be read from the descriptor, just that there was data when
io_wait() or io_waituntil() were called. Another process could have read the data before you. Look at the result from io_tryread().
If there are no more descriptors that you can write to without blocking, io_canwrite will return -1. In this case you should call
io_wait() or io_waituntil() again.
You should use io_tryread(3) to read from the descriptor, not plain read(2). If you use read(2) and you get EAGAIN, call io_eagain(3).
SEE ALSO
io_wait(3), io_canwrite(3), io_eagain(3)
io_canread(3)