← Back to team overview

ubuntu-phone team mailing list archive

Re: telnet, cal, ...

 

On 05/02/2015 03:38 PM, Matthias Apitz wrote:
Hello,

I'm missing the 'telnet' command which is sometimes essential to check
some web service or whatever, or to connect like this:

# telnet mud.nemesis.de 2000
Trying 81.92.172.208...

                                                 __----~~~~~~~~~~~------___
                                      .  .   ~~//====......  __--~ ~~
                      -.            \_|//     |||\\  ~~~~~~::::... /~
                   ___-==_       _-~o~  \/    |||  \\            _/~~-
           __---~~~.==~||\=_    -_--~/_-~|-   |\\   \\        _/~
       _-~~     .=~    |  \\-_    '-~7  /-   /  ||    \      /
     .~   #   .#       |   \\ -_    /  /-   /   ||      \   /
    /  __##  / ##      |     \\ ~-_/  /|- _/   .||       \ /
    |~~ ###~~|-###~~--_ \     ~==-/   | \~--===~~        .\
       ##### '  ###    ~-|      /|    |-~\~~       __--~~
      #######   ####   ####~~-_/#|    #   ~\####_-~ ####    ## /\ ####
      #### ###  ####  ##  ##  /###   ###__ ##\/##  ##  ##  #### \##  ##
      ####  ### ####  ##  _--~##/## ##~##__##-~-/  ###           ###~==.
      ####   #######   ###(->/##  ###||##-_|### ~~-/ ##     ##     ## _||
       ###    #####   ##      ##   #-_ ##  ##      ~~-###__i##i__i--###/
        ###    ###    ##  ##  ##    _-~##_ ##~)##\-##__##___##___##-~##
         ##    ##      ####    ## //.-##~-~_#### |--####-~~ ##~~~ ####
          #    #                         //.-~~~--\

                                         We don't have friendly dragons...
Nemesis at Munich, Germany is currently running version 03.01.02.
Please tell us your name:

and today I wanted to check which day will be the April, 30 next year
with something like:

$ LANG=C cal 4 2016
      April 2016
Su Mo Tu We Th Fr Sa
                 1  2
  3  4  5  6  7  8  9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

and the 'cal' command is missing as well, which have been for ages in
any base system on any UNIX flavor:

$ man cal | col -b | tail -20

SEE ALSO
      calendar(3), strftime(3)

HISTORY
      A cal command appeared in Version 5 AT&T UNIX.  The ncal command appeared
      in FreeBSD 2.2.6.


How can I install both?

	matthias
Hi Matthias,

To get all the commands i need, i formatted the SD card with an ext3 filesystem and created a jail environment,
by using a raspberry pi image.
That way you keep the base r21 image intact, while you can use all the goodies that are available on a raspberry pi.
( telnet, cal etc )
It works rather well for me, although the gallery is rather crowded with all the images found in the jail :-)

Kind regards,
Ed




Follow ups

References