11-01-2008
Quote:
Originally Posted by
zapper222
I asked this over on the "High Level Programming Section" but there must be a secret handshake or something that I am missing.....anyway....if a person wanted to start some C programming in UNIX what would be the best compiler to start with ??
I am fairly familiar with visual studio and have done some windows programming but not sure how to get started on unix type systems.
Thanks
Zapper
Hi,
the compiler of choice is GCC, the Gnu C Compiler. And for IDE, there a a few, You better search the net. If You come from the Java world, maybe Eclipse with addons for C feels familiar, Anjuta is another, focused on Gnome, but perfectly useful for "plain" C as well. A search on Google for "integrated development environments for Unix" gives just too many answers to list here.
/Lakris
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
can someone tell me some programming commands on unix? (2 Replies)
Discussion started by: fretis
2 Replies
2. Programming
i would like advice on the usbject of c programming (in the middle of reading a book on C). could i benefit more if i apply that knowledge in the unix format if i were able to, or would that take the point out of learning C, basically I want to stay away from strying too far away from unix and use... (1 Reply)
Discussion started by: moxxx68
1 Replies
3. UNIX for Advanced & Expert Users
hi guys,
I m from india. I m working as programmer in one of MNC. Since 3 years im working on Microsoft platform on dot net and platforms.
but now i decided to shift my future to unix , Linux side. I want to be the part of this open source family.
and with this i want to make my future also.... (3 Replies)
Discussion started by: d_swapneel14
3 Replies
4. UNIX for Dummies Questions & Answers
hi guys,
I m from india. I m working as programmer in one of MNC. Since 3 years im working on Microsoft platform on dot net and platforms.
but now i decided to shift my future to unix , Linux side. I want to be the part of this open source family.
and with this i want to make my future also.... (6 Replies)
Discussion started by: d_swapneel14
6 Replies
5. Shell Programming and Scripting
Several months ago I found a link that explained the difference between how a Unix Systems Admin would do scripting compared to what a Unix Programmer would do.
It showed a basic script and then show several iterations that explained how the Systems Admin would change it to make it better. I was... (0 Replies)
Discussion started by: BCarlson
0 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I am trying to learn Networking Programming in C in unix enviorment. I want to know how good it is to become a network programmer. i am crazy about Network programming but i also want to opt for the best carreer options. Anybody experienced Network Programmer, please tell me is my... (5 Replies)
Discussion started by: vibhory2j
5 Replies
7. Programming
hey guys.
im currently trying to make a program in unix (redhat, compiling the .c file using gcc) and i need urgent urgent help.
i need to save objects of structures in a file but they dont seem to be saving properly. ive been on it for a whole day now. dunno why i cant do it.
when i try to... (4 Replies)
Discussion started by: mjumrani
4 Replies
8. Shell Programming and Scripting
hey guys im trying to create a batch file that makes directories
i have this code atm
#!/bin/sh
echo "Please enter file name:"
read Filename
echo "enter number of files to be created "
read created
for (( i = 1; i < &created; 1++ ))
do
mkdir $Filename$i
done
assume i enter... (7 Replies)
Discussion started by: josh111
7 Replies
9. UNIX for Dummies Questions & Answers
How does unix system administration, unix programming, unix network programming differ?
Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies
ELVIS(1) General Commands Manual ELVIS(1)
NAME
elvis, ex, vi - The editor
SYNOPSIS
elvis [flags] [+cmd] [files...]
DESCRIPTION
Elvis is a text editor which emulates vi/ex.
On systems which pass the program name as an argument, such as Unix and Minix, you may also install elvis under the names "ex", "vi",
"view", and "input". These extra names would normally be links to elvis; see the "ln" shell command.
When elvis is invoked as "vi", it behaves exactly as though it was invoked as "elvis". However, if you invoke elvis as "view", then the
readonly option is set as though you had given it the "-R" flag. If you invoke elvis as "ex", then elvis will start up in the colon com-
mand mode instead of the visual command mode, as though you had given it the "-e" flag. If you invoke elvis as "input" or "edit", then
elvis will start up in input mode, as though the "-i" flag was given.
OPTIONS
-r To the real vi, this flag means that a previous edit should be recovered. Elvis, though, has a separate program, called elvrec(1),
for recovering files. When you invoke elvis with -r, elvis will tell you to run elvrec.
-R This sets the "readonly" option, so you won't accidentally overwrite a file.
-t tag This causes elvis to start editing at the given tag.
-m [file]
Elvis will search through file for something that looks like an error message from a compiler. It will then begin editing the
source file that caused the error, with the cursor sitting on the line where the error was detected. If you don't explicitly name a
file, then "errlist" is assumed.
-e Elvis will start up in colon command mode.
-v Elvis will start up in visual command mode.
-i Elvis will start up in input mode.
-w winsize
Sets the "window" option's value to winsize.
+command or -c command
If you use the +command parameter, then after the first file is loaded command is executed as an EX command. A typical example
would be "elvis +237 foo", which would cause elvis to start editing foo and then move directly to line 237. The "-c command" vari-
ant was added for UNIX SysV compatibility.
FILES
/tmp/elv*
During editing, elvis stores text in a temporary file. For UNIX, this file will usually be stored in the /tmp directory, and the
first three characters will be "elv". For other systems, the temporary files may be stored someplace else; see the version-specific
section of the documentation.
tags This is the database used by the :tags command and the -t option. It is usually created by the ctags(1) program.
.exrc or elvis.rc
On UNIX-like systems, a file called ".exrc" in your home directory is executed as a series of ex commands. A file by the same name
may be executed in the current directory, too. On non-UNIX systems, ".exrc" is usually an invalid file name; there, the initializa-
tion file is called "elvis.rc" instead.
SEE ALSO
ctags(1), ref(1), virec(1), elvis(9).
Elvis - A Clone of Vi/Ex, the complete elvis documentation.
BUGS
There is no LISP support. Certain other features are missing, too.
Auto-indent mode is not quite compatible with the real vi. Among other things, 0^D and ^^D don't do what you might expect.
Long lines are displayed differently. The real vi wraps long lines onto multiple rows of the screen, but elvis scrolls sideways.
AUTHOR
Steve Kirkendall
kirkenda@cs.pdx.edu
Many other people have worked to port elvis to various operating systems. To see who deserves credit, run the :version command from within
elvis, or look in the system-specific section of the complete documentation.
ELVIS(1)