[WORK] Download Uwin Unix For Windows
First, in the root of the repository, perform git submodule update --init. This will download all submodules, which are mostly the dependencies for the Windows build.Next, add the windows\dependencies\graphviz-build-utilities directory to your PATH (and restart Visual Studio or the prompt with which you execute msbuild after that). This folder contains the tools Bison, Flex and SED (and future additions) with versions that are tested.If all went right, the dependencies are now set up and you can build Graphviz.
download uwin unix for windows
set who = "%B%n%b has %a %l from %M at %t on %w %D." set watch = (0 any any) #Watch who is loggin on or off the system and from where
set autologout = (120 60) #So you don't accidentally leave terminals/connections open
set complete = enhance #Case insensitive completions, ".-_" as word separators, "-" and "_" considered equivalent
set autolist #List possibilities on an ambiguous
set pushdtohome #Make pushd with no args do a "pushd " (like cd does)
set cdpath=(. .. ../.. ftp/pub/downloads/ftp,http /somedir) #Iust type "cd www.kernel.org" from anywhere and voila, "pwd" shows /home/ftp/pub/downloads/http/www.kernel.org
set listjobs #List all jobs when suspending completion
set printexitvalue #Print non-zero exit values upon program completion
set ignoreeof #Don't kill shell when ^D seen
set noclobber #Don't overwrite an existing file when using ">"
set rmstar #Prompt the user before execution of "rm *" !! :-)
alias cd "cd -v" alias precmd /bin/echo "" alias + "pushd -v" alias - "popd -v" alias = "dirs -v" #Some useful aliases to show the directory stack when moving around, and to insert a blank line before prompts
complete cd 'p/1/d/' complete rmdir 'p/1/d/' complete set 'p/1/s/' complete setenv 'p/1/e/' complete unset 'p/1/s/' complete unsetenv 'p/1/e/' #Completions on aliases, shell variables, environment variables, directories, etc.
History searching and substitution
Redirection of stderr (cmd & tee output), although I sometimes prefer the Bourne way of being able to select stderr independently
I hope someone finds this useful, because I love tcsh and even though I am quite capable when using sh, bash or ksh, I usually feel so hamstrung that I install tcsh PDQ if it hasn't been already! SharetwitterfacebookRe:Finally a voice of sanity (the true answer) (Score:1)by Christopher Biggs ( 98469 ) writes: The true answer to "vi or emacs" is: BOTH. I start up emacs once a week on monday morning. It runs all week, firing up new windows as required.
The right answer was given in a comment by Kenaniah, you have to use batch files. You need to name your shell code file to *.bat, then you can run it by clicking it or simply type its name in the terminal. Notice that the windows terminal does not work exactly like the unix terminal. You will find much help and tutorials for the commands and syntax all over the web. There is also a possibility to use the Windows PowerShell, which seems to be more unix-like.
Running Unix on a Wintel computerBy a "Wintel computer" we generallymean a computer equippedwith an Intel processor, designed to run Microsoft Windows --or a similar computer. (For instance, you could use a chipmade by AMD, compatible with the Intel chips; and you don'tnecessarily need to have Windows on the computer.)The term "Wintel" may help to avoid confusion, sincethe term "Windows" could be confused with "X Window" -- thecommon graphics interface for Unix systems. There arevariants on this terminology, but I won't go into those here.Unix used to be more difficult to use (and in fact,Unix users were proud of the difficulty).But in recent years, several GUIs(graphics user interfaces) have come into usein Unix, making it much easier and more intuitive(in the opinion of most people).The GUI, invented by Xerox PARC and copiedby Macintosh and Windows, has now been copiedin several Unix forms; I think the most popularfor Wintel boxes areKDE(screenshots),Gnome,Enlightenment.There are many kinds of Unix in the world today.Particularly noteworthy is the Apple Macintosh operating system,which in its recent versions is some sort of Unix with a verysmooth GUI. (Thus, Apple Macintosh users are now ableto install a wide variety of free programs that were developedfor Unix computers.) Various kinds of Unix are usedon many instititutional servers. However, the restof this page is concerned only with installing Unixon a personal Wintel computer.The Linux versions of Unix seem tobe growing in popularity and displacing other versions of Unix(with the possible exception of Apples). Linux is an open-sourceversion of Unix, and thus it gives individualprogrammers more control over their own lives. There are nowmany versions of Linux, distributed by many valued-addedresellers who add packaging, manuals, support, etc.;but there are many versions available for free too(often suported by donations). Most of the versions of Unixthat I've been looking at are actually Linux.In recent years, downloading and installing Unix has gotteneasier. It used to require downloading dozens or hundreds of filesand then following complicated arcane instructions.The procedure nowadays is this: You download a few"iso" files. Each of these is an enormous files; typically one such file is around600 megabytes. Each of these files is a CD-image. Youuse a CD-burner program (such asDeepBurner Free ,mentioned earlier on this web page) to burn each iso file onto aCD-rom. (Alternatively, you can just order some CD's and have themmailed to you.) Then you just follow a few simple instructions, andwait a long time for the installation program to carry out all of itssteps.Nevertheless, downloading and installing Unix on yourWintel computer is an adventure which may involve some complicationsand risks, and that may remain the case for a while. Here is why:No two computer models are identical. Different computers usedifferent kinds of hard drives, keyboards, RAM, mice, displays, etc.These devices do not always follow standards.When you buy a computer that is already equipped with an operatingsystem (e.g., Microsoft Windows) from a major manufacturer (e.g.,Dell or Gateway), generally the operating system has been fittedto the hardware --- i.e., the software includes drivers which can dealwith that particular hardware.But if you download or purchase a new operating system (e.g., Unix)for an old computer, you have no guarantee that the two will fit together.Generally the new operating system is equipped with drivers for themost common configurations of hardware, but if you have anythingout of the ordinary, it may not work. This is especially true for notebookcomputers, which tend to stray considerably from standards.If your new operating system does not recognize your screen oryour modem or your keyboard, clearly your computer is goingto work badly or perhaps not at all. ... Since the makers of operatingsystems add new drivers whenever they can and subtract driversonly if they're extremely old, your chances for compatibility areslightly better if your hardware is a few years old and if you usethe very newest version of the operating system. (This is onereason whysome people choose to convert their old Wintel computerto Unix when they buy a new Wintel computer.)Unless you're very very sure that you know what you're doing,you should only install Unix on a computer in some fashion thatis reversible -- i.e., so you can go back to your previous configurationif either (i) the new configuration doesn't work or (ii) it does workbut you don't like it. (The latter case may happen for somepeople who are already used to Microsoft Windows andare trying *nix for their first time.)There are a number of different ways to run Unix on aWintel computer.Completely replacing the operating system.This commits you fully to using Unix. Going back (if you decide to) may be difficult.This is the "classical" installation. If you look at some web page thatdescribges a Unix distribution without mentioning partitioning or any of the other techniques listedbelow, then you're probably looking at a distribution of this complete replacement type.Partitioned, dual-boot systems.You partition the hard disk into two parts, one for Windows and one for *nix.Then you can decide which part to use, each time you restart the computer.At first glance, this would appear to be using the best of both worlds. Butthere are a couple of drawbacks: (i) Sometimes it is hard to get thetwo partitions to communicate with one another, so you may be unable topass documents back and forth between the two personalities.[Ext2 Installable File System for Windows is a freeprogram which partly remedies that problem.] (ii) Errorsare sometimes made in partitioning, and they may be difficult torepair. A really bad partitioning can destroy everything on your hard disk.Running Linux inside Windows.A number of programs are available which can do this. No partitioningneeded; the Linux system looks just like a large Windows application file.No real risk to your Windows system -- if you don't like what you get,just uninstall/delete it.Drawbacks: (i) Generally the Linux runs a bit slower when used inthis fashion, because it has an extra layer between it and you.(ii) Again, you may have some difficulties communicating betweenLinux and Windows.Here is DistroWatch's list of Linux distributions of this type. However, DistroWatch says"These distributions are normally designed for evaluation purposes, they sufferfrom bad performance and package information is hard to come by."I recently used this approach with the"Embedded" version ofDamn Small Linux,and was moderately successful. Here's the procedure:Download the filedsl-embedded-1.2.zip, which isonly 53.5 megabytes. Unzip it, saving the contents insome convenient directory on your hard disk; thatwill take up about 120 megabytes. One of the filesin that directory isdsl-windows.bat; you can either use that file directlyor put a shortcut to it in some more convenient location.When you start up that bat file, it will load and run DSL.I tried this on my Dell Inspiron 5150, and the loadingtook slightly over a minute. The most importantfeatures -- screen, keyboard, mouse, etc. -- all seemedto work properly, though perhaps a bit slowly.My network capabilities (web browser, etc.) workedjust fine, without any tweaking on my part. But I couldn'tfigure out any way to make DSL communicate withmy hard disk or my CD-drive or myUSB flash drive, so I had no way of passing documentsbetween DSL and Windows (except perhaps viathe internet, which would be a little inconvenient).If you figure out how to make it communicate, let me know.Of course, what parts of DSL work will vary fromone computer to another, since different hardwareconfigurations require different drivers. By the way,I was also uncomfortable with another aspect of DSL:All the icons and programs looked very unfamiliar.Contrast that with Ubuntu Linux, discussed afew paragraphs below.If you want to experiment with DSL, here's a tip:Have at least one program -- perhaps a small one,like Notepad -- already running, when you start DSL.Then ALT-TAB will still work to switch applications, soyou can get out of DSL temporarily and do somethingwith your Windows system. Before I discovered thistrick, the only way I could get back to Windows was byshutting down DSL altogether.Running Windows inside Linux. Convert acomputer entirely to Linux (or start with a computer that was originallyconfigured with Linux) and then run a program that emulates Windowsinside Linux. This can be done usingWine(which is free), or usinga commercial implementation of Wine, such asCrossOver.I haven't experimented with this yet.Using a "Live CD" installation. The idea of a "Live CD"is that nothing needs to be installed on the hard disk of your computer.You load the CD, and it just uses the RAM (temporary memory space)in your computer. Thus, there is no risk of bad installation -- if youdon't like what you get, just remove the CD and restart the computer,and you'll have your familiar old Windows computer again.Drawbacks: It may take a bit of extra time to load, sinceyour CD-drive is slower than your hard drive. Also, there are extracomplications if you want to save any additions or alterationsthat you want to make in the Linux configuration. And, as usual, thereare difficulties about communication between Linux and Windows.I tried this approach with a Live CD version ofUbuntu Linx, and was moderately successful.I burned the 674 megabyte iso file onto a CD-rom, and then rebooted from thatdrive. The system took around 4 minutes to start up, but after that all the basics(keyboard, screen, mouse) worked properly. Moreover, thedesktop looked not too different from what I'm used to withWindows (but that may be just personal taste).My internet connectiondid not work, and I couldn't access the hard disk,but my USB flash drive did work. Thus, I do havea method for passing files back and forth -- i.e., I can work on a documentin one operating system, copy it to my flash drive, and switchto the other operating system. Let me know if youfigure out how to make Ubuntu Linux communicate with the internetor the hard drive.Of course, what parts of Ubuntu Linux work will vary fromone computer to another, since different hardwareconfigurations require different drivers. Also with version of Ubuntu -- that experiment was some time ago; perhaps I'll have better luck with a newer version. You may be wondering, how do you boot from a CD-drive?The details will vary from one computer to another, but it willprobably be something similar to what I found on my Dell Inspiron 5150:At the beginning of the bootup process, there is a moment when thewords "F2 for setup, F12 for boot menu" flash on the screen. At thatmoment, if I press either the F2 key or the F12 key, I get several options.If I press neither key, then the computer simply goes into its default bootprocedure. The F12 key lets me override the default -- i.e., itlets me choose whether to boot from the hard disk, the CD-drive,the USB flash drive, or some other device. The F2 key lets me changethe default. The original default was to always boot from the harddrive, but I've changed it so that my computer will first look to seewhether there is a bootable CD in the CD-drive. If there is, the computerwill boot from there. If there isn't, the computer will boot from thehard drive (i.e., Windows).Using a partial Linux emulator under Windows.That's apparently the approach used by Uwin, available free from AT&T Research. It enables some Unix programs to run under Windows.Using Cygwin.Cygwinis "a Linux-like environment for Windows."These tools do not enable nativeLinux apps to run under Windows. But these toolsdo make it easier for a programmer to rewrite aLinux application so that it will run under Windows;the resulting applications are called "packages."Here is the list of packages.And here are some packages that may be of particularinterest to mathematicians:Xfig,a scalable vector graphics (SVG) program compatible with texSingular,a computer algebra system forsingularity theory and algebraic geometryMacaulay,a software system devoted to supporting research in algebraic geometry andcommutative algebraXBasic,a clone of Visual BasicOctave, a high-level language, primarily intended for numerical computations, mostly compatible with Matlab.
To use the Cygwin system, first install its basic setupfrom its web page at can install some of its packages from there too.After that,whenever you want to install a Windows program whoseinstallation instructions say "requires Cygwin", you canjust go ahead and install the program as thoughit were an ordinary Windows program.Using a Windows shell that looks like Unix.That's all some people really want, and it's provided byLiteStep.Here are some related links that may be helpful:Linux Hardware Compatibility HOWTOLinux Online seems to be the closestthing to an official home page for Linux, but it doesn't claim to be that.The home page of Linus Torvalds(the person who started Linux) isn't actually helpful, but might amuse you.Comparison of Linux DistributionsLinux on Laptopsand2nd location of same(answers to special installation problems)A list of small Unix distributions
Some Unixes other than Linux:FreeBSD,OpenBSD,NetBSD