View previous topic :: View next topic |
Author |
Message |
rhill Retired Dev
Joined: 22 Oct 2004 Posts: 1629 Location: sk.ca
|
Posted: Mon Nov 29, 2004 10:20 am Post subject: |
|
|
probably bash 3.0
that thing is all kinds of crazy. _________________ by design, by neglect
for a fact or just for effect |
|
Back to top |
|
|
Mistobaan Tux's lil' helper
Joined: 07 May 2004 Posts: 76
|
Posted: Mon Nov 29, 2004 10:45 am Post subject: |
|
|
Added to my .bashrc _________________ God is real until declared integer |
|
Back to top |
|
|
I1 n00b
Joined: 13 Sep 2004 Posts: 7
|
Posted: Tue Dec 14, 2004 8:33 pm Post subject: Re: The Non-Annoying Terminal Mini How-To & Fun with sho |
|
|
tomchuk wrote: |
To make this system-wide add it to /etc/profile as root:
Code: | echo -e 'if [ "$SHELL" = "/bin/bash" ]\nthen\nshopt -s checkwinsize\nfi' >> /etc/profile |
|
Yes, that did it!!!
Thanks tomchuk, this really annoyed the heck out of me!
Shouldn't someone put this in the standard /etc/profile in sys-apps/baselayout?
It took me quite a while to find this fix....
Thx,
Iwan. |
|
Back to top |
|
|
Shemite_Dog n00b
Joined: 22 Jul 2003 Posts: 35 Location: Hailing from parts unknown!!
|
Posted: Wed Dec 15, 2004 5:43 am Post subject: |
|
|
Excellent, this had been annoying me for a long time
Speaking of annoying, sometimes I get corrupted shell fonts after cat-ing a device driver. Everything turns into miscellaneous symbols. There is a way to restore things (I read this in a post a long while back) but I cannot for the life of me find this old post anymore or remember what was the solution. Does anyone know how to fix this? _________________ "Mr. Mc Cluck Cluck!" |
|
Back to top |
|
|
ahubu Guru
Joined: 16 Aug 2003 Posts: 400 Location: Groningen, The Netherlands
|
Posted: Wed Jan 19, 2005 10:00 pm Post subject: |
|
|
Shemite_Dog wrote: |
Speaking of annoying, sometimes I get corrupted shell fonts after cat-ing a device driver. Everything turns into miscellaneous symbols. (...) Does anyone know how to fix this? |
Yes, you just have to type this command in the garbled term:
You have to trust your own typing skills, because you can't see what you type. _________________ Anne // Light travels faster than sound. That's why people appear bright until
you hear them speak. -Unknown |
|
Back to top |
|
|
jmanning n00b
Joined: 22 Oct 2003 Posts: 27
|
Posted: Wed Jan 19, 2005 10:32 pm Post subject: |
|
|
My new favorite is CDPATH
Code: | export CDPATH=".:~:/:/usr/portage:/my/src/dir/" |
Then, from anywhere:
Code: |
$ cd etc
/etc
$ cd .ssh
~/.ssh
$ cd app-shells
/usr/portage/app-shells
|
It even does completion: cd <TAB> |
|
Back to top |
|
|
ahubu Guru
Joined: 16 Aug 2003 Posts: 400 Location: Groningen, The Netherlands
|
Posted: Wed Jan 19, 2005 10:57 pm Post subject: |
|
|
Wow CDPATH sure is mighty hefty, but confusing too... I am still dubbing whether I shall use it or not... this may introduce some serious human error increase... no more blindly directory-tab-completing _________________ Anne // Light travels faster than sound. That's why people appear bright until
you hear them speak. -Unknown |
|
Back to top |
|
|
thebigslide l33t
Joined: 23 Dec 2004 Posts: 792 Location: under a car or on top of a keyboard
|
Posted: Fri Feb 18, 2005 7:27 am Post subject: |
|
|
ahubu wrote: | Shemite_Dog wrote: |
Speaking of annoying, sometimes I get corrupted shell fonts after cat-ing a device driver. Everything turns into miscellaneous symbols. (...) Does anyone know how to fix this? |
Yes, you just have to type this command in the garbled term:
You have to trust your own typing skills, because you can't see what you type. |
Holy smokes. I've been rebooting to fix this for years |
|
Back to top |
|
|
keykeen n00b
Joined: 31 Jan 2005 Posts: 44 Location: Athena
|
Posted: Sat Apr 02, 2005 5:50 am Post subject: |
|
|
Hi,i follow the step,
the bash can check the window size,
but the line still wraps in one line.
even if i start shell without run any app. _________________ Nothing for happy. |
|
Back to top |
|
|
Sir No Apprentice
Joined: 01 May 2005 Posts: 159 Location: Poland
|
Posted: Mon May 02, 2005 9:15 pm Post subject: |
|
|
ahubu wrote: | Yes, you just have to type this command in the garbled term:
You have to trust your own typing skills, because you can't see what you type. |
But if you happen to use a Linux installation where there's no reset command... Then you can try this:
Read the Linux Gazette issue 5, issue 6 and issue 7 to get a wider picture. _________________ The geeks | Recommended Packages fOr Desktop & Server | Read BBCode Guide! |
|
Back to top |
|
|
bravecobra Tux's lil' helper
Joined: 26 Dec 2002 Posts: 130 Location: Planet Earth (sometimes)
|
|
Back to top |
|
|
raccoon n00b
Joined: 28 Apr 2004 Posts: 36 Location: Wonderland
|
Posted: Tue Aug 23, 2005 9:23 pm Post subject: |
|
|
thebigslide wrote: | Holy smokes. I've been rebooting to fix this for years :D |
Hah, I second that! _________________ Adopt an unanswered post! |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Sat Dec 30, 2006 1:05 pm Post subject: |
|
|
Great post! _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
|