Hot answers tagged user-interface
Ultimately, it was an arbitrary choice made by the creators of Unix over four decades ago now. They could have chosen to make things case-insensitive like the creators of MS-DOS did a decade later, but that has its disadvantages, too. It's too deeply embedded in *ix culture to change now. The case sensitive filesystem issue brought up by eppesuig is only ...
Ubuntu is a standard suggestion for beginners in Linux. As far as memory is concerned, go with a lighter version of Ubuntu.
A normal, "modeless" editor is like Notepad on Windows: there is only one mode, where you input text. Vi, and it's successor Vim, are modal: there are two primary modes1, insert mode where you type text into the editor and it is committed to the document, and normal mode where you enter arguments via the keyboard that perform a variety of functions, ...
This is entirely up to you but most programs do someting like this program --help Usage: program [<options>][<arguments> ...] Options: --help show this message, then exit --something after some spaces for alignment, an explenation follows. You should check out getopt which most programs (this is also available in programming ...
Linux Mint is, for me, the most user-friendly Linux Distribution, the UI is almost the same as Windows, on the contrary of Ubuntu's Unity. Plus, for me, it's much more stable and "better", in my opinion than Ubuntu. You may also want to take a look at Mageia, a fork of Mandriva, the old Mandrake Linux.
From my experience of looking at new, untaught users: their main problems are with understanding and having a grasp on what is what on the now common Windows/KDE/Xfce/IceWM-like desktop -- they get confused by the elements of the DE and afraid. After thinking this over, I arrived at the conclusion that a Nextstep/WindowMaker/(perhaps Gnome 3)-like desktop ...
getopt vs getopts seems to be a religious issue. As for the arguments against getopt in the Bash FAQ: "getopt cannot handle empty arguments strings" seems to refer to a known issue with optional arguments, which it looks like getopts doesn't support at all (at least from reading help getopts for Bash 4.2.24). From man getopt: getopt(3) can parse long ...
Case sensitive is part of the POSIX way of handling command and argument it has nothing to do with the meaning. It's a very good thing that Status and status are not the same because the file system which kind of a base in the system is case sensitive (because of POSIX rules). It's usually a good pratice to keep the same behavior in your whole system. ...
is there any reason to be case-sensitive? It leaves a much bigger namespace available. For example, a later version of git could implement uppercase variations on command names, or allow the user to define macros/aliases, as with the shell, where you can define your own MV, CP, etc. without having to redefine mv, cp, etc.
I'm not sure but I think that you want the :rew command
This is not a "terminal" problem, it is a file system feature. How should the shell look for your commands on the (always case sensitive) file system?
Press o to change the options. In the very first preference “User mode”, select “Advanced” (“Novice” has the huge help, “Intermediate” has a one-line help, and “Advanced” shows the selected URL in the modeline). Check the “Save options to disk” box then follow the “Accept” link at the top. The corresponding setting in ~/.lynxrc is user_mode=ADVANCED ...
http://www.gnome.org/getting-gnome/ Fedora Just install or try it live to use GNOME 3. openSUSE GNOME 3.2 is the default desktop environment of openSUSE 12.1. Mageia GNOME 3 will be part of Mageia 2. Install ‘task-gnome’ after installing Mageia. Arch Linux Arch Linux has GNOME 3 in the extra repository. Ubuntu ...
How about ":e ."? This opens the current directory in Vim, i.e. it opens the file explorer. Because I have autochdir setting set, this shows the directory that the currently edited file is in.
Openbox and Window Maker are great suggestions. You may also have luck with related projects and derivatives; I had a good experience with Fluxbox on Crunchbang (Ubuntu-based). Lubuntu, with the LXDE desktop environment is very lightweight while providing a bit more out-of-the-box infrastructure than going without any desktop environment. Though, I've ...
Use ^O to fallback previous opened file, which is your dir tree in this case.
The technical systems that I use and respect are almost exclusively case-sensitive: be it OS or programming language or anything else. The exceptions I could think of right now is the HTML tags and some implementations of SQL, and the Ada programming language. Even in those cases, I think there are strong tendencies to actually write HTML tags in ...
To disable the login manager permanently on Ubuntu you can do the following: sudo sh -c "echo 'manual' > /etc/init/lightdm.override" To start the login manager manually when needed you would do: sudo service lightdm start To stop it manually: sudo service lightdm stop
Look at it from another perspective. The computer has no knowledge of language or letters, what it sees are numbers that are then mapped to characters. While I (the letter I) and | (the pipe) may look very similar to you, they are completely different to the computer. To illustrate, have a look at the table below. You will see that there is no ...
There's this getopts_long written as a POSIX shell function that you may embed inside your script. Note that the Linux getopt (from util-linux) works correctly when not in traditional mode and supports long options, but is probably not an option for you if you need to be portable to other Unices. Recent versions of ksh93 (getopts) and zsh (zparseopts) ...
I am not a fan of overriding built-in commands, but in my .bashrc (part of Tilde, my "dot files") I explicitly do this: alias rm='rm -i'; This makes rm ask for permission before deleting. It has saved me a few times. You can always override with rm -f.
Your primary concern will be finding a distro which runs happily in 256Mb - its not a lot of memory these days. IMHO (and personally I prefer KDE) for non-techies, I'd favour a Gnome 3 based desktop (although an icewm/xfce will fit better into the available memory). I'd also suggest having a look at the distros targeting netbooks - the program selection is ...
It's called "Visual Bell" - see this question for how to fix it in bash. set bell-style none
If it has to be portable to a range of Unices, you'd have to stick to POSIX sh. And AFAIU there you just have no choice but rolling argument handling by hand.
In ls and du, the --help output is plain and simple hardcoded into the program. In scripting languages such as Python there may be an option parsing library that does it automatically for you. As for standards, the only thing I could find was this: http://www.gnu.org/prep/standards/html_node/_002d_002dhelp.html#g_t_002d_002dhelp or more specific to ls, ...
$ (read -p "Foo the bar? [y/N] " ans ; [ "$ans" = Y -o "$ans" = y ]) ; echo $? Foo the bar? [y/N] Y 0
$ man evim NAME evim - easy Vim, edit a file with Vim and setup for modeless editing SYNOPSIS evim [options] [file ..] eview DESCRIPTION eVim starts Vim and sets options to make it behave like a modeless edi‐ tor. This is still Vim but used as a point-and-click editor. This feels a lot like using Notepad on ...
You can change the default font and font size under Preferences -> Interface -> Output. Check the "Font override" checkbox and then set your font and size in the bar to the right. You can change it to whatever you want: and make it as big as you want:
If you're setting it up for them, debian is a great way to go with this. I recommend CrunchBang linux (#!) which is debian based. It's highly configurable, lightweight by design. There are plenty of things you can take out of it, or things you can add to it, but at startup I use ~80 MB ram.
Only top voted, non community-wiki answers of a minimum length are eligible