What shell does /prog/ use?
I've only used bash, but I want to explore my options. So, which shell do you use, and, if you feel so inclined, why?
Name:
Anonymous2008-11-15 18:47
When I use a shell, I don't want eight extra KILOBYTES of worthless regular expressions and TCP/UDP support! I just want a TCSHell!!
Not a "bash". Not a "zsh". Those aren't even WORDS!!!! TCSH! TCSH! TCSH IS THE STANDARD!!!
Name:
Anonymous2008-11-15 19:05
explorer.exe
Name:
Anonymous2008-11-15 19:15
I use whatever came with Ubuntu (don't really know/care about the names)
>>1
bash, moving to zsh. I'll also try tclsh whenever I have time, and I'm thinking on writing a Python-based shell that combines the shell with a Python REPL, and accepts Python function calls with shell syntax too.
>>35
I'd use your Monad if you know what I mean ;)
Name:
Anonymous2008-11-19 9:32
i think he means microsoft PowerShell
i bet he uses win2k8 core too
Name:
Anonymous2008-11-19 9:37
PowerShell is very cool if you have software with .NET interfaces. Otherwise it's just a steaming pile of "lets call all common commmands something completely unintelligible just so we'll be different."
Name:
Anonymous2008-11-19 10:48
>> 1 What sexual hole does /prog/ use? I've only used female vagina, but I want to explore my options. So, which shell do you use, and, if you feel o inclined, why?
Fix'd. Swiching from bash to, well,tsch for example, is like trying homosexual intercourse. I know, because I've tried it.
rc (as part of plan9port). The syntax is regular enough that I no longer always need to look up the man page before doing anything, like used to happen with bash.
for scripting, posix or a real programming language like perl. for interactive use, zsh or tcsh, depending on whether or not the machine is powerful enough to run zsh well.
>>46 >>47 is not me. I was going to say the same thing, but since that's taken....
rc is cool because it cleans up the script syntax.
Plan 9's terminal does away with the bullshit pseudographics that *nix is infested with (e.g. any curses app ever, Emacs, vi, text art progress bars), making the whole experience cleaner. Since it doesn't have to worry about strange modes of operation, it is free to buffer input, allowing arbitrary editing of your input with both the keyboard and the mouse. Since programs can't dick with previous output, you're free to edit it as well. So if perhaps I "ls" and want to delete a file, I can just type "rm" before its name then execute that text.
You "lose" the ability to make pseudographics apps, but let's face it: this is the future, we all have bitmap displays, and sqeezing graphical programs into the terminal is retarded.
Name:
Anonymous2008-11-20 1:18
>>53 Plan 9's terminal does away with the bullshit pseudographics that *nix is infested with (e.g. any curses app ever, Emacs, vi, text art progress bars), making the whole experience cleaner. Since it doesn't have to worry about strange modes of operation, it is free to buffer input, allowing arbitrary editing of your input with both the keyboard and the mouse. Since programs can't dick with previous output, you're free to edit it as well. So if perhaps I "ls" and want to delete a file, I can just type "rm" before its name then execute that text.
Did you mean: M-x shell
>>54
Wat. No. The only thing more retarded than a pseudograhical program is running a proper CLI inside one. Or even worse, using your graphics display to emulate the look of a terminal in order to get pseudographics to run a CLI in.
I love character-based UIs. They are pretty darn fast, efficient, and nice to get stuff done. I'm from the Norton Commander (now FAR Manager and its toy Linux counterpart Midnight Commander) school. While I use and love GNU/Linux except when playing games, one of the things I think GNU/Linux (and any UNIX system for that matter) have to improve is character-based application support: UNIX terminals blow, the way the keyboard is mapped with escape sequences is pig disgusting, let alone the special voodoo for cursor positioning, colours, etc. I'd like GNU/Linux to feature a console like that of Windows (which is about the only thing I like from Windows, though few people use it properly with the *W Unicode functions): one that handles colour attributes properly, has appropriate functions for cursor positioning (and some functions for console properties that should be best left to the console interface), and you get a regular Windows event queue, which means you receive scancodes (no more terminfo and ^]]~334m;56d;haxanus]; insanity). This is great for character-based applications, though Windows lacks better fixed-spacing Unicode fonts and console programs.
Name:
Anonymous2008-11-21 16:21
>>64
In what way does running in a terminal benefit an application? Take FAR Manager, or OFMs in general, for example. What is the console doing for it but messing with its resizability (a weirdness of cmd.exe's family, afaik), limiting it to the use of fixed-pitch fonts (which are nearly always less horizontally space efficient than proportional fonts which can remain readable while being more compact on average) and eliminating the possiblity of previewing images in the Quick View pane?
Until playing with Plan 9 I might have said the same thing as you, but it taught me that I don't love character-based UIs so much as I hate GUI designers. Plan 9 is the only desktop I've seen that applied graphics to correcting the shortcomings of straight CLI programs (e.g. ed->sam) without confabulating buttons and widgets and ohgodimdrowningingradients.
Name:
Anonymous2008-11-21 16:53
>>65 In what way does running in a terminal benefit an application?
1. Speed. Krusader or any other attempt for a fully graphical OFM is pig disgustingly slow.
2. Enforced usability. Any graphical OFM I've seen is pestered with icons, toolbars and worthless bullshit wasting space and making it look like a Hong Kong street. You cannot add useless bullshit to the application if you can only use text.
3. Terminal support. It's easy to do in text, hard to do with a graphical OFM. IIRC Krusader almost got it right, but you can't use both the panels and the command line at once and have to switch with the mouse which is, again, pig disgusting.
limiting it to the use of fixed-pitch fonts
You mean the proper font that makes everything look right and filenames line up nicely?
eliminating the possiblity of previewing images in the Quick View pane?
A matter of personal taste, but I don't need that feature, nor any kind of expensive preview. If I want to see a file I'll open the appropriate full-screen minimalistic program for that. At the very best I'll accept some libaa voodoo and w3m rendering for HTML, as in Midnight Commander (I also integrated that into FAR Manager).
Name:
Anonymous2008-11-21 17:01
>>64
You could implement all that for Linux if you wanted to, but you'd still have to use Curses to get your applications running on VT100s and god knows what.
Name:
Anonymous2008-11-21 17:09
>>66 You mean the proper font that makes everything look right and filenames line up nicely?
Why the fuck would you need monospace in order to line up columns? That dickheaded mentality of yours of purely relying on bullshit hacks dependent on clinging onto old bullshit limitations is why computer science is so retardedly fucked up. Go eat shit and die, and let the rest of the world move forward.
Name:
Anonymous2008-11-21 17:13
scheme shell, fags.
Name:
Anonymous2008-11-21 17:49
zsh. Call me when bash has proper wildcard tab completion and similar stuff.
Name:
Anonymous2008-11-21 18:52
>>67
I don't give a shit about the VT100, and you shouldn't either. 99.999999999999999999999999999999% of the people running GNU/Linux have a keyboard which has, at least, something resembling a PC keyboard with no less than 100 keys, supports key down and up scancodes, and can display (or at the very worst gracefully ignore) colour attributes. What we need is a console protocol (not X, not plain text with escape shit) for console applications which can run locally or over a remote shell.
>>68
Are you by any chance a first-year student frustrated that Computer Science is not about dragging cute icons around like you do in Windows Solitaire?
First of all, like anybody I have a huge collection of hentai, anime, ripped TV series or all of these, and I like to see filenames such as a01.jpg and f01.jpg line up properly. Second, it's much faster than using a full-fledged graphic system. Third, it's a matter of aesthetics: I like having fixed character cells, just like I like window snapping and anything that looks fixed and solid. It also helps to prevent idiots from making idiotic GUIs.
Name:
Anonymous2008-11-21 18:56
>>66 1. Speed. Krusader or any other attempt for a fully graphical OFM is pig disgustingly slow.
Got nothing to do with being graphical. Blame poor development priorities. 2. Enforced usability. Any graphical OFM I've seen is pestered with icons, toolbars and worthless bullshit wasting space and making it look like a Hong Kong street. You cannot add useless bullshit to the application if you can only use text.
But you can not add useless bullshit to the application when you use a bitmap display. 3. Terminal support. It's easy to do in text, hard to do with a graphical OFM. IIRC Krusader almost got it right, but you can't use both the panels and the command line at once and have to switch with the mouse which is, again, pig disgusting.
Nice for lazy devs, but so what? You mean the proper font that makes everything look right and filenames line up nicely?
What display errors are you envisioning? A matter of personal taste, but I don't need that feature, nor any kind of expensive preview. If I want to see a file I'll open the appropriate full-screen minimalistic program for that. At the very best I'll accept some libaa voodoo and w3m rendering for HTML, as in Midnight Commander (I also integrated that into FAR Manager).
It falls in my "would be nice" column anyway. It's not like I'd lose anything when not using it, and it would be damned handy when I'm trying to find an image in a directory with lots to be able to scrub through with the quick view pane. Ditto for video, in-place preview would be awesome.
Don't get me wrong, we share some gripes with most GUI programs, but as far as I can tell, none of those gripes have anything to do with bitmap displays per se. Can't you envision a better future with me, a future with output devices chosen to maximise usability and capability?
Name:
Anonymous2008-11-21 19:04
>>72 1. Speed. Krusader or any other attempt for a fully graphical OFM is pig disgustingly slow. Got nothing to do with being graphical. Blame poor development priorities.
It does; there's a lot more work when you're to draw bitmaps in various formats, calculate gradients, etc. over just rendering a fixed-spacing bitmap-cached font (which is often hardware-accelerated). Also, X is probably fucked as it's always going to be kinda slow. (And GTK is something else. I can run an errand as I wait for it to fully refresh.)
2. Enforced usability. Any graphical OFM I've seen is pestered with icons, toolbars and worthless bullshit wasting space and making it look like a Hong Kong street. You cannot add useless bullshit to the application if you can only use text. But you can not add useless bullshit to the application when you use a bitmap display.
I don't quite understand what you meant. Of course you can; you can pest it with stupid icons and bullshit.
>> 3. Terminal support. It's easy to do in text, hard to do with a graphical OFM. IIRC Krusader almost got it right, but you can't use both the panels and the command line at once and have to switch with the mouse which is, again, pig disgusting. Nice for lazy devs, but so what?
Oh, so you have to be a developer to use the command line or an OFM? Well then, I'm a lazy dev.
You mean the proper font that makes everything look right and filenames line up nicely? What display errors are you envisioning?
Not errors, just uglyness.
Can't you envision a better future with me, a future with output devices chosen to maximise usability and capability?
I wish I could, but then users who want an "easy search" icon on their internet and developers willing to satisfy these retards come to my mind.
Name:
Anonymous2008-11-21 19:05
>>71 First of all, like anybody I have a huge collection of hentai, anime, ripped TV series or all of these, and I like to see filenames such as a01.jpg and f01.jpg line up properly.
Er, yeah... anybody. At any rate, I expect these line up better than you imagine. You can even use a font whose numbers are the same width, if you like.
f01.jpg
f02.jpg
f03.jpg
f04.jpg
f05.jpg
f06.jpg
f07.jpg
f08.jpg
f09.jpg
f10.jpg
f11.jpg
f12.jpg
f13.jpg
f14.jpg Second, it's much faster than using a full-fledged graphic system.
In 2008? I don't think so, buddy. Maybe faster than the GUI widget orgy of the week, but even then, drawing quickly is not the issue. Third, it's a matter of aesthetics: I like having fixed character cells, just like I like window snapping and anything that looks fixed and solid.
That's pretty OCD, man. It also helps to prevent idiots from making idiotic GUIs.
I prefer not to use programs written by idiots to avoid a BAD END for my data.
Name:
Anonymous2008-11-21 19:12
>>73 It does; there's a lot more work when you're to draw bitmaps in various formats, calculate gradients, etc. over just rendering a fixed-spacing bitmap-cached font (which is often hardware-accelerated). Also, X is probably fucked as it's always going to be kinda slow. (And GTK is something else. I can run an errand as I wait for it to fully refresh.)
It's all in what you choose to draw. Depending on the speed of your terminal emulator, a natively graphical program could draw faster than the text-mode version. I don't quite understand what you meant. Of course you can;
you can pest it with stupid icons and bullshit.
I meant you cannot add them. Can refrain from adding them. Oh, so you have to be a developer to use the command line or an OFM? Well then, I'm a lazy dev.
You have to be an OFM developer to be personally affected by the ease of embedding a command line into your OFM.
>>74
Even if numbers have the same width (they always should, in non-shitty fonts), they'll fuck up whenever they're hex or letters are used to divide by section or volume, or to mark special pages.
In 2008? I don't think so, buddy. Maybe faster than the GUI widget orgy of the week, but even then, drawing quickly is not the issue.
A framebuffer-based character-based system which can only display characters from a bitmap font on fixed position is bould to be faster. Also, even if you can do it right, the second developers are given unlimited graphics abilities they jump on to XBOX bloated toolkits and start doing the usual shit.
That's pretty OCD, man.
Yes, I wonder if I'm OCD, and I know for sure I'm at least OCPD.
I prefer not to use programs written by idiots to avoid a BAD END for my data.
Oh, so you use a Lisp Machine (or, at best, a GNU system without X)? Because any modern system is bound to be plagued with crap. Just look at the most popular desktop environments: Windows, OS X, KDE 4 and GNOME are all written for complete retards. Every new version is more retard-friendly and less useful for real work than the previous (this is specially true for KDE 4 and GNOME).
Name:
Anonymous2008-11-21 19:20
>>75 It's all in what you choose to draw. Depending on the speed of your terminal emulator, a natively graphical program could draw faster than the text-mode version.
I'm thinking of a framebuffer-based character console, not an X terminal emulator.
I meant you can not add them. Can refrain from adding them.
But very rarely people do, unfortunately.
You have to be an OFM developer to be personally affected by the ease of embedding a command line into your OFM.
I'm a OFM user (and at this rate, developer; fucking Midnight Commander sucks and the other ones on GNU/Linux are even worse), and I'm worried because I'm not getting it right in my OFMs. Only Norton Commander, FAR Manager and very few others did it right: a command line which you can use at the same time you browse panels, run commands and see their results (as panels don't have to cover all of the screen; they can very well cover just the upper half).
Name:
Anonymous2008-11-21 19:21
>>77
s/bould/bound/ (The original version said built, then I reworded and changed into bound, but fucked up.)
Name:
Anonymous2008-11-21 19:22
I'm a Windows developer, and I have some questions about Unix/Linux in general. What exactly is the difference between a kernel, window manager, OS and shell? I see these terms come up all the time, but I'm not sure what they mean.
Name:
Anonymous2008-11-21 19:28
Kernel is the thing which bridges between hardware and software basically.
You can think of a Window Manager as linux equivalent to explorer.exe . It is GUI interface to folders and files.
OS stands for Operation System. It is the collection of kernel and software which makes things work
Shell is a command-line based interface for executing kernel commands
Name:
Anonymous2008-11-21 20:34
>>80
I almost don't believe this is a real question, but....
The kernel manages the hardware and provides system calls to programs. Graphics in *nix are conventionally provided by an X server. The shell is an interface through which users can interactively operate the system. Windows ships with both a graphical shell, explorer.exe (which provides the taskbar and various other things—it's not just the Windows Explorer file manager), and a command-line shell, which can be accessed through cmd.exe. *nix systems ship with some command line shell, often bash, and some graphical shell that runs on top of X11. The OS is some combination of the above, along with basic system administration programs.
The X server provides facilities for programmatically creating and drawing to windows, but none for user management of those. A window manager takes all the windows under its wing, providing title bars, an easy way to resize and move windows, and whatever else it wants.
Name:
Anonymous2008-11-21 20:38
>>78 I'm thinking of a framebuffer-based character console, not an X terminal emulator.
Which is potentially even worse, if you use special resolutions. But very rarely people do, unfortunately.
Yes. Hate the sinner, not the temptress. I'm a OFM user (and at this rate, developer; fucking Midnight Commander sucks and the other ones on GNU/Linux are even worse), and I'm worried because I'm not getting it right in my OFMs. Only Norton Commander, FAR Manager and very few others did it right: a command line which you can use at the same time you browse panels, run commands and see their results (as panels don't have to cover all of the screen; they can very well cover just the upper half).
Yeah. You've got me wanting to write an OFM now.
Name:
Anonymous2008-11-21 20:47
Can you make a custom explorer.exe?
Name:
Anonymous2008-11-21 21:23
>>84
You can set the default window manager which starts up in a registry setting. You can create a custom "explorer.exe" by using the Win32 API, specifically the GDI graphics routines.
>>78 I'm thinking of a framebuffer-based character console, not an X terminal emulator.
fixed number of columns FTL. Fuck off, already. People want flexibility in their displays, and how do you multitask? Virtual terminals? screen? DIAF.
Name:
Anonymous2008-11-22 15:45
I don't give a shit about the VT100, and you shouldn't either. 99.999999999999999999999999999999% of the people running GNU/Linux have a keyboard which has, at least, something resembling a PC keyboard with no less than 100 keys, supports key down and up scancodes, and can display (or at the very worst gracefully ignore) colour attributes. What we need is a console protocol (not X, not plain text with escape shit) for console applications which can run locally or over a remote shell.
What about remoting from a system without support for this? A terminfo wrapper? On the client, on the server?
What is so bad about the current situation anyway? It works, and rarely do you have to write the escape sequences by hand, that's what terminfo and shit is for.
Sure, catting some junk and having your terminal messed up sucks, but one reset later and you're back to hacking.
>>89
It's not like you really NEED terminal manipulation shit for anything other than entertainment, so why is there such a need (1 person) for Windows shit here?
Name:
Anonymous2008-11-22 22:01
>>87
I like fast and rock-solid display better than flexibility. How do I multitask? Switching between different full-screen applications, of course. I paid for the whole screen, so I don't see why I wouldn't want to use all of it at once.
>>88 What about remoting from a system without support for this?
No remoting, period. Just like you can't remote X if you don't have X.
What is so bad about the current situation anyway?
I already posted what. ^]44u;~37m];, half of the keys won't work, Escape mapped horribly so that you cannot use it as an individual key (without some sort of timeout and making your program ugly), slow operation for things like curses, a gazillion different terminals, every terminfo broken in funny and unexpected ways, subtle incompatibilities between every major Linux distro and version terminal key codes to fuck you all over (this breaks remoting BTW), no real support for scancodes, shitty support for character attributes.
>>90 It's not like you really NEED terminal manipulation shit for anything other than entertainment, so why is there such a need (1 person) for Windows shit here?
Yes, the best OFM ever is pure entertainment; every time I run FAR it just cracks me. But nevermind it's the best and most efficient (fastest human oepration) file manager ever; it's Windows shit.
Name:
Anonymous2008-11-22 22:13
>>91 Yes, the best OFM ever is pure entertainment; every time I run FAR it just cracks me. But nevermind it's the best and most efficient (fastest human oepration) file manager ever; it's Windows shit.
I do believe he was mocking the entire notion of cramming such an app into the terminal.
>>92
It naturally fits a terminal, firstly because the OFM is an extension to the command line shell; secondly because it's most efficiently implemented with a character interface free of faggot shit such as icons or toolbars.
>>93
So is mine, but I enhance it with an OFM which allows me to keep two current directories, issue the most common commands faster, automatically browse directories I'm in in various modes, and automatically insert filenames in what's a more visual and sophisticated version of tab completion (just not with tab).
>>96
I like it, but it's really a toy OFM when compared to the big guys such as FAR Manager; it's not even average for a non-GUI OFM. How would I love (and pay for) a GNU/Linux OFM that's just 75% as good and capable as FAR, supports Alt completion and the rest of the keys can all be customized.
>>111
entering characters that aren't shouldn't be possible at all, since they don't exist. also, the second clause in your post is incomplete (doesn't contain a verb).
Name:
Anonymous2008-11-25 1:40
>>112
Your English parser sucks. Also, using `accents´ in place of the apostrophe is ̔strongly discouraged ̕.
>>120
There is. It was such shit that not even the guy who programmed it wanted it and even wikipedia wants it dead.
http://en.wikipedia.org/wiki/Pysh Pysh is a Python shell no longer maintained by the owner, who also does not recommend it. Specifically, it is a user shell inspired by Unix Shells such as Bash.
It is proposed that this article be deleted because of the following concern: Unremarkable software, WP:NSOFTWARE
Name:
Anonymous2013-01-11 16:54
If you aren't using zsh then you need to kill yourself.
>>122 zsh is part of the panoply of the perfect little faggot. Use this:
- OS: OSX or Arch Linux
- shell: zsh
- programming language: Python or Ruby or Javascript
- text editor: Textmate or vim
- version control git
Now post your dotfiles on Github, blog about them with octopress, share your posts on Hacker Jews and you're ready for Kikestarter!
Name:
Anonymous2013-01-11 18:49
>>124
Go fuck yourself, you shitstain little faggot. An idiot like you could never understand how perfect zsh is.
Name:
Anonymous2013-01-11 19:07
>>125
Did >>124 described your ``perfect'' environment accurately?
Name:
Anonymous2013-01-11 19:25
>>126
No. Other than the obvious zsh and vim he got absolutely nothing right. You can fuck off too.
Name:
Anonymous2013-01-11 23:23
- OS: Windows 8 ENTERPRISE Edition
- shell: cmd
- programming language: Java, C# and Visual Basic
- text editor: Visual Studio .NET 2012 Business Edition
- version control: TortoiseSVN Premium Pro
Name:
Anonymous2013-01-12 1:16
>>128
You don't use powershell and Team Foundation? Holy shit you're stupid.
Is there a reason to switch from bash? 99% of anything possible with a shell is possible with it. If I'm going to switch, might as well just go to perl or that LISP shell I keep hearing about.
Name:
Anonymous2013-01-12 21:15
>>131
zsh has amazing autocompletion, that's the only reason I use it.
LISP shell? Fuck I want to see that. I'm tired of retarded bash constructs like ((())) for arithmetic (what the fuck man) or [[ ]] and [ ] being syntactically different.
Name:
Anonymous2013-01-13 1:40
I doubt zsh's autocompletion is as amazing as my dubs.