linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jens Knoell <jens@surefoot.com>
To: fluca1978@infinito.it
Cc: linux-admin@vger.kernel.org
Subject: Re: graphic chars, set-font and sed
Date: Tue, 12 Apr 2005 10:44:18 -0600	[thread overview]
Message-ID: <200504121044.19015.jens@surefoot.com> (raw)
In-Reply-To: <200504121825.47345.fluca1978@infinito.it>

Hi Luca,

On Tuesday 12 April 2005 10:25, Luca Ferrari <LF> wrote:
> Hi,
> I've got a few problem with semigraphic chars (those used tipically in dos
> or in ncurses applications) under linux. Firs of all, if I use the setfont
> command on a tty I can see files with the above characters listed well, but
> I cannot do this on pseudo-tty (like those opened thru telnet or ssh). Any
> trick for this? Second, I've noticed that sed regular expressions get
> confused by the presence of multiple semigraphic chars, while a single one
> seems to work ok. Does anybody knows a way to "escape" those chars, in
> order to make them understandable to sed and other programs?
>
> Thanks,
> Luca

These fonts usually get set on the local side. I.e. if you telnet or SSH into 
your machine, the font used is the font on your LOCAL side, not the one on 
your machine. Presuming that you come in from another linux box, issue the 
setfont command before you telnet/ssh over to your box.

If you use an X terminal (or windows telnet/SSH client) it is usually the same 
thing, except that with these you usually use the GUI to change the terminal 
font (which really is a X font in this case).

Can't help with the regex question though, sorry.


J

  reply	other threads:[~2005-04-12 16:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-12 16:25 graphic chars, set-font and sed Luca Ferrari
2005-04-12 16:44 ` Jens Knoell [this message]
2005-04-14 20:47 ` Glynn Clements
2005-04-20 16:46   ` Luca Ferrari
2005-04-21 15:34     ` Glynn Clements

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200504121044.19015.jens@surefoot.com \
    --to=jens@surefoot.com \
    --cc=fluca1978@infinito.it \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).