LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-19-2007, 10:36 PM   #1
dima7g
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Rep: Reputation: 0
Question This question is really philosophical - WHY?


WHY?

Here's some background. I have a course where I need to do most of my programming on a Unix based machine. This post has nothing to do specifically with the course, but it's that course that lead me to these questions.

What I need is simple - an environment where I can code, debug, and run my application. What I want is some degree of convenience when I work. What would be nice to have is some extra functionality and features, like code completion, etc.

What I get is putty, csh, and vim. What I get is ^[^[^[, weird newlines come out from nowhere, and 'beeps'. What I get is a complete 'blindness' of my current state, until I punch 'pwd' or 'ls -l'... every time, every single time I change directories or need to edit or copy a file.

And the only question I could think of after 2 hours of searching the web and reading, as they say, 'the fcuking manual' is WHY?

Why do I need to waste my time; I repeat - MY TIME, to do something so simple and mundane. Why do I need to undergo a 'cultural shock' every time I am given an account on another unix/linux based machine. Why?

This is really one of those times when a person is stripped of his possessions, rights, dignity and sanity. And there are two ways out of it - fight to survive, or become insane.
 
Old 01-19-2007, 10:42 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Umm... precisely what is your question? I guess I don't understand.
 
Old 01-19-2007, 10:47 PM   #3
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
I think this is just another mindless frustrated newbie post.

If there are any specific problems that we can help you with, ask, please!

I know I was very frustrated when I first started using a *nix system, but eventually many of the nuances worked their way out.
 
Old 01-19-2007, 10:51 PM   #4
dima7g
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Original Poster
Rep: Reputation: 0
clarification

You right. I should get to the point.

Here's my question.

How do I set up my environment (I don't care which shell, or what 'advanced' features it has) such that I could use the same setup on any unix-based system and that it would give consistent results across all systems and application.

For example, the basics: backspace, del, arrows, up/down-history, file name completion, pwd showing in the prompt line - work as it should, in shell, vim, or via screen.

The more advanced options: easy and intuitive copy-paste capability - again consistent everywhere.

Set-up for vim to do syntax-highlighting for most common languages: C++, C, Java, Perl, etc...

And here's the tricky part - can this be done without wasting a lot of time, and without 'learning' the manuals?

Thank you.
 
Old 01-19-2007, 10:58 PM   #5
dima7g
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Original Poster
Rep: Reputation: 0
to DeusExLinux

Well.. you're right about frustrated. You're wrong about 'newbie' (we can discuss the 'mindless' later); at least according to my definition of a newbie.

The difference between us, I guess, is that you would be considering someone an expert if this guy read all the manuals and highly customized his environment. I prefer to invest my energy and time into the actual work, rather than the means to do it.

- Dima
 
Old 01-19-2007, 10:59 PM   #6
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
I am not a vim expert, but your .vimrc file is surely transferrable from one system to another. Lines in that file should automate all the things you mention here. If you don't want to study the manuals (foolish, lazy?), you could probably find someone here to answer specific questions.

Last edited by rickh; 01-19-2007 at 11:01 PM.
 
Old 01-19-2007, 11:00 PM   #7
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,694

Rep: Reputation: 45
if you can't be bothered to learn, why should we be bothered to teach?
 
Old 01-19-2007, 11:08 PM   #8
dima7g
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Original Poster
Rep: Reputation: 0
to rickh

rickh, thanks.

I realize that this is how things are done. All I ask for is a one good configuration, which I could use without reading manuals or spending time, and it would work intuitively and easy with all *nix-based systems. If such a thing exists, believe me I would cherish it for a long time.

In other words, I need a default solution, which would provide some convenience when I am working.
 
Old 01-19-2007, 11:16 PM   #9
dima7g
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Original Poster
Rep: Reputation: 0
to rshaw

Quote:
Originally Posted by rshaw
if you can't be bothered to learn, why should we be bothered to teach?
Hehe... Good point, I admit.

You're right. I'm not prepared to learn this now. In fact, I consider every minute spent on learning how to do a job, instead of doing the job, increases the overhead, and thus reduces efficiency.

What I need now is just help - help to get started.
 
Old 01-19-2007, 11:26 PM   #10
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
Beginner's guide to Vi Improved (vim)
http://newbiedoc.sourceforge.net/tex...ml#JESSE-VIMRC

Has a nice .vimrc that works well.

C editing with VIM HOWTO
http://tldp.org/HOWTO/C-editing-with...WTO/index.html

Your not really stuck using vim, even if all you have is a console, you might try using nano. If you are in a gui environment Scite, Kate, cream may be better options that vi(m).

Might help with shorut cuts, etc:
Quick Reference Cards
http://www.digilife.be/quickreferences/quickrefs.htm

Last edited by craigevil; 01-19-2007 at 11:31 PM.
 
Old 01-20-2007, 03:06 AM   #11
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,507

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
Quote:
Originally Posted by dima7g
I consider every minute spent on learning how to do a job, instead of doing the job, increases the overhead, and thus reduces efficiency.
IMHO, that's the way around. The more you learn, the more you are efficient.
 
Old 01-20-2007, 05:51 PM   #12
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
I agree, the learning curve for *nix for me was fairly large, but once I got used to it.

If you want the same settings for the keyboard and setup files for vim and whatnot, why not carry those setup files around on a keyboard.

I do agree that the more time you spend working, and less learning and relearning how to work, the more efficent you are!
 
  


Reply

Tags
backspace, csh, general, keyboard, shell, vim


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question, Apples Contribution to Open Source + MacOs file structure question Higgy3k Other *NIX 5 07-25-2005 04:23 AM
Philosophical Firewall question jimdaworm Linux - Networking 9 04-02-2005 03:55 AM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 01:51 PM
warning: obnoxious philosophical debate fenderman11111 General 1 10-21-2004 09:45 PM
login prompt question & kde scheme question JustinCoyan Slackware 2 06-09-2004 02:02 PM


All times are GMT -5. The time now is 11:47 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration