V6 Thompson Shell Port 20081213 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News V6 Thompson Shell Port 20081213 (Default branch)
# 1  
Old 12-12-2008
V6 Thompson Shell Port 20081213 (Default branch)

ImageV6 Thompson Shell Port provides two ports of the original /bin/sh from Sixth Edition (V6) Unix (circa 1975). osh is an enhanced port of the shell, and sh6 is an unenhanced port of the shell. This project also includes the following external shell utilities: glob6, if, goto, and fd2.License: BSD License (revised)Changes:
This release changes the effect of the "-v"command-line option so that, in addition toprinting non-blank command lines to the standarderror, the shell also prints each blank/emptycommand line as an empty line. It also changes thefd2 "-e" command-line option so that it reflectsthe documented behavior. For example, this changecauses invocation of "fd2 -ef file command" toredirect both conventional output and diagnosticoutput from "command" to "file".Image

Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Thompson MSH(mini-shell)

Hi Guys! Recently, I disassemble the MSH. And reconstructed. I thought maybe somebody wants to see looked like a second shell. In practice, the most ancient shell. It is written in assembler (AT&T). Owner Ken Thompson, Dennis Ritchie. mov $parbuf,r1 mov $parp,r2 clr r3 jsr pc,blank... (0 Replies)
Discussion started by: GLbS
0 Replies
Login or Register to Ask a Question
UMAD_GET_PORT(3)					    OpenIB Programmer's Manual						  UMAD_GET_PORT(3)

NAME
umad_get_port, umad_release_port - open and close an InfiniBand port SYNOPSIS
#include <infiniband/umad.h> int umad_get_port(char *ca_name, int portnum, umad_port_t *port); int umad_release_port(umad_port_t *port); DESCRIPTION
umad_get_port() fills the port structure with the IB port attributes specified by ca_name and portnum , or the default port if ca_name is NULL and portnum is zero. If only one of ca_name and portnum are specified, the other is used as a filter. For example, passing a NULL ca_name and 2 for the portnum means get a port from any of the local IB devices, as long as it is the second port. Note that the library may use some reference scheme to support port caching therefore umad_release_port() should be called before the port structure can be deal- located. The argument port is an umad_port_t struct, as specified in <infiniband/umad.h>. typedef struct umad_port { char ca_name[UMAD_CA_NAME_LEN]; /* Name of the device */ int portnum; /* Physical port number */ uint base_lid; /* Base port LID */ uint lmc; /* LMC of LID */ uint sm_lid; /* SM LID */ uint sm_sl; /* SM service level */ uint state; /* Logical port state */ uint phys_state; /* Physical port state */ uint rate; /* Port link bit rate */ uint64_t capmask; /* Port capabilities */ uint64_t gid_prefix; /* Gid prefix of this port */ uint64_t port_guid; /* GUID of this port */ } umad_port_t; umad_release_port() releases the resources that were allocated by the umad_get_port() function for the specified IB port. RETURN VALUE
umad_get_port() and umad_release_port() return 0 on success, and a negative value on error. AUTHORS
Hal Rosenstock <halr@voltaire.com> Dotan Barak <dotanb@mellanox.co.il> OpenIB May 21, 2007 UMAD_GET_PORT(3)