Commit Graph

64 Commits

Author SHA1 Message Date
Prasad Joshi
642eeda1c1 Turn on the coloring with <ef>grep (ticket #9044)
All grep versions have the ability to display a colored
output. The patch turns on coloring in auto mode.

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2012-10-05 20:00:04 +02:00
Prasad Joshi
4fd62caa9a bash_profile: set ls color alias to auto
ls --color emits the color code irrespective of whether it is being
attached to terminal or not. Which might result in color codes being
added to file upon redirection.

auto option with ls --color emits the color codes only the output is
attached to terminal, otherwise the colors are turned off.

Fixes #8993.

Signed-off-by: Ryan Leavengood <leavengood@gmail.com>
2012-10-03 15:23:57 -04:00
Oliver Tappe
98057dd02a Adjust /bin/locale to print time-related locale, too.
* add support for printing the time-related locale (which may contain
  a '@strings=messages' suffix if required by locale configuration
* adjust cmdline params of /bin/locale to be a bit clearer (but keep
  support for -c for compatibility)
* adjust /etc/profile to invoke /bin/locale accordingly
2012-02-23 23:15:36 +01:00
Ryan Leavengood
ff37608cc3 Remove unneeded LC_ environment variables which are glibc extensions not
supported by Haiku's locale system. Thanks Oliver.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-09 17:25:22 +00:00
Ryan Leavengood
83a30ba91e Implement #7495 as per Matt and Ingo's suggestions.
The various LC_ environment variables (as well as LANG) are set in
/etc/profile, based on the output of this new simple bin command locale.
LANG and LC_CTYPE are set based on the first preferred language, whereas the
formatting variables are all set based on the formatting conventions language.

The list of LC_ variables are from the locale command on Linux.

Based on my testing, at least the date command obeys these variables.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-07-09 04:29:20 +00:00
Brecht Machiels
4a135b33b7 * upgraded bash_completion to v1.3
* upgraded to subversion bash completion script shipped with subversion 1.6.17
* added git bash completion script shipped with git 1.7.5.4
* readded bash completion to the image

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-06-19 21:19:36 +00:00
Ingo Weinhold
e4a4fcc9fb Moved definitions of the USER and GROUP environmental variables from
SetupEnvironment to /etc/profile and use the "id" command. No need to set
SHELL, since the shell sets it anyway. Fixes #5966.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-11 14:55:23 +00:00
Matt Madia
75d1bce8d7 * Removed vimrc from the repository as per #5699
* Updated vim & KeymapSwitcher optional packages, provided by siarzhuk.
To note, I did not remove the 'vi' symlink creation as I'm uncertain as
to whether or not any unknown applications are hardcoded to use it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-08 19:11:45 +00:00
Ingo Weinhold
2dbf8cd728 Source SetupEnvironment with the more portable ".".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 18:15:41 +00:00
Ingo Weinhold
f1a61cda9a Typo-fixed patch by mjw: Include SetupEnvironment from /etc/profile, so
shells started by remote login daemons (sshd, telnetd) also get the
environmental variables defined there. Closes #5789 and #2468.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-29 16:47:05 +00:00
Axel Dörfler
51576592ed * This more or less fixes bash's UTF-8 support, and closes ticket #215.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-20 10:33:13 +00:00
Axel Dörfler
c6106a595d * Fixed bug in "fortune" that would let it crash if you'd point it to an empty
directory.
* Moved fortune files to "data/system/data" in the repository, and /system/data/
  in the file system.
* Got teapot.data location wrong in the repository.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 13:09:32 +00:00
Axel Dörfler
0491552bc3 * Moved the "fonts" directory into the "data" directory.
* Moved fonts to where they belong.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 12:30:06 +00:00
Axel Dörfler
126fd25b7a * Moved teapod.data from /etc to B_SYSTEM_DATA_DIRECTORY.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 11:08:14 +00:00
Axel Dörfler
417ba86ea2 * Applied patch by "v"/olaf that adds a missing line. This closes bug #4771.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-14 12:35:21 +00:00
Jérôme Duval
dcb2c6fa97 updated DejaVu fonts to to 2.30
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-13 10:26:34 +00:00
Michael Lotz
d280260742 Add export to our default profile to ignore duplicate history entries.
Fixes enhancement #4156.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-29 23:49:16 +00:00
Jérôme Duval
9587a788d2 added subversion bash_completion from http://svn.collab.net/repos/svn/trunk/tools/client-side/bash_completion r37847
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-22 18:06:02 +00:00
Axel Dörfler
9532f6844f * Removed the "cd" to home in /etc/profile, made sure that Tracker/Deskbar are
started from /boot/home. This closes ticket #3090.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-08 14:29:29 +00:00
Jérôme Duval
d8c0f241b7 removed non applicable completion (linux, bsd)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-18 14:22:28 +00:00
Jérôme Duval
07a283fec3 * added bash_completion 20060301, it should be cleaned up.
* enable bash_completion loading in etc/profile. this fixes on the second part #2886.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-17 22:05:11 +00:00
Axel Dörfler
a6354157ca * Moved some stuff in data/etc/ to data/system/data because that's where
they now end up in the image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 14:55:59 +00:00
Stephan Aßmus
000fe088a7 Patch by Ma Jie: Basically - make Poorman (the webserver) work. Libhttpd from
Jef Poskanzer is providing the backend, but had to be adopted in some ways.
Other issues in Poorman have been resolved.

When testing the license integration, I stumbled over some AboutSystem bugs,
basically clicking licenses would not open them. I fixed those in this patch,
sorry for mixing that up.

Note to Ma Jie: I changed the encoding of the libhttpd files to UTF-8!
(This affects only the (C) glyph.) Thanks a lot for your awesome work on
Poorman, it's really appreciated!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-04 21:03:19 +00:00
Axel Dörfler
f70cad5cf8 * Added "shopt -s checkwinsize" to our /etc/profile. This fixes bug #2514,
thanks Adrian!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-12-03 21:23:04 +00:00
Ingo Weinhold
162fecef46 Added GNU GPL version 1 and Perl's version of the Artistic license.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-29 01:27:49 +00:00
Ingo Weinhold
9b0eb8c8f4 Removed "lal" alias and added "-A" to "ll" instead.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-16 21:34:15 +00:00
Ingo Weinhold
1352fb0975 Added GNU LGPL v2.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-29 22:33:32 +00:00
Ingo Weinhold
9d53445aa2 Added some more licenses.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-27 19:28:36 +00:00
Axel Dörfler
959ff00dde * Removed Bitstream Vera fonts, they are replaced by the DejaVu ones.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-14 11:16:12 +00:00
Jérôme Duval
b06a48ab8f updated DejaVu fonts to to 2.26
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-08-17 22:41:03 +00:00
Fredrik Modeen
c9060eb991 Beginning of joystick definition files
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-07-12 12:37:45 +00:00
Ingo Weinhold
5ef3587ee7 Enable word navigation in readline based programs (bash most notably).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-20 01:34:33 +00:00
Ingo Weinhold
539903c55b * Added /etc/sysless with settings to make backspace work correctly in
less.
* Added /etc/vim/vimrc. Besides fixing key mappings it also disables
  compatibility mode and adjusts some settings to make using vi a more
  pleasant experience.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-19 14:32:25 +00:00
Ingo Weinhold
f0d8960faa Removed superfluous entries and map the correct delete key string.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-19 14:26:32 +00:00
Ingo Weinhold
96490327ca Removed superfluous and wrong (history forward and backward search was
swapped) key bindings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-19 14:25:26 +00:00
Ingo Weinhold
079eccf655 Removed data/etc/termcap. We use termcap.src from src/libs/termcap/
instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-16 22:18:39 +00:00
Ingo Weinhold
46f2d5ea88 Moved /etc/post_install to /boot/common/boot and the fresh_install marker
file to /boot/common/settings. Repackaged OpenSSH accordingly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-06 22:47:38 +00:00
Ingo Weinhold
b2c7de8230 Reactivated the "fresh install" code in the Bootscript, but modified it
a bit:
* Added directory /etc/post_install, which can contain scripts that will
  be executed on the first boot.
* Moved the mimeset invocations to such a script. Use the "-apps"
  option instead of "-all". Since create_app_meta_mime() (and thus
  mimeset) work recursively now, running the commands does actually have
  an effect.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-04 13:10:42 +00:00
François Revol
0dacda17d5 A space after the prompt really helps selecting only the command with double-click in Terminal.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-26 15:56:01 +00:00
Ingo Weinhold
425b1199b0 I don't know, if that makes is less almost-ksh compatible, but whence
(aka which) now returns 1 when it cannot find a specified command.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-26 00:50:21 +00:00
Ingo Weinhold
d2e1e87261 Added some licenses. All licenses of third party software we include in
the standard image should go here. Including our own...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-19 15:40:01 +00:00
François Revol
4d49ac789d Added my most used aliases: m=more and lal=ls -lA.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-25 13:19:29 +00:00
Axel Dörfler
a381c8a063 Added more or less standard aliases for "ls -l" (ll) and "ls -A" (la).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-25 12:52:16 +00:00
Axel Dörfler
1b8f7f13a3 * Added PackageInstaller to the image.
* Added an inputrc to the image that should have the same effect as the recent
  bash readline default changes for other apps that use readline.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-14 13:52:42 +00:00
Jérôme Duval
5851156445 updated DejaVu fonts to to 2.19
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-08 20:07:40 +00:00
Jérôme Duval
b028e77473 Updated to version 21 of the Konatu font.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-08-08 20:06:38 +00:00
Jérôme Duval
be3db2942c it seems Termcap doesn't handle %p1 correctly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-26 21:12:59 +00:00
DarkWyrm
8f67ee51b8 Added boot-time haikus from the wiki to the file. Thanks to Urias for this one. :^)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-05 11:41:18 +00:00
DarkWyrm
e1a23ec095 Initial checkin of haikus taken from BeDoper contest
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-05 01:44:30 +00:00
DarkWyrm
3bf2d61a46 Adding reworked fortunes from the Fortuna fortune pack
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-04 22:22:29 +00:00