10-05-2012
I think you have to set newtio.c_lflag to something, not just zero. Usually what you do is get the serial port settings, disable the settings you don't want, enable the ones you do, and otherwise -- leave it alone.
I suppose you could make symbolic links to the devices you wanted. The symbolic links would have to change each run, but the programs themselves could connect to a static location.
Last edited by Corona688; 10-05-2012 at 02:10 PM..
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to setup several accounts on a solaris system.
(passwd,shadow,group)
My question is :
How can I create a group which can access a machine, but only in certain directories? (4 Replies)
Discussion started by: SmartJuniorUnix
4 Replies
2. UNIX for Advanced & Expert Users
Hello,
i was searching around for good solution for managing many nameservers to add the records on the slave servers and update them and if possible some web-based manegment for non-experianced customers.
anyone has an idea where can i find such solution? (1 Reply)
Discussion started by: Bashar
1 Replies
3. UNIX for Advanced & Expert Users
Does anyone know something about this? I have no idea what it means and how to do it. but if anyone can give me and explanation and also point me to a website, i'd really appreciate it (5 Replies)
Discussion started by: TRUEST
5 Replies
4. Programming
I have used link list in my program to operate on set of values
the operations that i am doing : add , delete from link list
when i am deleting the intermidiate or last value it is not giving any error but when i am deleting the 1 st value then program hangs
can anyone suggest me the reason (3 Replies)
Discussion started by: bhakti_2025
3 Replies
5. Solaris
Hello.
I have got Solaris 10 8/07 on x86 installed successfully using CDs. While I had inserted 1st CD - I created 2 new filesystems also.
But now after entering into Solaris - How do I manipulate sizes or created/delete filesystems by going to terminal?
Thank you! (15 Replies)
Discussion started by: panchpan
15 Replies
6. What is on Your Mind?
Hi,
I recently found this article in computerworld and I think it is very true - at least in my company ... what do you guys think - is the author right? Is it ignorant management that makes us IT people seem to be anti-social and weird?
Please share your thoughts
Kind regards
zxmaus (5 Replies)
Discussion started by: zxmaus
5 Replies
7. Solaris
I installed Solaris 10 in an old Dell computer given to me. The filesystem is ZFS (Default).
The problem is that after logging in as root (first login) I wanted to add a user : n2jkw.
I added the user at /export/home/n2jkw
BTW, /export/home is where the 150G extra Hard Drive is mounted to.... (20 Replies)
Discussion started by: n2jkw
20 Replies
8. UNIX for Dummies Questions & Answers
Hi guys,
I need to use regular expressions in linux and I'm not quite experience in that field, maybe someone could give me some help with it.
Basically, I need to take a text like this.
A234321=http://www.google..... a normal URL
But, I need to take the string starting at... (0 Replies)
Discussion started by: ocramas
0 Replies
CHGRP(1) BSD General Commands Manual CHGRP(1)
NAME
chgrp -- change group
SYNOPSIS
chgrp [-fhv] [-R [-H | -L | -P]] group file ...
DESCRIPTION
The chgrp utility sets the group ID of the file named by each file operand to the group ID specified by the group operand.
The following options are available:
-f The force option ignores errors, except for usage errors and doesn't query about strange modes (unless the user does not have proper
permissions).
-H If the -R option is specified, symbolic links on the command line are followed. (Symbolic links encountered in the tree traversal
are not followed).
-h If the file is a symbolic link, the group ID of the link itself is changed rather than the file that is pointed to.
-L If the -R option is specified, all symbolic links are followed.
-P If the -R option is specified, no symbolic links are followed. This is the default. Use -h to change the group ID of a symbolic
link.
-R Change the group ID for the file hierarchies rooted in the files instead of just the files themselves.
-v Cause chgrp to be verbose, showing files as the group is modified.
The -H, -L and -P options are ignored unless the -R option is specified. In addition, these options override each other and the command's
actions are determined by the last one specified.
The group operand can be either a group name from the group database, or a numeric group ID. If a group name is also a numeric group ID, the
operand is used as a group name.
The user invoking chgrp must belong to the specified group and be the owner of the file, or be the super-user.
DIAGNOSTICS
The chgrp utility exits 0 on success, and >0 if an error occurs.
COMPATIBILITY
In previous versions of this system, symbolic links did not have groups.
The -v option is non-standard and its use in scripts is not recommended.
FILES
/etc/group group ID file
SEE ALSO
chown(2), fts(3), group(5), passwd(5), symlink(7), chown(8)
STANDARDS
The chgrp utility is expected to be IEEE Std 1003.2 (``POSIX.2'') compatible.
BSD
March 31, 1994 BSD