Sponsored Content
Top Forums UNIX for Dummies Questions & Answers color in emacs... when ssh-ing to my FreeBSD box Post 6279 by xyyz on Sunday 2nd of September 2001 09:11:44 AM
Old 09-02-2001
Quote:
Originally posted by PxT
Lets narrow things down: does color work at the command line? (not sure if FreeBSD supports color ls?) Try the following:

echo ^[[34mhello^[[37m

(where the sequence ^[ is produced by hitting ctrl-v then escape)

You should get the word hello printed in blue if your terminal supports color.
thanks for your help... and I applogize for my late response...
okay, I did what you told me to do... and yes the word "hello" did appear in blue... and my prompt changed to a very light grey.

mind you ... I did this from my freebsd console in KDE... I dunno if that makes a difference.
xyyz
 

8 More Discussions You Might Find Interesting

1. Red Hat

ssh-ing to port 80.

i am using redhat 8.0 and trying to connect to my local port 80 to run some HTTP. i know this can easily be done with telnet localhost 80, however telnet is not running, ssh is. ssh localhost -p 80 gives me a "Connection refused" error. i've been trying to find out more information on the web,... (3 Replies)
Discussion started by: effigy
3 Replies

2. UNIX for Dummies Questions & Answers

Emacs color syntax highlighting

So... i cant get it to work. I had already posted this but it got deleted. Details: Im running SSH shell on Windows XP, connecting to a server whose term is vt100 (someone asked me that last time) Im trying to get the syntax highlighting in cc mode to work in color, but its black and... (0 Replies)
Discussion started by: viejid
0 Replies

3. UNIX for Advanced & Expert Users

Access files from prev box after SSH to another box

i'm not much of an advanced unix programmer but I'm trying to write a script to access files on box1 after ssh from box 1 to box2. when ssh is invoked in the script i'm getting logged into box2 and losing complete touch with box1 which is normal i guess. but my main aim with my script is when i... (3 Replies)
Discussion started by: pharos467
3 Replies

4. OS X (Apple)

Emacs set-cursor-color in iTerm problem

Hi I'm trying to customise emacs to work within iTerm (I've aliased emacs = emacs -nw so it runs inside my shell) but I can't get the 'set-cursor-color' to work. I have the following in my .emacs file: (set-cursor-color "LightSkyBlue") ... (0 Replies)
Discussion started by: pepperjacl
0 Replies

5. Shell Programming and Scripting

grep'ing and sed'ing chunks in bash... need help on speeding up a log parser.

I have a file that is 20 - 80+ MB in size that is a certain type of log file. It logs one of our processes and this process is multi-threaded. Therefore the log file is kind of a mess. Here's an example: The logfile looks like: "DATE TIME - THREAD ID - Details", and a new file is created... (4 Replies)
Discussion started by: elinenbe
4 Replies

6. UNIX for Dummies Questions & Answers

Public Key Authentication over SSH and Sudo-ing Implementation

Hi, We are currently implementing an Identity Management application which has several Unix systems as its target system. A pre-defined connector will be installed to provide connection between the Identity Management application and the Unix target system. The connection will use Public Key... (1 Reply)
Discussion started by: tristanD
1 Replies

7. Red Hat

cannot ssh (use NFS) on RHEL box, but can mount external & ssh out of RHEL box

Ok, Im trying to get NFS working on my RHEL 5 box, apparently i can use the box as a client, but not as a server. If it helps i cant ssh into the box (server), but as a client ssh works fine. Ive configured server: /etc/hosts.allow: all : all all :all@all setup my /etc/exports file... (4 Replies)
Discussion started by: drs.grid
4 Replies

8. UNIX for Dummies Questions & Answers

How to use emacs? Also how to open existing emacs files with .cgi format?

Hi All, I am new to this forum and a beginner in unix. Please correct me if I put the question in a wrong way.. How to use emacs editor? Also how to open existing emacs files with .cgi format? I have the following link :- http link i.e. url and path : /abc/xyz.dev/xyz/documents What... (7 Replies)
Discussion started by: swathi123
7 Replies
XTERMSET(1)						      General Commands Manual						       XTERMSET(1)

NAME
xtermset - change settings of an xterm SYNOPSIS
xtermset [-option ...] DESCRIPTION
xtermset allows you to change the characteristics of an xterm window from the command line. Most options have the same names as those that you would give xterm at startup. OPTIONS
-store [<filename>] This option will save all the other command line options given to the filename. If filename is omitted then the options will be written to ~/.xtermsetrc. -default [<filename>] This option will load options from the specified filename. If the filename is omitted then the options will be loaded from ~/.xtermsetrc. Options specified on the command line preceed those that are in the options file. -f, -force xtermset normally checks if you are using it on a correct terminal (xterm (derivative) or dtterm (derivative). With this option you can override this checking. -T string, -title string Sets the window title. -n string Sets the icon name. -fg color Sets the VT100 foreground color. -bg color Sets the VT100 background color. -mousefg color Sets the mouse pointer foreground color. -mousebg color Sets the mouse pointer background color. -tekfg color Sets the Tektronix emulation window foreground color. -tekbg color Sets the Tektronix emulation window background color. -cr color Sets the text cursor color. -hc color Sets the color for highlighted (selected) text. -fn font-spec, -font font-spec Sets the font. -geom geometry-spec, -geometry geometry-spec Sets the window size and position; see X(1) for details. FILES
~/.xtermsetrc SEE ALSO
bash(1), xterm(1), X(1) BUGS
-geom does not support offsets from the left or bottom of the screen. If the geometry-spec isn't in the correct format, the output will be strange. AUTHORS
Breyten Ernsting (bje@dds.nl) Decklin Foster (decklin@home.com) User Commands Dec 2000 XTERMSET(1)
All times are GMT -4. The time now is 10:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy