Go Back   DaemonForums > Miscellaneous > General software and network

General software and network General OS-independent software and network questions, X11, MTA, routing, etc.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 12th February 2009
JMJ_coder JMJ_coder is offline
VPN Cryptographer
Join Date: May 2008
Posts: 464
Default CSH 'mch' variable?

In the default .cshrc that comes with NetBSD, there is a variable called 'mch', that is set: set mch = `hostname -s`

I have no idea what that is or for. I have looked through the man pages, google, books, I can't seem to find a reference for it. I notice that the next line is set prompt = "${mch:q}: {\!} ", so is 'mch' a made-up variable name that is only meant to help set the default prompt?
And the WORD was made flesh, and dwelt among us. (John 1:14)
Reply With Quote

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
Python: Use the value of a variable for calling another variable Carpetsmoker Programming 13 5th April 2009 05:53 PM
Using Date variable? cwhitmore FreeBSD General 9 13th August 2008 07:16 AM

All times are GMT. The time now is 08:56 AM.

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