10-01-2001
Start with...
Hi,
Well, I started with linux, then moved to OpenBSD, NetBSD, etc..
Linux is easier to start with, but it's a lil bit diff. from BSD. It depends on you purposes.
Take care.
5 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to prompt a user for input but I want it to timeout after a specified time if no response is given. I tried the sleep command but this does not work. I am using ksh.
Thanks. (10 Replies)
Discussion started by: rello
10 Replies
2. Solaris
Hey everybody I just wanted to throw something into the gears here.
The first UNIX system I used was an IBM RS/6000 POWER Server 370h I believe, running AIX 3.2, I think (its been some time). On this System V machine was a learning facility called "learn" which taught basic shell operation and... (0 Replies)
Discussion started by: ultra0384
0 Replies
3. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT NETBSD
gpioiic
GPIOIIC(4) BSD Kernel Interfaces Manual GPIOIIC(4)
NAME
gpioiic -- GPIO I2C controller
SYNOPSIS
gpioiic* at gpio? offset 0 mask 0x3 flag 0x0
gpioiic* at gpio?
iic* at gpioiic?
DESCRIPTION
The gpioiic driver allows bit-banging an I2C bus as a master using two GPIO pins. By default the first pin is used as a serial data (SDA)
signal and the second as a serial clock (SCL). If the flag locator is set to 0x01, the order of the SDA and SCL signals is reversed. Both
GPIO pins must be able to drive an output and the SDA pin must be also able to read an input.
The pins can be specified in the kernel configuration with the offset and the mask locators. The offset and mask can also be specified when
gpioiic is attached at runtime using the GPIOATTACH ioctl(2) on the gpio(4) device. Each bit in the mask locator defines one pin; the pin
number is calculated as an addition of the bit position and the offset locator. For example, offset 17 and mask 0x5 defines pin numbers 17
and 19.
SEE ALSO
gpio(4), iic(4), intro(4)
HISTORY
The gpioiic driver first appeared in OpenBSD 3.9 and NetBSD 5.0.
AUTHORS
The gpioiic driver was written by Alexander Yurchenko <grange@openbsd.org> and was ported to NetBSD by Marc Balmer <marc@msys.ch>.
CAVEATS
A gpioiic device can not be detached from the gpio(4) bus at runtime due to the fact that iic(4) busses can not detach once attached.
BSD
October 2, 2011 BSD