r/linuxquestions • u/AuthoritarianParsnip • Apr 18 '23
Is vim not technically a text editor? This question was on my final in my college linux class today and my teacher marked in incorrect. I appreciate the help.
I can't post a photo to the subreddit, so here is a hosting link https://litter.catbox.moe/bwr0hi.png
I looked up "kwrite" and while that may be the better of the two answers, (I wouldn't know) we never mentioned it in class. Even if it is the "better" answer, shouldn't vim still be acceptable?
I know it may not technically be a linux question, but I don't know where else to put it. Thank you for your time and help!
UPDATE: She has refused to give me credit because “that’s not what the book says.” College was the best decision of my life!
112
u/Known-Dealer-6598 Apr 18 '23
Your instructor is a moron. Yes vim is a text editor.
37
u/AuthoritarianParsnip Apr 18 '23
All right. Thanks for the response! I'll bring this up to her tomorrow to see if I can get the credit I missed.
3
u/aiaor Apr 19 '23
Your instructor is a moron. Yes vim is a text editor.
All right. Thanks for the response! I'll bring this up to her tomorrow to see if I can get the credit I missed.
But don't mention moron. Morons aren't compatible with Linux.
→ More replies (1)2
u/AuthoritarianParsnip Apr 19 '23
Wasn’t planning to lol. I’ve been screenshotting answers from this thread and cropping the usernames out. I also haven’t used the (rightfully) insulting ones.
90
u/swordgeek Apr 18 '23
Let's be very clear here.
vim is an evolutionary superset of the vi editor.
vi is the visual editiing mode of ex - the "extended" editor that developed from ed.
If anything, vim isn't just a text editor, it is THE DE-FACTO TEXT EDITOR ON ALL MODERN LINUX SYSTEMS. It is a direct descendent from ed, the original Unix text editor.
Do NOT accept this answer as wrong! Fight with your prof, with solid evidence.
34
u/prudence2001 Long-time beginner Apr 18 '23
Fight, but politely, of course.
26
u/hfsh Apr 19 '23
I'm not sure an error of this magnitude really deserves politeness.
26
Apr 19 '23
Yes, it does. Always be kind. But if that does not work and it is important enough to you, bring it up with the dean.
→ More replies (1)→ More replies (3)10
6
u/Matir Apr 19 '23
I learned vi/vim when I was getting into system administration (before orchestration tools were big) and I would SSH into dozens of different hosts a day to configure things. One thing that I could always count on having was
vi(usually of thevimflavor).nanowas probably present as well, but well, that's vastly inferior.→ More replies (3)2
5
u/Known-Dealer-6598 Apr 18 '23
I was going to include some links for further evidence, but Reddit is not letting me paste into this text box. grrr
Just do a simple internet search for vim. All of the top hits start off describing vim as a text editor.
Even the book on vi and vim describes them as a text editor. smh
https://www.oreilly.com/library/view/learning-the-vi/9781492078791/
1
1
19
u/CaptainMorti Apr 18 '23
Vim is a text editor. Why didn't you ask your teacher about his test?
18
u/AuthoritarianParsnip Apr 18 '23
I thought that I would have gotten this question correct. I saw no reason to bring it up then. It wasn't graded until later today when we were all at home.
15
u/KochSD84 Apr 18 '23
Never heard of kwrite, or atleast remember it as I dont use KDE.
But VIM!?! Is it a high school teacher who is essentially just reading the standard unstandard textbook alongside but out loud with the class??
Shoulda thrown Nano on there as well... lol
7
u/AuthoritarianParsnip Apr 19 '23
That's EXACTLY what is happening LOL. And they just jacked our tuition up :(
2
u/KochSD84 Apr 19 '23 edited Apr 19 '23
I feel for you man, just hang in there but stay on TOP of that place.. I got screwed myself way back, but I at least wasn't paying anything like today(There was mainly only IT & Networking Security versus now lol) which just about every college or tech school offered where I was located.
Not right when you look at how they are today... to be fair, they were heading in that direction before my time.
3
u/AuthoritarianParsnip Apr 19 '23
I already went to tech school for two years and learned A LOT under the best teacher I’ve ever had even during covid, I’m just suffering through this for a fucking piece of paper.
→ More replies (1)4
1
3
Apr 19 '23
[removed] — view removed comment
2
u/KochSD84 Apr 19 '23
True, but I thought we were just seeing how many rights make a wrong? I agree with you lol
8
Apr 19 '23
Typical multiple choice question. 4 items, 2 obviously wrong, 2 could be right, only one was probably mentioned in class. I am guessing since VIM was the wrong answer the teacher wanted kwrite.
VIM is a correct answer per the question as well - If this affects your passing the class I would bring it up with the dean. Remember you are the customer here, you pay them.
2
u/AuthoritarianParsnip Apr 19 '23
Oh I know. This test is 30% of my grade. There were two other questions that made no sense about YAST but I didn't need to consult the internet to correct those.
4
u/Not_Sure_2520 Apr 19 '23
The customer service model of higher education is a disaster tbh
1
Apr 19 '23
One class I went to in my school, I forget the name of the class but it seemed like the subject matter should have been "How to not offend people in other countries when you visit there" - did you know it's a pretty big faux pas to show the bottoms of your feet in certain middle eastern countries. As it turned out - in the first 3 meetings of the class, the teacher would put on a video that was usually a "United States is an EEEVVIILL nasty bad country", with no classroom discussion, - It seemed very propaganda-like.
There was also an incident where a student asked to step away and the teacher refused. The student had IBS and was in some distress.
I went to the dean and asked questions about this. Apparently, some of my classmates also went to the dean. With our fourth meeting of the class - we had a different teacher. And while some of the topics were still what others may think of the USA, the air of propaganda was drastically reduced and a lot more in-class discussion was had.
8
u/diecastbeatdown Apr 19 '23
Ya, I pretty much got told not to speak anymore in my college tech class after correcting the teacher too many times openly during lectures. You just happen to know better than they do is all.
4
u/AuthoritarianParsnip Apr 19 '23
This is how I feel sadly. I’ve already been to tech school for two years in high school and I had an AMAZING teacher so I’m mostly just sitting on my ass playing CS: Source trying to get that piece of paper for $90k
1
u/bart9h Apr 19 '23
Take that time to do the homework for the other classes, so you get more free time later.
7
u/Exnixon Apr 18 '23 edited Apr 19 '23
I know it may not technically be a linux question, but I don't know where else to put it.
Well it works fine here but I'd love to see the reactions to this on /r/vim.
1
5
u/umeyume Apr 19 '23
If this has a serious effect on your grade then I hope you'll find a way to have it fixed.
Warning: professors can have outrageously large egos, so correcting them when they're wrong is not a fun thing to try. If the difference in grade is small enough, it might be better to give up after bringing it up once.
PS: Please explain what "https://litter.catbox.moe" is. The name is making me smile, but the domain alone just goes to a 502 bad gateway.
5
u/AuthoritarianParsnip Apr 19 '23
This test is 30% of my grade for the course. I think it will go over pretty smoothly. My professor was a last minute replacement hire with zero previous Linux experience. There were some other questions that had issues/zero correct answers regarding YAST that I’ll bring up to her too. She generally handles feedback well.
Catbox is a free file hosting service, and litter box is the temporary version of that.
Try this link for the homepage
3
u/Crissix3 Apr 19 '23
maybe it's a trap question or something because the wording is so weird?
like does he want a text editor that will create a new file always when it's invoked or something? and why command? not Programm? application? ehh
what is this?
10
u/AuthoritarianParsnip Apr 19 '23
All the questions are this dumb and grammatically incorrect.
1
u/NetSage Apr 19 '23
This is a large reason I dropped out of the trade school I was going to like 10 years ago. They we're teaching known to be soon dead tech(like flash) and often were more focused on tests and bullshiting than actual knowledge.
Project build an html /css site as group. Fine enough. I think we got an A with a WordPress with a premade template... It was ugly as fuck imo too but the rest of the group was okay with it and I was the one traveling the furthest so didn't care enough to argue.
4
386
u/iznogoude Apr 18 '23
Your teacher is either trolling students or incompetent af.
201
u/GoryRamsy Apr 18 '23
Their teacher is not POSIX complient.
66
u/iznogoude Apr 19 '23
Their teacher is not named Ed
16
u/schmerg-uk gentoo Apr 19 '23
An ex-teacher...
→ More replies (1)2
u/rowrbazzle75 Apr 20 '23
"No more pencils, no more books, no more teachers' dirty looks"
→ More replies (1)23
u/DrRomeoChaire Apr 19 '23
Bet that went over most heads: ‘ed’ was the original Unix line editor and ‘vi’ was Bill Joy’s ‘visual interface’ to ed
→ More replies (2)5
u/Michiel_vanderWulp Apr 19 '23
So, vim is a line editor. Kate is not a line editor.
→ More replies (1)11
u/Matir Apr 19 '23
Neither is vim. But certainly not kwrite, wtf.
6
u/GoryRamsy Apr 19 '23
https://pubs.opengroup.org/onlinepubs/007904875/basedefs/xbd_chap02.html#tag_02_01_03_02
https://pubs.opengroup.org/onlinepubs/9699919799/
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/vi.html
https://www.vim.org/viusers.php
Vim is backwards compatible with vi. Switching from vi to Vim is easy: you can keep all the things that Vi offers and gain a large range of new features.
30
u/brett_riverboat Apr 19 '23
My 20+ years of using Linux/UNIX say this is bullshit. I have NEVER heard of kwrite.
I've heard of nano, pico, emacs, vile, vim, vi, and ex. Can't say if any of those would be a better answer, but vim is absolutely for editing text and that is it's primary function.
11
u/FesteringNeonDistrac Apr 19 '23
Kwrite is the KDE equivalent of windows Notepad.
11
u/brett_riverboat Apr 19 '23
That makes it even more bullshit because it's not like KDE is the official GUI of Linux. I probably haven't used KDE or even Gnome in ages. Also, even if I didn't use vim on a regular basis it comes with almost every distro of Linux. You pretty much need a barebones installation to avoid it.
2
u/FesteringNeonDistrac Apr 19 '23
Yeah I'd wager a lot of package managers would have it available, and it's probably a default install on most distros with a KDE desktop, but you're right, it's not a standard.
2
u/TheCrustyCurmudgeon Apr 20 '23
Kwrite is the KDE equivalent of windows Notepad.
Except, it's not. Notepad couldn't hold a candle to Kwrite, which is based on Kate and is multi-document, multi-view with features like like codefolding, syntax highlighting, embedded console, plugin interface and scripting support.
→ More replies (1)2
5
2
u/BarryTownCouncil Apr 19 '23
Not heard of kwrite... ok... do you want a plaque somewhere to record this?
→ More replies (1)2
u/Sweet-Put958 Apr 19 '23
Might just been a mistake, it's an automated test and scoring looks like
9
153
u/doc_willis Apr 18 '23
Sounds like another example of 'teaching people how to take the tests' and not 'learning about the subject'
Had numerous classes like this in college years ago as well.
"Command for text editor to create and edit files"
Not exactly a question. :)
Looking at 'About Kwrite'
KWrite - Text Editor
(c) 2000-2021 The Kate Authors
https://kate-editor.orgLooking at the VIM homepage..
https://www.vim.org/Vim - the ubiquitous text editor Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. It is included as "vi" with most UNIX systems and with Apple OS X.
I would say knowing about vim is more important than knowing that KDE has a text editor. :)
58
u/TheSlateGray Apr 18 '23
man vimreturns:
vim - Vi IMproved, a programmer's text editor57
u/doc_willis Apr 19 '23
are you mansplaining? :)
For those that dont get the Joke...
61
3
5
u/ccAbstraction Apr 19 '23 edited Apr 19 '23
Plus kwrite has been replaced with Kate, which is a lot more like Vim or VSCode than just a text editor!Edit: this sort of happened, but also practically didn't.17
u/throwaway6560192 Apr 19 '23
This is not accurate. It's not been replaced. Kwrite and Kate both still exist. Both are built from the same codebase but for different audiences: Kwrite is a simple text editor, like Notepad but better. Kate aims to be a full advanced text editor for programmers.
→ More replies (1)1
u/nuaz Apr 19 '23
I know vim is more versatile so I 100% agree OP should know it more than some KDE text editor.
2
Apr 19 '23
Which college is that?
1
u/AuthoritarianParsnip Apr 19 '23
This is my main so I don’t feel like doxxing myself but I assure you that you won’t have heard of it unless you happen to live in my particular slice of fuck all nowhere.
3
Apr 19 '23
As a college teacher who delivers a Linux course, vim is 100% a text editor.
You and your colleagues need to complain about this teacher, otherwise the faculty won't do a thing.
It seems like she's the typical academic drone, not only she has no experience with the subject she's teaching, but she's also a lazy ignorant who probably just copy pasted random questions from the web without any sort of double checking.
This is how I got my Linux teaching job, I've got plenty of experience in it, and the previous professor did not, so students complained about it and I was approached by the faculty to teach it to them.
2
u/oldendude Apr 19 '23
Of course vim is a correct answer.
But more importantly, it's an idiotic question.
What is this course supposed to be teaching?
2
u/AuthoritarianParsnip Apr 19 '23
“Network operating systems”
Before I caught it and pointed it out, we were using a openSUSE version from 2011. (Because that’s what the book says to do!) My teacher reluctantly upgraded when I pointed this out.
It’s basically Linux 101
27
u/CheapBison1861 Apr 18 '23
vim can be configured with plugins to be more like an ide. but that seems like a troll question to me.
edit: i just saw the photo. i would have said vim too....never heard of kwrite, that sounds like a word processor to me.
24
u/VulcansAreSpaceElves Apr 18 '23
kwrite is to kde as notepad is to Windows. It is a (graphical) text editor, but vim is also definitely a correct answer.
18
u/prudence2001 Long-time beginner Apr 18 '23
So there are two correct answers then? Not a good question.
4
u/specific_tumbleweed Apr 19 '23
Except that Kate is now the "KDE" text editor.
4
u/Matir Apr 19 '23
Yeah, but I'd still (personally) consider both correct --
kwriteandvimare both commands to get you a text editor. So iskate,emacs,nano,pico,ed, andgedit, along with about 30 other options.2
25
24
u/KenBalbari Apr 19 '23
If your teacher debates you on this, tell them to run:
man vimThis is what I see:
VIM(1) General Commands Manual > VIM(1)
NAME
vim - Vi IMproved, a programmer's text editor
SYNOPSIS
vim [options] [file ..]
vim [options] -
vim [options] -t tag
vim [options] -q [errorfile]
ex
view
gvim gview evim eview
rvim rview rgvim rgview
DESCRIPTION
Vim is a text editor that is upwards compatible to > Vi. It can be used to edit all
kinds of plain text. It is especially useful for editing > programs.8
u/nuaz Apr 19 '23
OP said somewhere earlier that his teacher doesn’t use Linux so not sure this is an option.
9
u/Voroxpete Apr 19 '23
Nah, it's still an option. It just forces the teacher to actually install Linux. If they're teaching a class on, it shouldn't be difficult for them, right?
→ More replies (1)
10
Apr 19 '23
Not only is Vim a text editor, but it is arguably the best answer because Vim or it’s predecessor Vi are available on almost any Linux or Unix system you will ever lay your hands on. It’s the first editor you should learn in Linux/Unix because it’s ubiquitous, it handles batch changes better than most editors, and it’s fast because if you know the basics you can do quick edits without having to touch the mouse for cursor positioning, string selection, etc.
kwrite is specific to KDE environments, and while it can be installed on most other window manager systems you can’t install it on any Linux server which doesn’t have a full UI installed. Yes, some of us can manage systems and do real work using command line only, which isn’t always optimal but it works. Vim for the win, and also available on Win(dows).
7
6
Apr 19 '23
Is your teacher 12?
Some weird religious nut?
Don't worry about him. Take the hit.
6
u/j_marquand Apr 19 '23
Probably she follows the Church of Emacs.
3
Apr 19 '23
emacs is a lisp interpreter that also lets you edit.
4
u/TurnkeyLurker Apr 19 '23
But I, Biguth Dickuth, do not thuffer from a lithhhp, and tho, do not need an interpreter.
1
6
u/foomatic999 Apr 19 '23
If only one of the anwers is correct, it's obviously vim. kwrite is not only obsolete, it also comes with a rats tail of dependencies that are unlikely to be met unless you specifically install kde. The teacher is incompetent. Don't listen to him.
9
Apr 18 '23 edited Apr 19 '23
Well, if they ask for a command then vim. kwrite is a gui text editor and I don't think that many of us type commands in order to launch gui applications :\
Edit: tbh here, I actually use very often the krunner way of launching things (ie I search the application by typing it's name/description), which might be considered "command typing". In any case, lately I don't type the command, but some other text found in the description. Eg many times I just type "edit" and it presents me text editors (like kate), image editors (like gimp) etc. Most commonly I just search for documents, for example I type "pdf" and I get a list of recently viewed pdf files. Seems more efficient to me (subjective opinion).
5
u/DrRomeoChaire Apr 18 '23
I routinely type ‘code foo.txt’ to start a VS code editing session. Probably got into the habit since I started using WSL2 on windows when I can’t be on a real Linux machine.
but zero argument that the teacher is completely wrong.
9
u/VulcansAreSpaceElves Apr 18 '23
I don't think that many of us type commands in order to launch gui applications
Uh.... what? Yes, we do.
Prof. is still wrong.
3
3
u/unkilbeeg Apr 19 '23
All the time. Many gui applications have useful command line switches. If I am working with files in a directory, I am more likely to type the command with a particular file name as an argument than to start the program and have to navigate through the gui file dialogs to where the file is actually located.
Also, I fairly frequently have reason to launch gui applications over a remote connection, tunneling the X11 graphics over the ssh tunnel.
I won't go so far as to say I launch gui applications from the terminal more often than I go through a menu, but it's not at all unusual.
2
u/ChiefExecDisfunction Apr 19 '23
If I am working with files in a directory, I am more likely to type the command with a particular file name as an argument than to start the program and have to navigate through the gui file dialogs to where the file is actually located.
Okay, but in 2023 you can usually just click or double-click the file, or right-click>"open with" if you need to use a different program than the default.
If you're working with remote/vm stuff and X11 tunneling it's different, but on a standard desktop?
→ More replies (2)3
u/unkilbeeg Apr 19 '23
On a standard desktop, I spend most of my time in a terminal. The tools for manipulating files are much richer than anything in a "file manager". I almost never have a file manager open, but at any given point in time there are dozens of terminals open.
→ More replies (6)3
4
u/krill_ep Apr 19 '23
It's very clearly a text editor, not sure what your teacher is smoking, but I'd love some of it.
Every single source calls it a text editor, which it obviously is. Is your teacher going to say Notepad isn't a text editor either?
4
Apr 19 '23
UPDATE: She has refused to give me credit because “that’s not what the book says.” College was the best decision of my life!
Ok, if your college has half decent politics, you have all the necessary info to ask for a grade revision to the higher ups. Do NOT give up on this case. Fight it for a whole year or more if necessary.
2
1
u/ssducf Apr 19 '23
Were you suppose to select both vim and kwrite?
3
u/AuthoritarianParsnip Apr 19 '23
Nope. Only one answer allowed.
5
u/ssducf Apr 19 '23
Even if you were suppose to select both, I'm not sure I'd type kwrite. And if you can't select both, I'd say kwrite is wrong.
1
u/Giggy36 Apr 19 '23
I’d clearly say it pertains to the material being covered, VIM is a text editor but if the material being covered is about KDE then I’m assuming that’s why you got it wrong.
3
u/AuthoritarianParsnip Apr 19 '23
Nope. We use KDE but none of us ever remember her bringing up kwrite.
1
u/RiknYerBkn Apr 19 '23
If all of the commands can create files, what was the answer the professor was looking for?
1
u/AuthoritarianParsnip Apr 19 '23
No clue. I'll ask tomorrow
1
u/GrandWizardZippy Apr 19 '23
The image won’t load for me but if the question was specific to command line then vim 100% would be right. Professor is a tool
1
u/e_hyde Apr 19 '23
Nobody seems to get the real problem here:
What f*ing shitty book is she referring to? Find out the author(s) and publisher and we'll gonna burn them down.
1
1
u/dzimmerm56 Apr 19 '23
That is the silliest test question I have ever seen. A multiple choice question that only allows one correct answer should not feature two correct answers.
One errata, did you try to select both VIM and kwrite and it only let you mark one?
1
1
1
3
Apr 19 '23
Weird options for this question. There are tons of commands to edit text, and vim or neovim is one of the main ones. Some distros have vi, some have nano, pico, emacs, ed. Why didn't he give a list of multiple right choices? Also, kwrite is a GUI text editor. What a goofy class you're on.
3
3
u/SicnarfRaxifras Apr 19 '23
Vin is the only one out of the options you can guarantee to work (if installed) from the command line because Kwrite needs a GUI Zane you may be dealing with a headless install on a server.
3
3
3
3
3
u/d80F Apr 19 '23
"What the heck is kwrite?" – someone with decades of Linux experience. (i. e. me)
I guess that pretty much explains my position on this... 😉
3
3
u/thenormaluser35 Apr 19 '23
Send a complaint to some higher ups. The teacher definitely is not fully qualified for such a class.
2
u/Sergio_Martes Apr 19 '23
Maybe the question is wrong and not the answer? Kwrite and vim are text editors, but kwrite is a program that run under graphic environment vs vim command line?
2
Apr 19 '23
Seems like your teacher is confused about the Emacs operating system and vi/vim. You should correct him/her of their ignorance.
2
u/CrudBert Apr 19 '23
It’s not anything BUT a text editor! Sure you can add stuff, but without adding whatsitz stuff to it, it’s ONLY a text editor. That’s what it does, it’s what it was written for, it’s what every uses it for. It is ipso facto, a text editor.
From the man pages for vi:
https://man7.org/linux/man-pages/man1/vi.1p.html
Second paragraph under”Description”
“The vi (visual) utility is a screen-oriented text editor.“
Done.
2
u/AlarmDozer Apr 19 '23
How is it not a text editor? Are they redefining it with some WYSIWYG shit? It edits text files. Do joe and nano also not count?
2
u/Velascu Apr 19 '23
Honestly wtf is wrong with your teacher. Even people who are in the PS4 vs XBOX editor wars (yeah TEXT EDITOR wars) consider vim a text editor, the members of the church maybe consider it an insufficient text editor but a text editor nonetheless. Idk what kind of weird onthological semantic bullshit he's playing with. Maybe he wanted to ask for what program was a text editor with a GUI but that just proves that he's incompetent. Srsly this isn't why I left college but not having to do childcare with my teachers was one of the most relieving things in my academic life, college is full of these kind of self-entitled "I only smell my own anus" kind of guys, fuck it, I'm angry now.
2
u/SuAlfons Apr 19 '23
Off course Vim is also a text editor.
I never advanced to the higher blessings of vi-manship. But you need to know the basics (open, edit, save, quit) and then you are good for the one editor that is installed on next to all Unix and Linux machines. IIRC, this also included MacOS
2
Apr 19 '23
You REALLY need to write a letter to the dean of that department.
Any computer "professor" who can't tell that VIM is a text editor doesn't belong behind a lectern.
2
u/funbike Apr 19 '23
Arrogance or incompetance. The teacher probably hates vim and is making some kind of snarky point, at the expense of education, the institution, and his own standing and respect in front of students. I dislike an editor I shall not name, but I'd never hurt a student because they declare it a text editor.
2
2
u/laniusone Apr 19 '23
Well, I guess the 'book' doesn't know that you can run vim command and then create and manage files, because there's no clicky menu to do so. I would say, the book author might not know how to exit vim.
1
u/Univox_62 Apr 19 '23
Perhaps it is the command itself...spelling, etc. My point being: if I type "vim" in the terminal I get: xxxxxxx :~$ vim bash: vim: command not found Now if I type "vi" I get Vim. (This is a debian system, not sure if all distros handle it the same). I don't have kwrite installed so can't test starting it in terminal. Maybe she is being a bit tricky. Hope this helps....
2
Apr 19 '23
[removed] — view removed comment
3
u/throwaway6560192 Apr 19 '23
Kwrite and Kate both exist. They're built from the same codebase but for different audiences.
2
u/Univox_62 Apr 19 '23
Actually, it is/has vim, but typing "vim" in the command lie returns an error. Typing "vi" starts vim...
1
u/samudrin Apr 19 '23
man vim -
VIM(1) General Commands Manual VIM(1)
NAME vim - Vi IMproved, a programmer's text editor
1
u/amarao_san Apr 19 '23
It's called 'name appropriation'. White colonizers come and call people "Indians". Education coming and start to classify: this is not an editor, this is not a browser, we know, because we have educational privilege and we are entitled to F-mark you.
1
1
1
u/jtgyk Apr 19 '23
What if your teacher wants a demonstration of vim editing some text? Have you taken the "Intro to vim" course parts 1 through 5? (Part 5 shows you how to quit vim.)
1
u/Dolapevich Please properly document your questions :) Apr 19 '23
yast is a package manager from SuSe, tar is "tape archiver", which leaves kwrite and vim as possible options.
Both are text editors, but I would have selected vim as kwrite is a newcomer and it is mostly called kate nowadays.
Tell your teacher to come talk to me if he thinks otherwise.
Also, those are not "commands" but programs you invoke/run/execute.
1
u/RiffyDivine2 Apr 19 '23
You will learn in the field when it comes to tests and stuff that they often give you a few right answers but always want the most right. It's annoying as shit to me but it is just how tests tend to go. Hell on my cert test I got one with 4 right answers and got very upset as I had to then argue with myself over which one was the right right answer. Still miffed I missed a perfect score cause of it.
1
Apr 19 '23
The question is dumb on many levels, not the least of which: it’s not going to help you in your post-graduate studies to know that on a random test that vim is LESS of a text editor than kwrite according to your professor.
The question serves no purpose other than trying to trick the student.
I had an English teacher once in my English degree program that would ask random questions about specific parts of text, to the point that you nearly had to memorize what you THINK she might ask and the questions would be to the point that you had to write something very specific to get it right. It was annoying as hell.
These multiple choice questions are always going to be stupid as shit because they seem to know you have the right answer in front of you so they have to resort to trickery. Deal with it, I guess.
1
1
u/Jaohni Apr 19 '23
Vim isn't a text editor, it's a trap from which you cannot exit, and you must restart your system to turn off.
It's large quantity of text editing, navigation, and assessment capabilities is an unrelated side effect, meant to distract users from the fact they opened a piece of malicious malware which occupies thousands of CPU cycles a second.
/s
1
u/stankylongnuts Apr 19 '23
Your teacher is telling you they don't know how to save and exit. Without saying they don't know.
1
u/thepreydiet Apr 19 '23
The vim documentation literally calls it a text editor. Show her and demand she marks it correctly.
1
u/Hotshot55 Apr 19 '23 edited Apr 19 '23
man vim
VIM(1) General Commands Manual VIM(1)
NAME vim - Vi IMproved, a programmer's text editor
UPDATE: She has refused to give me credit because “that’s not what the book says.” College was the best decision of my life!
What book is she referring to?
1
u/punklinux Apr 19 '23
The amount of things wrong in college IT exams led me to this philosophy in college. "There are two answers: the right one and the one on the exam. If they are the same, great! But don't be surprised if they are not." The amount of this I encountered (especially at the lower levels) was infuriating:
Q: What is the difference between DOS (Disk Operating System) and MFM (Modified frequency modulation) drives?
My god, how does one answer that? So I said that DOS was an operating system, and MFM drives were a type of way data was coded on older disks. Nope. Apparently MFM was a type of operating system used by AT&T in the late 1970s that used paper tape. His proof? In the syllabus. His own syllabus.
Then there are those questions which, while technically right, are confusing or possibly intentionally misleading:
Q: What is DNS? Pick the answer that is MOST correct:
A server
A service
A translation
None of the above
In this case, it was "4" because "DNS is a system (Domain Name System)." I guess the clue was "well, 1-3 is part of DNS," but not "the system" of DNS.
Q: Which feature is NOT a part of DHCP
IP address
Subnet mask
Hostname
Time server
In this case it was "1" because DHCP IP address was not an "option" like the others are (Options 1, 12, and 4 respectively). Like, I get it, "one of these things is not like the others" but the question is misleading.
One professor told us that "at least you know what the wrong answers are, the CCNA won't be as forgiving." Which, yeah, true. I was surprised to see he was right about that. Like "Oh, you got a score of 63, and you needed a score of 64 to pass." "So what did I get wrong?" "We can't tell you that." That's infuriating, how are you supposed to improve?
1
u/BarryTownCouncil Apr 19 '23
"files"
Pretty sure neither kwrite or vim can do much with am xcf file.
Meanwhile tar can, of course, create and "edit" tar files.
1
1
u/B_i_llt_etleyyyyyy Apr 19 '23
that's not what the book says
Ugh. The most horribly lazy non-answer an instructor can give to a student. It says, "I don't know, and I don't care enough about you or the course material to find out." If any of the professors I worked for heard one of their TA's had said that, it would've been a very bad day for them.
1
1
1
Apr 20 '23
any teacher that's weighting credit for a question like this alongside legitimate Linux questions is ridiculous. what fucking conceptual stuff does this question even address - you either use it as a tool you find useful or you don't - who the fuck cares if it fits into a text editor box.
1
1
u/ad-on-is Apr 20 '23
Maybe the teacher never figured out how to enter insert mode and save files in vim, so to them, it's not an editor, but a "text viewer"
1
1
1
1
u/TabsBelow Apr 19 '23
All answers to this "non-question" are wrong.
None of these are "commands" but programs you start by entering their bin file's Name like a command from the terminal (clicking them from a GUI makes it even less a command).
152
u/FlyingCashewDog Apr 18 '23
vimis definitely a text editor. I see no reason why this answer would be wrong.