The Geek Culture Forums
Ask a Geek! cat got your keyboard?
|
UBBFriend: Email This Page to Someone! | next newest topic | next oldest topic |
Author | Topic: cat got your keyboard? |
GameMaster Geek Posts: 87 |
posted March 28, 2002 16:16
Having trouble finding cat. What I mean is really, I am haveing a hard time finding a DOS port of the GNU Linux cat file-utility. I have search, but it seems that my curiousity has killed the cat. IP: Logged |
+Andrew Super Geek Posts: 202 |
posted March 28, 2002 16:46
On DOS/Windows, 'type' is pretty much the same as cat. I usually type 'cat' first when I'm at a Windows machine, and then I remember to switch to 'type'. If you need the real thing, Cygwin will give you a nice, Unix-y environment on Win32. -Andrew IP: Logged |
Doco Geek Larva Posts: 26 |
posted March 29, 2002 05:13
Let me second the suggestion of cgwin. It is the only thing that has let me kept my sanity for the last couple of years when my employer has insisted on a Windows NT platform. DOS is not a real command shell. If you really need *just* cat, grep, and a small subset of utilities, you can install the full cygwin stuff, then on a target machine just copy those utilities, along with cygwin.dll to a directory in your PATH. IP: Logged |
GameMaster Geek Posts: 87 |
posted March 29, 2002 08:49
I happen to have alot of the file utilities already... Like ls, rm, ln, ect. through my instalation of Allegro for DJGPP... I suppose if I could copy the source from my linux pariotion to a disk and try to compile it useing DJGPP, but there are a few system level calls that DJGPP doesn't support, and I don't know if cat uses them. I will play around with type, and see if that will do what I need. IP: Logged |
GameMaster Geek Posts: 87 |
posted March 29, 2002 11:51
I was just at the CYGWIN page, and am downloading it now. I am worried that it will conflict with my instalation of the other utilites I have for DJGPP Allegro.... Well, I can always get rid of the overlapping programs. IP: Logged |
LinguistiGeek Single Celled Newbie Posts: 1 |
posted March 30, 2002 09:56
For folks using DOS 6.x or before, there was a collection of unix-y utilities called DOSNIX, available at: http://www.simtel.net/pub/pd/50262.html cat serves two functions for most unix users. To spit the contents of a file to standard out, the DOS "type" command is perfect. To create a file (as in "cat> somefile.txt") use "copy con somefile.txt". IP: Logged |
GameMaster Geek Posts: 87 |
posted March 30, 2002 20:13
Thank you!!!! Cygwin is great to have, but to turn on an emulation program to run cat when the point of getting cat is to save a little time. I will be keeping and using cygwin. Type doesn't everything I need, it is only one way, you can't input to a file using type, as far I know at least. To think I was almost going to go digging through my linux partion for the source, change all platform spesific commands and try and compile it on my WinDOZE partion. IP: Logged |
All times are Pacific Time | next newest topic | next oldest topic |
� 2002 Geek Culture� All Rights Reserved.
Powered by Infopop www.infopop.com © 2000
Ultimate Bulletin Board 5.47e