DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 11th May 2008
rex rex is offline
Real Name: Nikhil Rathod
Shell Scout
 
Join Date: May 2008
Location: Chicago
Posts: 114
Default terminal software for freebsd

Can anyone suggest good terminal software for freebsd somethibg like terminal of gnome or kansol of KDE. I'm using fluxbox and dont have any desktop env installed.

Right now I'm using xterm, but I dont like it as there is no auto complete support for commands for non root users, or is there a way to enable this.
Reply With Quote
  #2   (View Single Post)  
Old 11th May 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

I'm using fluxbox on this workstation with aterm installed, it works rather well..



My menu entry, "[exec] (Terminal) {aterm -trsb -sr -sh 50 -title Terminal}"

Last edited by BSDfan666; 11th May 2008 at 04:15 AM.
Reply With Quote
  #3   (View Single Post)  
Old 11th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Quote:
Right now I'm using xterm, but I dont like it as there is no auto complete support for commands for non root users, or is there a way to enable this.
ugh?

I think you are confusing the shell and terminal emulator.
Basically, a terminal just prints text, nothing more.
A shell is what allows you to input commands.

Are you using tcsh? Here are a few nice options to put in /etc/csh.cshrc, which is the systemwide startup file, there are many more options, see tcsh(1) for more information.

Code:
set autolist            # Show options when autocompleting
set prompt = "[%~]%# "  # Show current dir.
set rprompt = "%m:%T"   # Show date&hostname on right side
set promptchars="#R"    # Use # for normal user and R for super
set autoexpand          # Use history to aid expansion
set nobeep              # Don't beep
set printexitvalue      # Print exit value if >0
set filec               # file completion
set rmstar              # Ask for confermation is we do rm *
set history = 1024      # Keep 1024 items in history
set savehist = 1024 merge       # Save history
set listjobs            # List all jobs after ^Z

alias ls        'ls -GFI'
alias la        'ls -GFIa'
alias lc        'ls -GFlThoI'
alias lac       'ls -GFlThoaI'

alias helpcommand man

