Sponsored Content
Full Discussion: Unix-based operating systems
Operating Systems Linux Fedora Unix-based operating systems Post 302368955 by Tron55555 on Friday 6th of November 2009 05:36:12 AM
Old 11-06-2009
Thank a lot, guys -- your replies have been extremely helpful. A few things left that I wanted to wrap up if anyone gets the time:

1.) Like I mentioned, I'm running a MacBook right now, but am most likely going to be buying an expensive PC soon. It was mentioned, however, that it may be a good idea to mess around with installing various Unix OS's on a machine that is strictly used for that purpose, that way protecting the other machines from any side effects of this experimentation, especially since I will be doing a lot of development with the Unix OS's, which can have side effects in itself. So, in place of or in addition to the high-end PC I am thinking about buying, I may look into an inexpensive little notebook for running various Unix OS's. Does anyone have any recommendations for what I should buy if I wanted to do this? I would want it to be cheaper, since it would just be for the sake of experimenting with different Unix OS's and development on those OS's, but I would also want it to be fully functional in that sense (not a P.O.S., in other words) -- so what would be the minimum basic specs I should be looking to buy on a notebook for this purpose that would be as cheap as possible but still allow for sufficient performance for the purposes I've discussed? Also, what type of notebook should I be looking at? Are there any alternatives to the standard PC/Mac decision -- is there anything else out there that I should be checking out? I know desktops can be custom-built from the ground up -- can this be done with notebooks too?

Thank you very much for your time and help!
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Difference between UNIX operating system and Unix Open Server

Hi, I recently joined this forum and new to UNIX. Is there any difference between UNIX operating system and UNIX open server? Please explain. (1 Reply)
Discussion started by: Manjit
1 Replies

2. News, Links, Events and Announcements

Modern Operating Systems: Tanenbaum

Chapters on Linux and Unix: http://www.prenhall.com/divisions/esm/app/author_tanenbaum/custom/mos2e/ Slides, figures, code, lots of goodies on-line! CHAPTER 10 CASE STUDY 1: UNIX AND LINUX 671 10.1. HISTORY OF UNIX 672 10.1.1. UNICS 672 ... (1 Reply)
Discussion started by: Neo
1 Replies

3. Filesystems, Disks and Memory

Operating Systems??

We are currently running two servers each with remote file systems mounted on each other. They need upgrading from Solaris 2.6 to 8. Does anyone know if there is a problem with having one server running Solaris 2.6 and the other v8?? Until we have time to upgrade them both. (2 Replies)
Discussion started by: hesmas
2 Replies

4. UNIX for Advanced & Expert Users

Opinions on db operating systems Wanted

I am interested in hearing anyones opinions on what OS they would choose to run a MySQl db and the reasons why, of course. I have a task to build a db server for a project that will be very busy if things work as the creative minds think that it will. I am running a FreeBSD box right now on... (0 Replies)
Discussion started by: smtpgeek
0 Replies

5. Shell Programming and Scripting

Unix Operating Systems Information Document

Hi all, I prepared a document on UNIX OS. Its an humble attempt to share my knowledge. Please review the document attached and correct if any mistakes and any suggestions to make it more useful and any troubleshooting information if needed to add. Please help in making the document to add... (2 Replies)
Discussion started by: gurukottur
2 Replies

6. UNIX for Advanced & Expert Users

Where the operating systems are going

Dear administrators I want to post the following question and, honestly, I don't know in which forum to post it since its general meaning. my question is: Where the operating system are going? Microkernel, monolithich or hybrid ? Because this question involves more forums at the same but... (2 Replies)
Discussion started by: Puntino
2 Replies

7. UNIX for Dummies Questions & Answers

unix Operating Systems 5

Hi :) I have unix Operating Systems 5 I need working for user logout befor 10 minutes,In the case that he is not active :o what do I do? :rolleyes: (4 Replies)
Discussion started by: fakhwork
4 Replies

8. Programming

Does the assembler output differ between operating systems ?

The assembly code generated by assembler, from a C-source code depends on the CPU architecture underlying it, eg x-86 . Then does the assembler output of a simple C-source code (containing common function-calls of both windows and linux) differ between Operating Systems ? (1 Reply)
Discussion started by: vishwamitra
1 Replies

9. Google Chrome OS

Do we need many Operating Systems?

we have windows linux- redhat ubuntu -or more i don't know unix- solares snow-lepord and recently chrome what do you think well when i sow that all has extentions like exe -dsb i felt scared (1 Reply)
Discussion started by: Anna Hussie
1 Replies
iwidgets::notebook(1)						  [incr Widgets]					     iwidgets::notebook(1)

