10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a Zsh script which invokes another program. One of the paramters to be passed, should be a literal tab, i.e what in common programming languages is often written as "\t".
If it were bash, I think I could use the special form
$"\t"
but this doesn't seem to work (the called program... (5 Replies)
Discussion started by: rovf
5 Replies
2. 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
3. UNIX for Advanced & Expert Users
I've posted about this before, but only recently narrowed the problem down to a specific cause.
Ok, first of all, the behavior:
It occurs when autocompletion brings up its list (not when there is only a single option). Basically, if I were to type, say,
cd ~/<TAB>
I would get something... (2 Replies)
Discussion started by: marshaul
2 Replies
4. Shell Programming and Scripting
Hi there
is there a way i can add to my .zshrc so that when i type rsh <tab> it takes the name for a list of hosts
i know it looks in .ssh/know_hosts but i want it for rsh and for a list that i supply
thanks
A (4 Replies)
Discussion started by: ab52
4 Replies
5. UNIX Desktop Questions & Answers
Hi there,
I ve been using cygwin for some time now without any problems. However, recently I ve mapped a new drive on Windows and are now having problems with TAB completion for awk scripts in cygwin on this newly mapped drive (cygdrive t). I can access and run all files but cygwin doesn't do... (5 Replies)
Discussion started by: Tommes
5 Replies
6. 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
7. 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
8. 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
9. 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
10. 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
XmTabListRemoveTabs(library call) XmTabListRemoveTabs(library call)
NAME
XmTabListRemoveTabs -- A convenience function that removes noncontiguous tabs
SYNOPSIS
#include <Xm/Xm.h>
XmTabList XmTabListRemoveTabs(
XmTabList oldlist,
Cardinal *position_list,
Cardinal position_count);
DESCRIPTION
XmTabListRemoveTabs removes noncontiguous tabs from a tab list. The function creates a new tab list by copying the contents of oldlist and
removing all tabs whose corresponding positions appear in the position_list array. A warning message is displayed if a specified position
is invalid; for example, if the value is a number greater than the number of tabs in the tab list.
tablist Specifies the tab list. The function deallocates oldlist and the tabs it contains after extracting the required information.
position_list
Specifies an array of the tab positions to be removed. The position of the first tab in the list is 0 (zero), the position of the
second tab is 1, and so on.
position_count
Specifies the number of elements in the position_list.
RETURN
If oldlist or position_list is NULL, or position_count is 0 (zero), returns oldlist. Otherwise, this function returns the new tab list.
The function allocates space to hold the returned tab list. The application is responsible for managing the allocated space. The applica-
tion can recover the allocated space by calling XmTabListFree.
RELATED
XmTabList(3) and XmTabListFree(3).
XmTabListRemoveTabs(library call)