12-31-2014
I am trying to understand the whole source code. I would like to know what each functions does, what each line does. So I picked some lines I do not understand and wrote the questions here.
Quote:
That pastebin stuff is nonsense.
Why is it nonsense? It's the acutal source code of the command if (unix ver.6).
How to use the command in unix is described in the posted man page.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi!
Im new to all this but the computer club im in has unix i think.
now my questions.
1.is it NTFS i need to partion the harddrive with to be able to use unix?
2.Unix and Linux whats the diffrense?yes im a noob got no idea been using crap windows for ages and hate it.
3.I got a win98... (2 Replies)
Discussion started by: Pierre
2 Replies
2. Programming
What does "extern" do?
ex. extern int x;
and another question, what about using static in functions? like: static void foo(), why? (2 Replies)
Discussion started by: Esaia
2 Replies
3. Solaris
Hello Everbody
I hope you can give me a hand, I have some questions
The first one itīs about some message that I donīt know what means, I was looking about it. but nothing. This is the message
rsh: connection from bad port
bsd-gw: Error reading from connection: Bad file number
And my... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies
4. UNIX for Dummies Questions & Answers
Hi everyone im new to this forums, i just wanted to get started by asking a few question(Im a Unix newbie)
1. How do i sort a file called "dirr" in a ascending order on the 3rd column
2. what does alias on=who do
Thanks in advance!!! (1 Reply)
Discussion started by: Da Paper
1 Replies
5. Programming
hey all, I have question when am writing simple shell...
in the child am calling execvp, i want the parent to know when execvp returns - 1. how can i let the parent know the result of execvp
thanks in advance (9 Replies)
Discussion started by: joey
9 Replies
6. Homework & Coursework Questions
1.) I am to write scripts that will be phasetest folder in the home directory.
2.) The folder should have a set-up,phase and display files
I have written a small script which i used to check for the existing users and their password.
What I need help with:
I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies
7. UNIX for Dummies Questions & Answers
1) The lpr and sort utilities accept input either from a file named on the command line or from standard input.
a)Name two other utilities that function in a similar manner.
b)Name a utility that accepts its input only from standard input.
2) Explain the following error message. What... (10 Replies)
Discussion started by: youngyou
10 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I would like to know how we can highlight/select a section of a file in vi and delete that section if we don't want to use the dd command to delete one line at at time. There is one where we don't want to delete the whole line , but up to a certain word. (2 Replies)
Discussion started by: Pouchie1
2 Replies
LEARN ABOUT SUSE
ansi_ctrlu
term::ansi::ctrl::unix(n) Terminal control term::ansi::ctrl::unix(n)
__________________________________________________________________________________________________________________________________________________
NAME
term::ansi::ctrl::unix - Control operations and queries
SYNOPSIS
package require Tcl 8.4
package require term::ansi::ctrl::unix ?0.1?
::term::ansi::ctrl::unix::import ?ns? ?arg...?
::term::ansi::ctrl::unix::raw
::term::ansi::ctrl::unix::raw
::term::ansi::ctrl::unix::columns
::term::ansi::ctrl::unix::rows
_________________________________________________________________
DESCRIPTION
WARNING: This package is unix-specific and depends on the availability of two unix system commands for terminal control, i.e. stty and
tput, both of which have to be found in the $PATH. If any of these two commands is missing the loading of the package will fail.
The package provides commands to switch the standard input of the current process between raw and cooked input modes, and to query the size
of terminals, i.e. the available number of columns and lines.
API
INTROSPECTION
::term::ansi::ctrl::unix::import ?ns? ?arg...?
This command imports some or all attribute commands into the namespace ns. This is by default the namespace ctrl. Note that this is
relative namespace name, placing the imported command into a child of the current namespace. By default all commands are imported,
this can howver be restricted by listing the names of the wanted commands after the namespace argument.
OPERATIONS
::term::ansi::ctrl::unix::raw
This command switches the standard input of the current process to raw input mode. This means that from then on all characters typed
by the user are immediately reported to the application instead of waiting in the OS buffer until the Enter/Return key is received.
::term::ansi::ctrl::unix::raw
This command switches the standard input of the current process to cooked input mode. This means that from then on all characters
typed by the user are kept in OS buffers for editing until the Enter/Return key is received.
::term::ansi::ctrl::unix::columns
This command queries the terminal connected to the standard input for the number of columns available for display.
::term::ansi::ctrl::unix::rows
This command queries the terminal connected to the standard input for the number of rows (aka lines) available for display.
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category term of
the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for
either package and/or documentation.
KEYWORDS
ansi, columns, control, cooked, input mode, lines, raw, rows, terminal
COPYRIGHT
Copyright (c) 2006 Andreas Kupries <andreas_kupries@users.sourceforge.net>
term 0.1 term::ansi::ctrl::unix(n)