I printed out a list of basic unix commands a few days ago, and I saw a few commands (mostly web) that looked neat. They included lynx (the web browser), Gopher (the database browser) and pine (a simple mailer).So I tried using them, and each one was followed with a 'command not found'. Are these unnavilable in OS X? Or did I print some strange 1970s crap? What gives?
Recent Reviews
-
I was given the Ipod nano 6th generation for Christmas 2011. I was starting to take up running and needed something to track my run. since I just started I was only using my Ipod roughly 3 times...
-
I have had the iPad Verizon 4G LTE for a month now, and over all I couldn't be happier with the machine. The only issue I have found so far is when on wifi it has a slower speed in processing...
-
I have owned at least a dozen different Mac laptops over the years, starting with a Powerbook 1400 back in the day. The 13-inch Air is my absolute favorite of the bunch. It's the first laptop...
-
I spent quite a bit of time reading the setup manuals and various Apple articles about manually setting up this device since I have an unusual setup, and the setup manuals indicated I would have...
-
all i have to say is i love it its so much faster and i could just slip it into my purse p.s it has a ton of space for the 64gb
Lynx and other commands unavailable in Terminal?
post #2 of 16
6/2/03 at 10:43am
- Joined: Jan 2003
- Location: Uk but getting itchy feet again
- Posts: 167
- offline
- Select All Posts By This User
Give us a clue which particular commands.. and for your reference that weird 70's stuff is the back bone of every unix box out there ...
I'm old enough to remember when taping was killing the music industry ... computers just make piracy damned expensive.
I'm old enough to remember when taping was killing the music industry ... computers just make piracy damned expensive.
This might be my insane lack of UNIX knowledge, but anyway. When you, for example, use vi, you type vi into the terminal window, and hit return. Vi then opens. I then assume that to use lynx, you type lynx into the window, and hit enter. Is this the case, or am I naive beyond possible measurement?
NOTE: my UNIX terminology is porbably not up to snuff. I am assuming that vi and lynx are commands.
NOTE: my UNIX terminology is porbably not up to snuff. I am assuming that vi and lynx are commands.
post #4 of 16
6/2/03 at 10:55am
pine and lynx are both available from fink (http://fink.sf.net). fink is a project where people port unix programs to macosx, and distribute them similar to debian's dpkg distribution mechanism. gopher doesn't seem to be part of fink, but i would strongly recommend against using it, since it is a terrible, terrible thing. also, pine and lynx (and possibly gopher) are open-source programs, so, if you're savvy, you can download, compile and install them from source.
post #6 of 16
6/2/03 at 11:18am
post #8 of 16
6/4/03 at 1:39pm
- Joined: Dec 2002
- Location: the misty climes of the west coast
- Posts: 1,556
- offline
- Select All Posts By This User
No, you all misunderstand. 'Porting' has nothing to do with Architecture (PPC, x86) in Unix-land. Unix is super-portable in that sense, largely just needing to be compiled for the desired hardware. Porting in the Unix context means getting, say, a linux program to run natively on BSD, which is typically very easy, as most apps source code will just compile.
The reason you don't have pine, mutt, lynx, etc. is twofold:
One, they are not a part of a 'base' unix/linux distribution. They are not necessary for the system to run, so they are not included by default.
Two, virtually noone using OSX has a use for Pine or lynx or bitch, as Mac users tend to like GUI apps, so Apple has no incentive to install them (by default). Unix-heads or techies will use fink or simply compile from source anyway.
BTW, w3m is way better than lynx. edit: w3m supports tables, frames, even mouse scroll wheels!
The reason you don't have pine, mutt, lynx, etc. is twofold:
One, they are not a part of a 'base' unix/linux distribution. They are not necessary for the system to run, so they are not included by default.
Two, virtually noone using OSX has a use for Pine or lynx or bitch, as Mac users tend to like GUI apps, so Apple has no incentive to install them (by default). Unix-heads or techies will use fink or simply compile from source anyway.
BTW, w3m is way better than lynx. edit: w3m supports tables, frames, even mouse scroll wheels!
post #9 of 16
6/4/03 at 1:58pm
- Joined: Feb 2003
- Location: Washington State
- Posts: 136
- offline
- Select All Posts By This User
post #10 of 16
6/5/03 at 8:32pm
- Joined: Dec 2002
- Location: the misty climes of the west coast
- Posts: 1,556
- offline
- Select All Posts By This User
That's all handled by the compiler.
post #11 of 16
6/5/03 at 9:53pm
post #12 of 16
6/6/03 at 3:50am
Quote:
Originally posted by Brad
And "porting" has nothing to do with the operating system it runs on?
Somehow I don't think these apps were designed originally with Darwin 6.6 in mind.
And "porting" has nothing to do with the operating system it runs on?

Somehow I don't think these apps were designed originally with Darwin 6.6 in mind.
He said: "Porting in the Unix context means getting, say, a linux program to run natively on BSD" (which is basically what you say).
However:
Quote:
Originally posted by 1337_5L4Xx0R
That's all handled by the compiler.
That's all handled by the compiler.
That's wrong. If you do (low-level) file/network related things, byte-order swapping routines have to be added to the code, it's not done automatically by the compiler. Or try writing complex data structures directly from memory to a file/network (without platform independent marshalling) and read it on another machine...
This is not what you should do if you want your code to be "portable", but many programs have issues like that before being "ported" to another system+architecture for the first time.
The word "port" is used, even if it's the same OS but different architecture (linux x86 vx. linux PowerPC).
post #13 of 16
6/6/03 at 11:24am
- Joined: Dec 2002
- Location: the misty climes of the west coast
- Posts: 1,556
- offline
- Select All Posts By This User
Okay, we're getting a bit off topic here, but the reason mutt, pine and BitchX, and any app written in a high level language like C, is not shipped w/ OSX, is because Apple decided they weren't neccessary or useful for most users, not because they haven't been 'ported' to Darwin. There's no 'porting' to do; a simple recompile will do the trick.
I'm using gentoo linux right now, on a TiBook, and my /etc/make.conf has ACCEPT_KEYWORDS="~ppc ~x86"
So far I have encountered one program, armagetron, which has sound endian issues. Out of hundreds, nay thousands of software source code I've compiled in the last 6 months, and on my Wallstreet G3 before that.
Porting in the unix context typically means 'getting linux software to work on BSD' or vice versa, as there are subtle differences between them (ie: /dev/wsmouse vs /dev/input/mice).
Software that is written in assembly or something is not 'ported' to another arch, it is rewritten for that arch. 99.9% of software is written in a high level language, specifically because these are 'portable' languages.
I'm using gentoo linux right now, on a TiBook, and my /etc/make.conf has ACCEPT_KEYWORDS="~ppc ~x86"
So far I have encountered one program, armagetron, which has sound endian issues. Out of hundreds, nay thousands of software source code I've compiled in the last 6 months, and on my Wallstreet G3 before that.
Porting in the unix context typically means 'getting linux software to work on BSD' or vice versa, as there are subtle differences between them (ie: /dev/wsmouse vs /dev/input/mice).
Software that is written in assembly or something is not 'ported' to another arch, it is rewritten for that arch. 99.9% of software is written in a high level language, specifically because these are 'portable' languages.
post #14 of 16
6/6/03 at 1:33pm
Quote:
Originally posted by 1337_5L4Xx0R
Okay, we're getting a bit off topic here, but the reason mutt, pine and BitchX, and any app written in a high level language like C, is not shipped w/ OSX, is because Apple decided they weren't neccessary or useful for most users, not because they haven't been 'ported' to Darwin. There's no 'porting' to do; a simple recompile will do the trick.
Okay, we're getting a bit off topic here, but the reason mutt, pine and BitchX, and any app written in a high level language like C, is not shipped w/ OSX, is because Apple decided they weren't neccessary or useful for most users, not because they haven't been 'ported' to Darwin. There's no 'porting' to do; a simple recompile will do the trick.
As I said before, this will work if the code is already portable. Just because something's written in C, that doesn't make it portable in the sense that a simple recompile will always work on a different arch (same OS). You might have to add swapping routines (eg, in media players) or have to take care of 64/32 bit ints, depending on what the program does.
Quote:
Originally posted by 1337_5L4Xx0R
Software that is written in assembly or something is not 'ported' to another arch, it is rewritten for that arch. 99.9% of software is written in a high level language, specifically because these are 'portable' languages. [/B]
Software that is written in assembly or something is not 'ported' to another arch, it is rewritten for that arch. 99.9% of software is written in a high level language, specifically because these are 'portable' languages. [/B]
"portable languages"? So a high level language is portable and a low level language is not? Doesn't that mean that being "portable" has something to do with hardware abstraction? So, wouldn't you say that "to port" obviously goes beyond OS environment but includes architecture as well?
There's not much software that is written in 100% assembly. Everything else that's written in a higher level language and (if at all) contains little assembly is not "rewritten" but is "ported". Linux has not been "rewritten" for the PPC, it also was not just recompiled, it was "ported".
post #15 of 16
6/6/03 at 2:36pm
post #16 of 16
6/9/03 at 12:45am
- Joined: Dec 2002
- Location: the misty climes of the west coast
- Posts: 1,556
- offline
- Select All Posts By This User
Actually, re-reading this thread, i realise I have major reading comprehension skill problems.
Oops.
Had I read the thread more carefully, I'd've realised Brad & I were saying the same thing, slightly differently. D'oh.
And yes, 123 you are right about porting. So I will stop posting now...
Oops.Had I read the thread more carefully, I'd've realised Brad & I were saying the same thing, slightly differently. D'oh.
And yes, 123 you are right about porting. So I will stop posting now...
Return Home
Back to Forum: Genius Bar
- Lynx and other commands unavailable in Terminal?
Currently, there are 230 Active Users
(14 Members and 216 Guests)
Recent Discussions
- › Editorial: Apple's iOS 7 needs exclusive, distinctive features, not... 6 minutes ago
- › Cook: US-built Mac will be refreshed version of existing product 22 minutes ago
- › ISLAM WATCH 25 minutes ago
- › Apple's fifth-gen iPad rumored to debut after 'iPhone 5S,' feature... 27 minutes ago
- › iPad shipments could see first ever year-on-year decline in Q2,... 30 minutes ago
- › Google's Motorola issues second appeal of dismissed ITC case... 37 minutes ago
- › Dubai hotel provides guests with iMacs, 24-karat gold iPad 1 hour, 43 minutes ago
- › 2013 Mac mini Wishlist/iMac wishlist 1 hour, 46 minutes ago
- › Apple debuts new iPhone discounts, subsidies to gain ground in India 1 hour, 58 minutes ago
- › Steve Jobs's family has been giving money away anonymously for more... 2 hours, 15 minutes ago
View: New Posts | All Discussions
Recent Reviews
- › Apple iPod nano - 16GB, Silver MC526LL/A (6th Generation) by cc420
- › Apple iPad with Retina Display Wi-Fi + Verizon/Sprint 4G - 64GB,... by Aaron Krahn
- › 13.3-inch Apple MacBook Air MD231LL/A (Mid-2012) by ahilal
- › Apple Time Capsule - 2TB (MD032LL/A) by biyahero
- › Apple iPad Wi-Fi - 64GB, White (MD330LL/A) by raeganapril
- › Apple Magic Trackpad (MC380LL/A) by WisdomSeed
- › Aperture 3 by bcbcbroderick
- › 17-inch Apple MacBook Pro MD311LL/A (Late 2011) by bcbcbroderick
- › Apple iPod touch - 32GB, Black MC544LL/A (4th Generation) by bcbcbroderick
- › Apple iPod touch - 8 GB, White MD057LL/A (4th Generation) by bcbcbroderick
View: More Reviews
New Apple Wikis
- › 2013 'Modified' iPod touch by Mikeycampbell81
- › 2013 MacBook Pros by Mikeycampbell81
- › iPad mini 2 with Retina display by Mikeycampbell81
- › 2013 iPhone 5S by Mikeycampbell81
- › Trade in your old devices for holiday cash by Mikeycampbell81
- › How to sell your old iPad for cash by Mikeycampbell81
- › How to offset the cost of a new iPhone by... by Mikeycampbell81
- › How to save money on AppleCare extended... by Kasper
- › How to offset the cost of a new iPad mini by... by Mikeycampbell81
- › Apple Prototypes by Mikeycampbell81
View: New Apple Wikis | All Apple Wikis
Home | Apple Product Guide | Forums | Apple Wikis | My Profile
About AppleInsider | Join the Community | Advertise
© 2013 AppleInsider is powered by Huddler Tech | FAQ | Support | Privacy/TOS | Site Map
About AppleInsider | Join the Community | Advertise
© 2013 AppleInsider is powered by Huddler Tech | FAQ | Support | Privacy/TOS | Site Map