bindkey ^[[3~   delete-char
bindkey ^[[H    beginning-of-line
bindkey ^[[F    end-of-line
bindkey ^[[M    run-help
bindkey ESCOP   run-help
bindkey -k up history-search-backward
bindkey -k down history-search-forward
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #4   (View Single Post)  
Old 11th May 2008
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 320
Default

you can use ZSH
Reply With Quote
  #5   (View Single Post)  
Old 11th May 2008
Grogan's Avatar
Grogan Grogan is offline
Port Guard
 
Join Date: May 2008
Location: Ontario, Canada
Posts: 23
Default

I like rxvt myself, I've been using it for many years, ever since my first Slackware Linux install. It's available in ports. It's very lightweight, and uses very little CPU time while scrolling. (unlike konsole or that horrid gnome terminal)

I use the following command in shortcuts or menu entries to launch a really nice looking rxvt terminal:

rxvt -bg black -cr green -fg white -fn 9x15 -sl 1000

Reply With Quote
  #6   (View Single Post)  
Old 11th May 2008
18Googol2's Avatar
18Googol2 18Googol2 is offline
Real Name: whoami
Spam Deminer
 
Join Date: Apr 2008
Location: pwd
Posts: 283
Default

Couldnt be happier with zsh and gnome-terminal. I quitted using gnome long time ago because its too bloated but I have to say gnome-terminal is pretty good with the multi tab and copy & paste feature.

Zsh with the auto complete feature is excellent.

http://img233.imageshack.us/img233/6...erminalky8.png
__________________
The power of plain text? It can control an entire OS

Last edited by Carpetsmoker; 11th May 2008 at 07:28 AM. Reason: rm image
Reply With Quote
  #7   (View Single Post)  
Old 11th May 2008
rex rex is offline
Real Name: Nikhil Rathod
Shell Scout
 
Join Date: May 2008
Location: Chicago
Posts: 114
Default

my bad. I mean terminal emulators.


Quote:
Originally Posted by Carpetsmoker View Post
ugh?

Here are a few nice options to put in /etc/csh.cshrc, which is the systemwide startup file, there are many more options
I tried these. They work fine for root but not for normal user.
Reply With Quote
  #8   (View Single Post)  
Old 11th May 2008
18Googol2's Avatar
18Googol2 18Googol2 is offline
Real Name: whoami
Spam Deminer
 
Join Date: Apr 2008
Location: pwd
Posts: 283
Default

Quote:
Originally Posted by rex View Post
I tried these. They work fine for root but not for normal user.
It needs to be located in the user home directory and with proper permission, of course
__________________
The power of plain text? It can control an entire OS
Reply With Quote
  #9   (View Single Post)  
Old 11th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Are you using tcsh?
You can see the shell you're using with:
> echo $SHELL

/etc/csh.cshrc also works, make sure the file is readable for all users (chmod a+r) and ofcourse restart your shell (exec tcsh).
But if you want you can also use ~.tcshrc
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 11th May 2008
rex rex is offline
Real Name: Nikhil Rathod
Shell Scout
 
Join Date: May 2008
Location: Chicago
Posts: 114
Default

Right now I'm using /bin/sh.

Which one you guys suggest for me who is not that pro with freeBSD.

I just changed to tcsh and it is working fine i.e. all the options that I added are working. Now i just need to figure out how to change it parmanently, fount nothing in .profile and .shrc. any suggestions

thanks

Last edited by rex; 11th May 2008 at 02:52 PM.
Reply With Quote
Old 11th May 2008
richardpl richardpl is offline
Spam Deminer
 
Join Date: May 2008
Location: Croatia
Posts: 284
Default

I prefer xterm:
Code:
xterm -geometry 80x25 -s -vb -si -sk -j -sl 5000 -fg \#0f0 -bg black -fn YourFavoriteFont
Reply With Quote
Old 11th May 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

Quote:
Originally Posted by rex View Post
Right now I'm using xterm, but I dont like it as there is no auto complete support for commands for non root users, or is there a way to enable this.
Mate you must understand first that terminal emulator is not the app that is responsible for tab completion, terminal emulator is only about displaying the results of your SHELL, I think that you need to enable completion in your shell.

For CSH it is set filec and set autolist options in ~/.cshrc and I also admit using set nobeep to disable that annoying beep

You may also change your shell for ZSH or BASH if you feel more comfortable with them.
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
Old 11th May 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

I used to collect terminal emulators and have generally found them all more or less the same for common usage. The rest breaking down into pseudo/real transparency and tabbed environments as that 'extra some thing' to look for.


I use urxvt on my laptop but konsole is generally the best terminal emulator for the ease of configurability if your not familiar with X. xterm, rxvt, aterm, eterm, konsole, gnome-terminal, and so on... All generally work fine.


Shells I've also collected (along with window managers) when I had time.


tcsh, bash, or zsh would probably serve you best (tcsh == comes with FreeBSD, bash== standard issue for linux, bash & zsh == need to be installed on FreeBSD before usage).


I personally use zsh because I find it more to my liking then Korn, and considerably more Borne like then my fateful tcsh ;-)



Quote:
There is no DOSKey, there is only SHELL.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
Old 11th May 2008
scottro's Avatar
scottro scottro is offline
Real Name: Scott Robbins
ISO Quartermaster
 
Join Date: Apr 2008
Location: NYC
Posts: 652
Default

I use mlterm on FreeBSD. Of course, I have a page about it. http://www.scottro.net/qnd/qnd-mlterm.html

On Linux I tend to use urxvt. I need the unicode ability, which leaves out mrvxt, a very nice terminal otherwise. Aterm also lacks utf-8, and last time I tried it, didn't have any support for Japanese. Otherwise, it's a nice terminal.
Reply With Quote
Old 11th May 2008
hydra's Avatar
hydra hydra is offline
Port Guard
 
Join Date: May 2008
Location: Slovakia (Europe)
Posts: 41
Default

I use xterm because it's very fast and Eterm because of regional characters.
Reply With Quote
Old 11th May 2008
harisman's Avatar
harisman harisman is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Hellas (Greece)
Posts: 66
Default

I also use xterm because is the fastest and the most stable terminal. I haven't any problem with the regional characters (Greek), you must install and use the correct font.
On my .Xdefaults I have:

XTerm*faceName: lucidaconsole
XTerm*faceSize: 10

I also use the below in .cshrc (I use tcsh) in order to print the prompt on the xterm title bar too:

if ($TERM == "xterm") then
set prompt="%{\033]0;%n@%m:%~\007%}%h:%n@%m\:%~\% "
else
set prompt="%h:%n@%m\:%~\% "
endif

Last edited by harisman; 11th May 2008 at 06:56 PM.
Reply With Quote
Old 11th May 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

Quote:
Originally Posted by rex View Post
I tried these. They work fine for root but not for normal user.
By default, root's shell is set to tcsh, and normal users' shell is set to sh. You can't use tcsh settings in sh, and vice versa. Read the man pages for sh(8) and tcsh(8) for the correct syntax to use for each.

Or change the shell of the normal user.

Or install a different shell (like zsh) from the ports tree, and use that. (But never change root's shell).
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
Old 11th May 2008
rex rex is offline
Real Name: Nikhil Rathod
Shell Scout
 
Join Date: May 2008
Location: Chicago
Posts: 114
Default

Thanks guys

I used chsh to change my shell to tcsh. Now every thing is working great thanks to all once again.
Reply With Quote
Old 11th May 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

As for the shell I'm using, /bin/ksh OpenBSD's local pdksh is better then all others, no use arguing about it.
Reply With Quote
Old 11th May 2008
scottro's Avatar
scottro scottro is offline
Real Name: Scott Robbins
ISO Quartermaster
 
Join Date: Apr 2008
Location: NYC
Posts: 652
Default

Ok, BSDfan66, that one was funny. (Not that I'm arguing mind you). It was what a friend of mine calls C&C Coffee and Cats because if you are drinking coffee when you laugh, it spurts out over the monitor and keyboard and if a cat is sleeping on your lap, and you suddenly laugh, they tend to get startled and leap off, digging in their hind claws for purchase as they leap.

As for not changing roots shell, there's a little post on bsdforums--I'm too lazy to copy it over here. Just do a search on bsdforums for root toor
Reply With Quote
Reply

Tags
terminals

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: Encoding // Pure Terminal // Virtual Terminal vermaden Guides 1 25th June 2010 08:02 AM
Manpage colorization on the terminal JMJ_coder NetBSD General 2 17th February 2009 09:17 PM
netbsd terminal error jaideep_jdof NetBSD General 1 22nd November 2008 12:50 AM
Favorite Terminal Emulator JMJ_coder General software and network 23 5th November 2008 06:30 PM
terminal darken FreeBSD General 8 18th July 2008 07:12 PM


All times are GMT. The time now is 11:57 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick