From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Josiane Tack Newsgroups: gmane.os.tru64.managers Subject: SUMMARY : console Date: Tue, 06 May 2003 10:58:00 +0200 (CEST) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <200305060858.h468w0Nx022881@babouin.dstu.univ-montp2.fr> Reply-To: Josiane Tack NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Trace: main.gmane.org 1052211444 14635 80.91.224.249 (6 May 2003 08:57:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 6 May 2003 08:57:24 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue May 06 10:57:23 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19CyGI-0003nt-00 for ; Tue, 06 May 2003 10:57:22 +0200 Original-Received: (qmail 17124 invoked by uid 5); 6 May 2003 08:58:22 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 17115 invoked by uid 49493); 6 May 2003 08:58:21 -0000 Original-Received: from Josiane.Tack@dstu.univ-montp2.fr by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-0.1/5.0):. Processed in 2.390665 secs); 06 May 2003 08:58:21 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 6 May 2003 08:58:18 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HEG00J58JL598@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 06 May 2003 04:58:17 -0400 (EDT) Original-Received: from babouin.dstu.univ-montp2.fr (mailhost1.dstu.univ-montp2.fr [162.38.140.193]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HEG00B8EJKA51@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 06 May 2003 04:57:47 -0400 (EDT) Original-Received: from babouin (babouin [162.38.140.193]) by babouin.dstu.univ-montp2.fr (8.12.9/jtpda-5.4) with SMTP id h468w0Nx022881 for ; Tue, 06 May 2003 10:58:00 +0200 (CEST) Original-To: tru64-unix-managers@ornl.gov X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.5 SunOS 5.9 sun4u sparc Content-MD5: wzvAyKqd62E5cewHxz68OQ== Xref: main.gmane.org gmane.os.tru64.managers:4134 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4134 Hello, my question was: >Hello, > >I have a short question , and perhaps an easy question, sorry! >On one of station (tru64 unix v5.1a) the message on the screen befort >login is > >Welcome to %localhost% > >Please enter your user name > >on the others station the login message is > >Welcome to arthur >Please enter your user name > >arthur is the name host ... > >what is wrong is the first example, please > >Best Regards, > >Josiane Tack My thanks for replies go to Jay Leafey, Oisin McGuinness, Collins Robert The answers talk about /etc/issue and /etc/issue.net. These files contain the text displayed before the login prompt, but I have no /etc/issue or /etc/issue.net in my host configuration... The other file where modified prompt is possible, is /etc/gettydefs but I can see difference in this file between two stations with the same OS ... The definition of my hostname in the prompt seems to be in this line: console# B9600 HUPCL CS8 CLOCAL IXON OPOST ONLCR # B9600 SANE IXANY TAB3 CLOCAL #\r\n\r\n%v (%h) %t\r\n\r\n\rlogin: #console and specialy %h: the hostname variable but I don't anderstand why this variable is wrong... I try by myself a solution with CDE environnement I insert in /usr/dt/config/C/Xresources this line: Dtlogin*greeting.labelString: Welcome to KEVIN !!###################################################################### !! !! GREETING !! !! Dtlogin*greeting.foreground: black !! Dtlogin*greeting.background: #a8a8a8 Dtlogin*greeting.labelString: Welcome to KEVIN !! Dtlogin*greeting.persLabelString: Welcome %s !! Dtlogin*greeting.alignment: ALIGNMENT_CENTER It is not a resolution of the problem in fact, but the result is good when I see the console log! Best Regards, Josiane Tack --------------------------------------------------------------------- Josiane Tack E-Mail: Josiane.Tack@dstu.univ-montp2.fr --------------------------------------------------------------------