You are not logged in.

#26 2008-08-20 05:43:47

Thoht
Member
From: Sweden
Registered: 2008-02-02
Posts: 75

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

Daenyth wrote:
Thoht wrote:

I'm messing around with /etc/issue, but can't make it display colours. I tried both this:

I have a feeling that you're typing '^[' by hand. It's not those two characters, it's a special non-printing character. You can get it by doing ctrl+V, ctrl+[

I have absolutely no idea what that means, but now it works, thanks!


Credit to KiwiesRuleXD @ DeviantArt for the avatar.

Offline

#27 2008-08-20 06:04:04

Thoht
Member
From: Sweden
Registered: 2008-02-02
Posts: 75

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

Hey... is it possible to edit the login prompt too? E.g. instead of "hostname login: ", "Username: ".


Credit to KiwiesRuleXD @ DeviantArt for the avatar.

Offline

#28 2008-08-27 12:43:33

adamruss
Member
Registered: 2008-01-17
Posts: 143

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

fbshot-s.jpeg
very cool

Offline

#29 2008-09-15 19:31:04

CarLost
Member
From: Chile
Registered: 2004-12-08
Posts: 35
Website

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

Hi guys, sorry 4 rise this post, but I wonder if you know a way to refresh the issue file, every some time (may be 2 o 3 secconds) to show useful state, like users, CPUs, uptimes, conntracks (case routers), etc etc etc.-


Thanks!!!

Offline

#30 2008-09-15 19:49:33

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

I'm at least 65% sure that you can't

Offline

#31 2008-09-15 20:01:44

CarLost
Member
From: Chile
Registered: 2004-12-08
Posts: 35
Website

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

I found it..... sorry for disappoint you Daenyth     just add -t n (n secconds) just before aggety respawn in inittab..

i.e.
c0:2345:respawn:/sbin/agetty -8 -t 5 9600 ttyS0 linux

(I'm using serial connections thats is the 9600 ttyS0)

The rest is make a script who rewrite the issue file in /etc/rc.local

Offline

#32 2008-09-15 20:11:42

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

Nice! I will use that also. Good find.

Offline

#33 2008-09-15 20:16:09

CarLost
Member
From: Chile
Registered: 2004-12-08
Posts: 35
Website

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

I got another problem..... I get the "respawn to fast: disabled for 5 minutes" message ... this is not good sad

I'll RTFM for disable THIS security issue tongue

Last edited by CarLost (2008-09-15 20:16:27)

Offline

#34 2008-09-15 20:18:16

X/ax
Member
From: Oost vlaanderen, Belgium
Registered: 2008-01-13
Posts: 275
Website

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

Since dav7's one seems to end up not showing what I see all over the place, I'm using the smaller one from baverage (Uh, could misspell the nick :s)
Anyhow, thanks both of you smile


My coding blog (or an attempt at it)
Archer start page (or an attempt at it)

Offline

#35 2008-09-16 22:49:31

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

I decided to do my own version of this, not as informative, but a very nice motd imo.
shotlo0.png

Last edited by rson451 (2008-09-17 01:59:56)


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#36 2008-09-17 00:16:20

dav7
Member
From: Australia
Registered: 2008-02-08
Posts: 674

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

Thoht wrote:
Daenyth wrote:
Thoht wrote:

I'm messing around with /etc/issue, but can't make it display colours. I tried both this:

I have a feeling that you're typing '^[' by hand. It's not those two characters, it's a special non-printing character. You can get it by doing ctrl+V, ctrl+[

I have absolutely no idea what that means, but now it works, thanks!

Open nano, and in the editor first press CTRL+V then press CTRL+[. A "^[" will appear - this is your escape character. Duplicating escape sequences is one of the harder things you can transmit over the web, since the escape itself evaluates to character code 27, which is 4 characters below the start of the printable ASCII character code map which starts at character 31. This is the reason I used a bash script that uses "echo -e" with "\e" in the string at the appropriate points - which translates to character 27 - to re-insert the escapes where they're supposed to be.

Thoht wrote:

Hey... is it possible to edit the login prompt too? E.g. instead of "hostname login: ", "Username: ".

I did some investigation into this, but I think you'll need to edit the sourcecode of something. Thing is, I'm not exactly sure *what*. After poking around using the 'strace' utility (something every curious person should have installed, run 'strace somebinary' to run something and trace it or 'strace -p PID' to latch onto something already running and trace it then see floods of info on what files the target binary/PID opens, file-based sockets it communicates over, and similar info). I concluded that *something* - very likely PAM - is fishing the correct string out of a locale file OR somewhere within itself, since my locale is en_US (I see no reason to make it en_AU tongue).

-dav7

Last edited by dav7 (2008-09-17 00:25:09)


Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.

Offline

#37 2008-09-17 00:26:48

dav7
Member
From: Australia
Registered: 2008-02-08
Posts: 674

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

Wow, this is awesome big_smile

Thanks again for all the replies everyone... big_smile

-dav7


Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.

Offline

#38 2008-09-17 17:26:06

pjjanak
Member
Registered: 2008-08-17
Posts: 128

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

@rson451:

Could you post your issue? I like the look of it.

Peter

Offline

#39 2008-09-17 17:33:52

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

It's not an issue, it's an motd.  It could be used as an issue though, just won't have the fancy info that the other one in the thread has.

^[[H^[[2J
        ^[[1;36m,^[[1;36m                       _     _ _
       ^[[1;36m/#\^[[1;36m        __ _ _ __ ___| |__ | (_)_ __  _   ___  __
      ^[[1;36m,###\^[[1;36m      / _` | '__/ __| '_ \| | | '_ \| | | \ \/ /
     ^[[1;36m/#####\^[[1;36m    | (_| | | | (__| | | | | | | | | |_| |>  <
    ^[[1;36m/##^[[0;36m,-,##\^[[1;36m    \__,_|_|  \___|_| |_|_|_|_| |_|\__,_/_/\_\
   ^[[0;36m/##(   )##`
  ^[[0;36m/#.--   --.#\^[[1;37m   A simple, lightweight linux distribution.
 ^[[0;36m/`           `\^[[0m

archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#40 2008-10-05 17:59:53

Phrodo_00
Member
From: Seattle, WA
Registered: 2006-04-09
Posts: 342
Website

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

bavardage wrote:

My current /etc/issue looks like:
http://omploader.org/ta2xi
Sorry for poor image quality.
Not as fancy as the above but may appeal to some. Would probably look better on your machine if you were to edit the colour scheme - my whole computer is quite orange-ey themed.

nice one, however ZOMGZOMGZOMG your computer is called the same as my desktop (and my laptop is called neuromancer)

Last edited by Phrodo_00 (2008-10-05 18:00:05)

Offline

#41 2008-10-06 18:41:08

bavardage
Member
Registered: 2008-02-17
Posts: 160

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

You evidently have great taste in names big_smile
Oh, and my network SSID is the "The Sprawl"

Offline

#42 2008-11-09 20:37:43

falke
Member
From: Málaga, Málaga, Spain
Registered: 2008-08-21
Posts: 22

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

Is there a way to use this login screens on SSH logins?

Offline

#43 2008-11-09 23:53:44

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

Yes and no.  You can't show the time and such but you can show an MOTD like I had above.  Change your ssh config to enable a banner and point it to your banner file.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#44 2008-11-12 18:43:35

Shapeshifter
Member
Registered: 2008-03-11
Posts: 230

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

Neat!

rson, I took yours and added the stuff from the initial post... looks nice in 1440x900 smile

veDFn

Edit: link was broken. See the code segment below

Last edited by Shapeshifter (2008-11-13 21:21:03)

Offline

#45 2008-11-13 21:13:10

flako
Member
Registered: 2008-10-24
Posts: 56

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

Shapeshifter wrote:

Neat!

rson, I took yours and added the stuff from the initial post... looks nice in 1440x900 smile

http://omploader.org/veDFn

Here's the code if anyone cares...

I would like to have that code, it looks really nice. Too bad the link is broken sad

Offline

#46 2008-11-13 21:18:59

Shapeshifter
Member
Registered: 2008-03-11
Posts: 230

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

huh that's odd. I nopasted /etc/issue... Anyways, here it is:

[H[2J
        [1;36m,[1;36m                       _     _ _                      [1;30m| [36m\s \r
       [1;36m/#\\[1;36m        __ _ _ __ ___| |__ | (_)_ __  _   ___  __    [30m|
      [1;36m/###\\[1;36m      / _` | '__/ __| '_ \\| | | '_ \\| | | \\ \\/ /    [30m| [36m\t
     [1;36m/#####\\[1;36m    | (_| | | | (__| | | | | | | | | |_| |>  <     [30m| [36m\d
    [1;36m/##[0;36m,-,##\\[1;36m    \\__,_|_|  \\___|_| |_|_|_|_| |_|\\__,_/_/\\_\\    [1;30m|
   [0;36m/##(   )##\\                                                 [1;30m| [36m\U
  [0;36m/#.--   --.#\\[1;37m   A simple, lightweight linux distribution.    [1;30m|
 [0;36m/`           `\\[0m                                               [1;30m| [36m\l [36mon [1;36m\n [0m

Offline

#47 2008-11-13 21:48:05

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

I love how I read all of these as "Aarchlinux".

rson, could you post the motd version of yours above? I'm lazy and want to wget something 8)

Offline

#48 2008-11-14 01:39:19

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#49 2008-11-14 20:51:54

flako
Member
Registered: 2008-10-24
Posts: 56

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

Shapeshifter wrote:

huh that's odd. I nopasted /etc/issue... Anyways, here it is

thanks, got it working now smile

Offline

#50 2008-11-14 21:44:04

Rydgel
Member
From: France
Registered: 2008-09-04
Posts: 166
Website

Re: /etc/issue "2.0" - My ASCII art version with Arch logo and text

Cool stuff guys !

Offline

Board footer

Powered by FluxBB