__________________________________________________________________________________________________________________________________________________

NAME
iwidgets::notebook - create and manipulate notebook widgets SYNOPSIS
iwidgets::notebook pathName ?options? INHERITANCE
itk::Widget <- iwidgets::Notebook STANDARD OPTIONS
background foreground scrollCommand width cursor height See the "options" manual entry for details on the standard options. WIDGET-SPECIFIC OPTIONS Name: auto Class: Auto Command-Line Switch: -auto Specifies whether to use the automatic packing/unpacking algorithm of the notebook. A value of true indicates that page frames will be unpacked and packed acoording to the algorithm described in the select command. A value of false leaves the current page packed and subsequent selects, next, or previous commands do not switch pages automatically. In either case the page's associated command (see the add command's description of the command option) is invoked. The value may have any of the forms accepted by the Tcl_Get- Boolean, such as true, false, 0, 1, yes, or no. For example, if a series of pages in a notebook simply change certain display configurations of a graphical display, the -auto flag could be used. By setting it, the -command procs could do the appropriate reconfiguring of the page when the page is switched. __________________________________________________________________________________________________________________________________________________ DESCRIPTION
The iwidgets::notebook command creates a new window (given by the pathName argument) and makes it into a notebook widget. Additional options, described above may be specified on the command line or in the option database to configure aspects of the notebook such as its colors, font, and text. The iwidgets::notebook command returns its pathName argument. At the time this command is invoked, there must not exist a window named pathName, but pathName's parent must exist. A notebook is a widget that contains a set of pages. It displays one page from the set as the selected page. When a page is selected, the page's contents are displayed in the page area. When first created a notebook has no pages. Pages may be added or deleted using widget com- mands described below. NOTEBOOK PAGES
A notebook's pages area contains a single child site frame. When a new page is created it is a child of this frame. The page's child site frame serves as a geometry container for applications to pack widgets into. It is this frame that is automatically unpacked or packed when the auto option is true. This creates the effect of one page being visible at a time. When a new page is selected, the previously selected page's child site frame is automatically unpacked from the notebook's child site frame and the newly selected page's child site is packed into the notebook's child site frame. However, sometimes it is desirable to handle page changes in a different manner. By specifying the auto option as false, child site packing can be disabled and done differently. For example, all widgets might be packed into the first page's child site frame. Then when a new page is selected, the application can reconfigure the widgets and give the appearance that the page was flipped. In both cases the command option for a page specifies a Tcl Command to execute when the page is selected. In the case of auto being true, it is called between the unpacking of the previously selected page and the packing of the newly selected page. WIDGET-SPECIFIC METHODS The iwidgets::notebookfR command creates a new Tcl command whose name is pathName. This command may be used to invoke various operations on the widget. It has the following general form: pathName option ?arg arg ...? option and the args determine the exact behavior of the com- mand. Many of the widget commands for a notebook take as one argument an indicator of which page of the notebook to operate on. These indicators are called indexes and may be specified in any of the following forms: number Specifies the index of the the component. For menus, 0 corresponds to the left-most menu of the menu bar. For entries, 0 corresponds to the top-most entry of the menu. number Specifies the page numerically, where 0 corresponds to the first page in the notebook, 1 to the second, and so on. select Specifies the currently selected page's index. If no page is currently selected, the value -1 is returned. end Specifes the last page in the notebooks's index. If the notebook is empty this will return -1. pattern If the index doesn't satisfy the form of a number, then this form is used. Pattern is pattern-matched against the label of each page in the notebook, in order from the first to the last page, until a matching entry is found. The rules of Tcl_StringMatch are used. The following commands are possible for notebook widgets: pathName add ?option value? Add a new page at the end of the notebook. A new child site frame is created. Returns the child site pathName. If additional argu- ments are present, they specify any of the following options: -background value Specifies a background color to use for displaying the child site frame of this page. If this option is specified as an empty string (the default), then the background option for the overall notebook is used. -command value Specifies a Tcl command to be executed when this page is selected. This allows the programmer a hook to reconfigure this page's widgets or any other page's widgets. If the notebook has the auto option set to true, when a page is selected this command will be called immediately after the previously selected page is unpacked and immediately before this page is selected. The index value select is valid during this Tcl command. `index select' will return this page's page number. If the auto option is set to false, when a page is selected the unpack and pack calls are bypassed. This Tcl command is still called. -foreground value Specifies a foreground color to use for displaying tab labels when tabs are in their normal unselected state. If this option is specified as an empty string (the default), then the foreground option for the overall notebook is used. -label value Specifies a string to associate with this page. This label serves as an additional identifier used to reference the page. This label may be used for the index value in widget commands. pathName childSite ?index? If passed no arguments, returns a list of pathNames for all the pages in the notebook. If the notebook is empty, an empty list is returned If index is passed, it returns the pathName for the page's child site frame specified by index. Widgets that are created with this pathName will be displayed when the associated page is selected. If index is not a valid index, an empty string is returned. pathName cget option Returns the current value of the configuration option given by option. pathName configure ?option? ?value option value ...? Query or modify the configuration options of the widget. If no option is specified, returns a list describing all of the available options for pathName (see Tk_ConfigureInfo for information on the format of this list). If option is specified with no value, then the command returns a list describing the one named option (this list will be identical to the corresponding sublist of the value returned if no option is specified). If one or more option-value pairs are specified, then the command modifies the given widget option(s) to have the given value(s); in this case the command returns an empty string. Option may have any of the values accepted by the iwidgets::notebook command. pathName delete index1 ?index2? Delete all of the pages between index1 and index2 inclusive. If index2 is omitted then it defaults to index1. Returns an empty string. pathName index index Returns the numerical index corresponding to index. pathName insert index ?option value? Insert a new page in the notebook before the page specified by index. A new child site frame is created. See the add command for valid options. Returns the child site pathName. pathName next Advances the selected page to the next page (order is determined by insertion order). If the currently selected page is the last page in the notebook, the selection wraps around to the first page in the notebook. For notebooks with auto set to true the current page's child site is unpacked from the notebook's child site frame. Then the next page's child site is packed into the notebooks child site frame. The Tcl command given with the command option will be invoked between these two operations. For notebooks with auto set to false the Tcl command given with the command option will be invoked. pathName pagecget index ?option? Returns the current value of the configuration option given by option for the page specified by index. The valid available options are the same as available to the add command. pathName pageconfigure index ?option? ?value option value ...? This command is similar to the configure command, except that it applies to the options for an individual page, whereas configure applies to the options for the notebook. Options may have any of the values accepted by the add widget command. If options are spec- ified, options are modified as indicated in the command and the command returns an empty string. If no options are specified, returns a list describing the current options for page index (see Tk_ConfigureInfo for information on the format of this list). pathName prev Moves the selected page to the previous page (order is determined by insertion order). If the currently selected page is the first page in the notebook, the selection wraps around to the last page in the notebook. For notebooks with auto set to true the current page's child site is unpacked from the notebook's child site frame. Then the previ- ous page's child site is packed into the notebooks child site frame. The Tcl command given with the command option will be invoked between these two operations. For notebooks with auto set to false the Tcl command given with the command option will be invoked. pathName select index Selects the page specified by index as the currently selected page. For notebooks with auto set to true the current page's child site is unpacked from the notebook's child site frame. Then the index page's child site is packed into the notebooks child site frame. The Tcl command given with the command option will be invoked between these two operations. For notebooks with auto set to false the Tcl command given with the command option will be invoked. pathName view Returns the currently selected page. This command is for compatibility with the scrollbar widget. pathName view index Selects the page specified by index as the currently selected page. This command is for compatibility with the scrollbar widget. pathName view moveto fraction Uses the fraction value to determine the corresponding page to move to. This command is for compatibility with the scrollbar wid- get. pathName view scroll num what Uses the num value to determine how many pages to move forward or backward (num can be negative or positive). The what argument is ignored. This command is for compatibility with the scrollbar widget. EXAMPLE
Following is an example that creates a notebook with two pages. In this example, we use a scrollbar widget to control the notebook widget. package require Iwidgets 4.0 # Create the notebook widget and pack it. iwidgets::notebook .nb -width 100 -height 100 pack .nb -anchor nw -fill both -expand yes -side left -padx 10 -pady 10 # Add two pages to the notebook, labelled # "Page One" and "Page Two", respectively. .nb add -label "Page One" .nb add -label "Page Two" # Get the child site frames of these two pages. set page1CS [.nb childsite 0] set page2CS [.nb childsite "Page Two"] # Create buttons on each page of the notebook button $page1CS.b -text "Button One" pack $page1CS.b button $page2CS.b -text "Button Two" pack $page2CS.b # Select the first page of the notebook .nb select 0 # Create the scrollbar and associate teh scrollbar # and the notebook together, then pack the scrollbar scrollbar .scroll -command ".nb view" .nb configure -scrollcommand ".scroll set" pack .scroll -fill y -expand yes -pady 10 AUTHOR
Bill W. Scott KEYWORDS
notebook page Tk iwidgets::notebook(1)
All times are GMT -4. The time now is 10:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy