DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 17th July 2012
barti barti is offline
Shell Scout
 
Join Date: Jul 2012
Posts: 122
Default openbsd basic questions

I have some beginner simple questions.
I will put them here instead of opening new treads.
========================================

Why init 6 does not make the restart?
or init 0 shutdown?



How can I use the cwm window manager?



What is the replacements for chattr or lsattr commands in Linux?



Thanks.
Reply With Quote
  #2   (View Single Post)  
Old 17th July 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by barti View Post
I have some beginner simple questions.
...which should have each been placed in its own thread. Starting new threads is not difficult. Really.

So, I will limit this thread to one topic (arbitrarily determined...).
Quote:
How can I use the cwm window manager?
Study the cwm(1) & cwmrc(5) manpages. The OpenBSD Journal had an article on cwm some time ago:

http://undeadly.org/cgi?action=artic...20090502141551
Reply With Quote
  #3   (View Single Post)  
Old 17th July 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

I will answer the other questions in separate threads for barti.
Reply With Quote
  #4   (View Single Post)  
Old 17th July 2012
barti barti is offline
Shell Scout
 
Join Date: Jul 2012
Posts: 122
Default

There are no instructions on how to install it or how work with it.


Quote:
11.5.2 - startx(1) startup
startx(1) looks for the file .xinitrc in the user's home directory. .xinitrc is usually a shell script, which can start as many X "client" (applications that use X) programs as desired. When this script exits, the X server shuts down. Generally, most of the programs run by this script should run in the background, though the last one should run in the foreground (typically the window manager); when it exits, the script will exit, and X will be shutdown.
In the simplest case, this can be as little as just the name of the window manager you wish to invoke:

cwm

Or you can get a little more fancy:
xconsole -geometry -0+0 -fn 5x7 &
oclock -geometry 75x75-0-0 &
xsetroot -solid grey &
cwm

So,

.xinitrc
cwm


startx and .. the gray stuff .
Reply With Quote
  #5   (View Single Post)  
Old 17th July 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by barti View Post
There are no instructions on how to install it or how work with it.
  • The manpages describes the functionality.
  • If you installed all five X filesets at installation, cwm(1) is already installed. I have already mentioned this in your first thread.
So for the spoon & as specified in Section 11.5.2 of the FAQ, all that is required to "start" cwm(1) is place its name as the last binary specified in ~/.xinitrc.

Note that only one window manager can be used at a time in X. If you have another window manager specified, it will have to be removed.

Last edited by ocicat; 17th July 2012 at 06:15 PM. Reason: There are five X-related filesets, not six...
Reply With Quote
  #6   (View Single Post)  
Old 17th July 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by barti View Post
the gray stuff .
If nothing else is specified in ~/.xinitrc, this is correct. Read the cwm(1) manpage about how to start applications within a cwm environment.

As an example, Ctrl-Alt-Enter will open a new xterm(1).
Reply With Quote
  #7   (View Single Post)  
Old 17th July 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

barti, if you have the expectation that all information relating to OpenBSD can be found in glossy, pretty, easy-to-read how-to documents, your expectation will not be met.

The OpenBSD project is very small. There is no significant help infrastructure in place which fills in all blanks in comparison to larger Unix-like projects. However, the correctness of the OpenBSD manpages is paramount to the developers -- bugs in the manpages have the same importance as bugs in the system.

There is a precise hierarchy as to how much "trust" can be place on all information:
  1. OpenBSD's source code.
  2. OpenBSD's man pages.
  3. Any information found on the OpenBSD project's Website.
  4. Information found in OpenBSD's mailing lists -- especially statements made by developers.
  5. Third-party documentation not officially blessed by the project has dubious value -- including anything said on sites like this one.
Don't trust information found randomly on the Internet. It is frequently old, out-of-date, incomplete, or flat out wrong.

Coming from the Linux community, you have been dealt a disservice. There, one group focuses exclusively on the kernel. Lots of other groups deal with coming up with the various distributions, & no one is really responsible for the documentation. So, there are a number of unrelated efforts which attempt to fill in the holes through their own "howto" documents. The result is an unorganized mess where there are islands of documents stating that "this is all you need to know".

The OpenBSD project doesn't believe in howto documents, & most likely never will in the future. Users are expected to have enough intelligence to read the manpages & other project documentation for comprehension -- meaning thinking through what has been written to fill in the holes that may exist themselves.

Discipline is required.
Reply With Quote
  #8   (View Single Post)  
Old 17th July 2012
barti barti is offline
Shell Scout
 
Join Date: Jul 2012
Posts: 122
Default

That's good to know.

Well, it is a different world here, completely !

No ext3, different init, different culture, no howto's , etc.........


I need to adjust .
It's hard to catch all in just few weeks.


And I say this again, this is why people don't work with openbsd.

I never heard of someone working with it.

After reading so many posts on the internet, I'm sure they are all wrong.
They should forget about Linux and stick only to BSD systems.
Reply With Quote
  #9   (View Single Post)  
Old 17th July 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Other questions have been answered in their own threads.

Restart/Shutdown:
http://www.daemonforums.org/showthread.php?t=7298

lsattr/chattr:
http://www.daemonforums.org/showthread.php?t=7299
Reply With Quote
Old 17th July 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Default

Looooooool ! sorry but I can't help laughing at myself ! I recalled having started a thread advocating OpenBSD for newbs .. and yet you can't escape falling for the OS once you start using it .. it's far superior !!!
Reply With Quote
Old 17th July 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Default

Well-said Sir ..
While there is always an OS which you like .. there is too an OS which you simply have to use .. if you go through the Distrowatch pages , an see those divisions (specialist , forensics , desktop , old hardware , security , etc ) you see how people differ not only in tastes but in needs .. but again they may often swap needs with time .. or change tastes over time .. there is charm when you hear about some distros for the spirit they preach : slackware/gentoo .. some are just beloved penguins anyway :-)
But Daemons rock !!!!!!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD how to start (basic setup) wesley Guides 4 18th July 2012 06:29 PM
basic rsync questions unixjingleman FreeBSD General 5 27th May 2011 04:39 AM
OpenBSD /dev Questions Android1 OpenBSD General 3 15th May 2010 06:51 PM
Basic starter questions ??? dennky OpenBSD Installation and Upgrading 10 5th December 2009 07:21 PM
A few questions on OpenBSD? php111 OpenBSD General 24 1st November 2008 09:18 AM


All times are GMT. The time now is 10:35 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick