Getmntent setmntent addmntent endmntent hasmntopt

Getmntent, setmntent, addmntent, endmntent, hasmntopt Get filesystem descriptor file entry include < stdio.h> include < mntent.h> FILE *setmntent(const char *filep, const char *type) struct mntent *getmntent(FILE *filep) int addmntent(FILE *filep, const struct mntent *mnt) int endmntent(FILE *filep) char *hasmntopt(const struct mntent *mnt, const char *opt) These routines are used to access the filesystem description file etc fstab and the mounted filesystem description file etc mstab....

Termiostcgetattrtcsetattr tcsendbreak tcdrain tcflush tcflow cfgetospeed cfgetispeed cfsetispeed cfsetospeed

Termios, tcgetattr, tcsetattr, tcsendbreak, tcdrain, tcflush, tcflow, cfgetospeed, cfgetispeed, cfsetispeed, cfsetospeed, tcgetpgrp, tcsetpgrp Get and set terminal attributes, do line control, get and set baud rate, get and set terminal foreground process group ID include < termios.h> include < unistd.h> int tcgetattr ( int fd, struct termios *termios_p ) int tcsetattr ( int fd, int optional_actions, struct int tcsendbreak ( int fd, int duration ) int tcdrain ( int fd ) int tcflush (...

Lynx

Lynx A general-purpose distributed information browser for the World Wide Web Use lynx -help to display a complete list of current options. lynx is a fully-featured World Wide Web (WWW) client for users running cursor-addressable, character-cell display devices (for example, vt100 terminals, vt100 emulators running on PCs or Macs, or any other curses-oriented display). It will display Hypertext Markup Language (HTML) documents containing links to files residing on the local system, as well as...

Character translation tables

If you live in the USA, in Western Europe, or in Australia, you can skip this section. DOS uses a different character code mapping from UNIX. Seven-bit characters still have the same meaning only characters with the eight-bit set are affected. To make matters worse, there are several translation tables available depending on the country where you are. The appearance of the characters is defined using code pages. These code pages aren't the same for all countries. For instance, some code pages...

Ls dir vdir

Ls, dir, vdir List contents of directories ls abcdfgiklmnpqrstuxABCFGLNQRSUXI w cols T cols I pattern --all escape --directory --inode --kilobytes --numeric-uid-gid no-group hide-control-chars --reverse --size --width cols --tabsize cols almost-all --ignore-backups --classify --file-type --full-time ignore pattern --dereference --literal --quote-name --recursive -sort none, time, size, extension --format long, verbose, commas, across, vertical, single-column --time atime, access, use, ctime,...

Description

The mount command calls the mount(2) system call to prepare and graft a special device onto the filesystem tree at the point node. If either spec ial or node are not provided, the appropriate information is taken from the fstab(5) file. The special keyword none can be used instead of a path or node specification. This is useful when mounting the proc filesystem. The system maintains a list of currently mounted filesystems. If no arguments are given to mount, this list is printed. Options...

More arguments

Some ioctls take a pointer to a structure that contains additional pointers. These are documented here in alphabetical order. CDROMREADAUDIO takes an input pointer const struct cdrom read audio *. The buf field points to an output buffer of length CDROMREADCOOKED, CDROMREADMODE1, CDROMREADMODE2, and CDROM-READRAW take an input pointer const struct cdrom msf *. They use the same pointer as an output pointer to char . The length varies by request. For CDROMREADMODE1, most drivers use...

Main table

< include asm-i 386 socket.h> 0x00008901 0x00008902 0x00008903 0x00008904 0x00008905 0x00008906 < include asm-i 386 term ios.h> < include asm-i 386 term ios.h> * * * * struct floppy_raw_cmd * MORE I-O struct ppp_stats * struct ppp_ddinfo * struct f int 8 g * const struct f int 8 g * const int * const int * const int * SIOCAIPXITFCRT SIOCAIPXPRISLT SIOCIPXCFGDATA struct console_font_desc * MORE I-O const struct console_font_desc * MORE char * int MORE int MORE void MORE void MORE int...

Scsi tape configuration

Some boot-time configuration of the SCSI tape driver can be achieved with the following The first two numbers are specified in units of kilobytes. The default buf_size is 32KB, and the maximum size that can be specified is a ridiculous 16384KB. The write_thresho l d is the value at which the buffer is committed to tape with a default value of 30KB. The maximum number of buffers varies with the number of drives detected and has a default of two. A sample usage is Full details can be found in the...

P

Packed format fonts, converting to portable bitmaps, 381 packets sending, 1358 route, printing, 1409-1412 calling process, 797-798 reenabling, 811-813 parameter command substitution (bash), 20 parameter expansion (bash), 1219-1220 argument list, 1216-1217 BusLogic configuration, 1220 busmouse drivers, 1224 cards not accepting, 1220 CD-ROMs, 1222-1223 debug argument, 1217 Ethernet devices, 1223 floppy disk drives, configuration, 1220 hard disks, 1220-1221 mem argument, 1218 no-hlt argument, 1217...

Pbmfilters

Pbmfilters List of all programs in the PBMPlus package Attempt to convert an unknown type of image file to a portable anymap Convert ASCII graphics into a portable graymap Convert Andrew Toolkit raster object to a portable bitmap Biorad confocal file into a portable graymap doodle brush file into a portable bitmap CMU window manager bitmap into a portable bitmap Usenix FaceSaver file into a portable graymap Group 3 fax file into a portable bitmap Convert Gould scanner file into a portable...

Stat fstat lstat

Stat, fstat, lstat Get file status include < sys stat.h> include < unistd.h> int stat(const char *file_name,struct stat *buf) int fstat(int filedes,struct stat *buf) int lstat(const char *file_name, struct stat *buf) These functions return information about the specified file. You do not need any access rights to the file to get this information, but you need search rights to all directories named in the path leading to the file. stat stats the file pointed to by fi l e_name and fills...

Xdmcp options

X servers that support XDMCP have the following options. (See the X Display Manager Control Protocol specification for more information.) Enable XDMCP and send Query packets to the specified host. Enable XDMCP and broadcast BroadcastQuery packets to the network. The first responding display manager will be chosen for the session. Enable XDMCP and send IndirectQuery packets to the specified host. Use an alternate port number for XDMCP packets. Must be specified before any -query, -broadcast, or...

Xdmcp access control

The database file specified by the DisplayManager.accessFile provides information which xdm uses to control access from displays requesting XDMCP service. This file contains three types of entries entries that control the response to Direct and Broadcast queries, entries that control the response to Indirect queries, and macro definitions. The format of the Direct entries is simple, either a hostname or a pattern, which is distinguished from a hostname by the inclusion of one or more...

Reset program

Symmetrical with Xstartup, the Xreset script is run after the user session has terminated. Run as root, it should contain commands that undo the effects of commands in Xstartup, removing entries from etc utmp or unmounting directories from file servers. The environment variables that were passed to Xstartup are also passed to Xreset. This program is run as root after the session ends sessreg -d -l DISPLAY -x usr X11R6 lib xdm Xservers USER

Devices

This only works on kernels that have proc interrupts (introduced during 1.1.x). This file is scanned to see what devices are currently configured into the kernel, and this is compared with the previous settings stored in the file called DEVICES. Devices that are new since then or have a different major number are created, and those that are no longer configured are deleted. Create a generic subset of devices. This is the standard devices, plus floppy drives, various hard drives,...

Startup program

The Xstartup file is typically a shell script. It is run as root and should be very careful about security. This is the place to put commands that add entries to etc utmp (the sessreg program may be useful here), mount users' home directories from file servers, display the message of the day, or abort the session if logins are not allowed. In addition to any specified by DisplayManager. exportList, the following environment variables are passed DISPLAY The associated display name HOME The...

S

Saving stack context, 1018 sbin directory, 1237 sbrk, 746 1012-1013 scanf functions, 1013-1015 conversions, 1014-1015 flags, 1014 return values, 1015 830-831 sched_getparam, 832 sched_getscheduler, 833-835 errors, 834 policies, 833 SCHED_FIFO, 833-834 SCHED_OTHER, 834 SCHED_RR, 834 response time, 834 sched_rr_get_interval, 831 sched_setparam, 832 sched_setscheduler, 833-835 errors, 834 policies, 833 SCHED_FIFO, 833-834 SCHED_OTHER, 834 SCHED_RR, 834 response time, 834 sched_yield, 835...

Awk program execution

An awk program consists of a sequence of pattern-action statements and optional function definitions function name parameter list statements gawk first reads the program source from the program-file s if specified, from arguments to -W source , or from the first nonoption argument on the command line. The -f and -W source options may be used multiple times on the command line. gawk will read the program text as if all the program-files and command-line source texts had been concatenated...

Options

-i Create and initialize a new RCS file, but do not deposit any revision. If the RCS file has no path prefix, try to place it first into the subdirectory . RCS, and then into the current directory. If the RCS file already exists, print an error message. -a logi ns Append the login names appearing in the comma-separated list logins to the access list of the RCS file. -Ao ldfi le Append the access list of oldfile to the access list of the RCS file. -e logins Erase the login names appearing in the...

Cvs commands

Here finally are details on all the cvs commands and the options each accepts. The summary lines at the top of each command's description highlight three kinds of things Command Options and Arguments Special options are described in detail common command options may appear only Working Directory, or Repository Some cvs commands require a working directory to operate some require a repository. Also, some commands change the repository, some change the working directory, and some change nothing....

F

Fabs function, 919 face files, converting to portable bitmaps, 726 fastrm, 1294-1295 fc shell command , 37-38 FCEDIT variable bash , 17 fchdir, 747-748 fchmod, 748-749 fchown, 749-750 fclose function, 919 fcntl, 755-756 fcvt function, 913-914 fd, 1080-1083 configuration, 1080-1082 ioctl calls supported, 1082 FD_CLR macro, 836 FD_ISSET macro, 836 FD_SET macro, 836 FD_ZERO macro, 836 fdatasync, 756-757 fdformat, 1295-1296 fdisk, 1296-1297 fdopen function, 924-925 feof function, 919-920 ferror...

Adaptec aha154x configuration

The aha1542 series cards have an i82077 floppy controller on board, whereas the aha1540 series cards do not. These are busmastering cards and have parameters to set the fairness that is used to share the bus with other devices. The boot arg looks like the following Valid iobase values are usually one of 0x130, 0x134, 0x230, 0x234, 0x330, or 0x334. Clone cards may permit other values. The buson and busoff values refer to the number of microseconds that the card dominates the ISA bus. The...